Skip to content

Commit

Permalink
Docs: assert_object_equals is DEPRECATED (#25481)
Browse files Browse the repository at this point in the history
See #2033.
  • Loading branch information
annevk committed Sep 11, 2020
1 parent bf3ec6b commit 506aebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/writing-tests/testharness-api.md
Expand Up @@ -866,6 +866,8 @@ asserts that `expected` is an Array, and `actual` is equal to one of the
members i.e. `expected.indexOf(actual) != -1`
### `assert_object_equals(actual, expected, description)`
**DEPRECATED**: see [issue #2033](https://github.com/web-platform-tests/wpt/issues/2033).
asserts that `actual` is an object and not null and that all enumerable
properties on `actual` are own properties on `expected` with the same values,
recursing if the value is an object and not null.
Expand Down

0 comments on commit 506aebf

Please sign in to comment.