[wpt-sync] Sync PR 23409 - Fix testharness.js's assert_object_equals error message
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23409 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23409
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
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/2181322
WPT-Export-Revision: 4688fcac39ebcf68db4730e8984651eff90e1136
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
bugherder |
Description
•