mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'4a4653e088039aec186d6dc1d488120d77695c3a'
This commit is contained in:
parent
470a50ab60
commit
6337336fab
1043 changed files with 19705 additions and 6973 deletions
|
@ -9,7 +9,11 @@
|
|||
// they are run in if they are used in multiple iframes.
|
||||
const {testPrefix} = processQueryParams();
|
||||
|
||||
test_driver.set_test_context(window.top);
|
||||
if (window !== window.top) {
|
||||
// WPT synthesizes a top-level HTML test for this JS file, and in that case we
|
||||
// don't want to, or need to, call set_test_context.
|
||||
test_driver.set_test_context(window.top);
|
||||
}
|
||||
|
||||
// Common tests to run in all frames.
|
||||
test(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue