-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Run DOM IDL tests in workers and convert to idl_test
#18688
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
Conversation
Because of the use of variants it's unfortunately not possible to
merge this into a single test, but the duplication is not very
significant. Note that the use of `document.createEvent("Event")`
would make a merged test have non-trivial conditional setup too.
|
@lukebjerring FYI, or if you want to review. |
annevk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine to me. Maybe a comment explaining the setup would help, but if you put it in the commit message that's probably okay as well.
|
172 new tests for the workers, and same counts for the existing tests, LGTM |
|
@annevk - linked to the |
|
@annevk is the split between .window.js and .any.js the thing you wanted to see a comment on? |
|
Yes, as it's not immediately clear why the redundancy is needed. |
|
I've sent #18708. |
… a=testonly Automatic update from web-platform-tests Fix the `test_tests_affected_null` test As the comment says, this "will fail if the file we assert is renamed", and that's what happened: web-platform-tests/wpt#18688 web-platform-tests/wpt#18743 Also change the commit to one which came after these changes, not because it makes a difference to the outcome but for anyone inspecting the commit to see the same files. -- wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819 wpt-pr: 18819
… a=testonly Automatic update from web-platform-tests Fix the `test_tests_affected_null` test As the comment says, this "will fail if the file we assert is renamed", and that's what happened: web-platform-tests/wpt#18688 web-platform-tests/wpt#18743 Also change the commit to one which came after these changes, not because it makes a difference to the outcome but for anyone inspecting the commit to see the same files. -- wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819 wpt-pr: 18819
… a=testonly Automatic update from web-platform-tests Fix the `test_tests_affected_null` test As the comment says, this "will fail if the file we assert is renamed", and that's what happened: web-platform-tests/wpt#18688 web-platform-tests/wpt#18743 Also change the commit to one which came after these changes, not because it makes a difference to the outcome but for anyone inspecting the commit to see the same files. -- wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819 wpt-pr: 18819 UltraBlame original commit: 8d708b174cd1f88246ad524d01a1ccc94f0cabd6
… a=testonly Automatic update from web-platform-tests Fix the `test_tests_affected_null` test As the comment says, this "will fail if the file we assert is renamed", and that's what happened: web-platform-tests/wpt#18688 web-platform-tests/wpt#18743 Also change the commit to one which came after these changes, not because it makes a difference to the outcome but for anyone inspecting the commit to see the same files. -- wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819 wpt-pr: 18819 UltraBlame original commit: 8d708b174cd1f88246ad524d01a1ccc94f0cabd6
… a=testonly Automatic update from web-platform-tests Fix the `test_tests_affected_null` test As the comment says, this "will fail if the file we assert is renamed", and that's what happened: web-platform-tests/wpt#18688 web-platform-tests/wpt#18743 Also change the commit to one which came after these changes, not because it makes a difference to the outcome but for anyone inspecting the commit to see the same files. -- wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819 wpt-pr: 18819 UltraBlame original commit: 8d708b174cd1f88246ad524d01a1ccc94f0cabd6
Because of the use of variants it's unfortunately not possible to
merge this into a single test, but the duplication is not very
significant. Note that the use of
document.createEvent("Event")would make a merged test have non-trivial conditional setup too.
More details on the setup can be found in the documentation for idl_test helper method