New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document assert_object_equals #10262
Comments
Implementation at https://github.com/w3c/web-platform-tests/blob/355c2d77c7ec01ee18fd9c5917cc845a558551e8/resources/testharness.js#L964. AFAICT, what it does is to check that all enumerable properties on one object are own properties on the other with the same values, recursing into other objects and dealing with cycles. Because it isn't checked that the inputs are really objects, things like |
I saw it used in https://chromium-review.googlesource.com/c/chromium/src/+/978128 and wasn't sure exactly what it does and didn't find it in http://web-platform-tests.org/writing-tests/testharness-api.html.
Per #2033 some think it should be removed instead, but if it's not deleted it'd be useful to know about the limitations.
The text was updated successfully, but these errors were encountered: