Bug 1635593 [wpt PR 23409] - Fix testharness.js's assert_object_equals error message...
commit5ff9bab1d499d8c5add64dea9a4ffccd3914803d
authorOriol Brufau <obrufau@igalia.com>
Wed, 13 May 2020 09:42:25 +0000 (13 09:42 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 May 2020 18:55:05 +0000 (14 18:55 +0000)
tree327efc8c696b5bbc646ff6668918b81259bc5629
parente2703c1e624deb910e3456dbc504b13b86e6717a
Bug 1635593 [wpt PR 23409] - Fix testharness.js's assert_object_equals error message, a=testonly

Automatic update from web-platform-tests
Fix testharness.js's assert_object_equals error message

When using assert_object_equals, if the two objects have the same
property but with different values, then the error message used to say
that the actual and expected values of the property were the root
objects themselves.

This patch fixes it so that the error message references the actual and
expected value of the property.

Change-Id: If9e6a5445db13444e22fd58729614c8c73046aea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181322
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#765713}

--

wpt-commits: 027bdebf6a3052d664903d4488170a16419837ef
wpt-pr: 23409
testing/web-platform/tests/resources/testharness.js