thisValue is not always set correctly when calling JS callbacks.
This is causing us to fail the last subtest on:
The specification for TreeWalker is here:
Step 6 refers to [call a user object’s operation] in the WebIDL specification:
Step 10.5 says:
"Set thisArg to O (overriding the provided value)."
We're missing this step in our implementation so thisValue ends up being undefined (per earlier step 2).
Created attachment 405310 [details]
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Committed r264948: <https://trac.webkit.org/changeset/264948>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 405310 [details].
*** Bug 213716 has been marked as a duplicate of this bug. ***