mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -14,7 +14,7 @@
|
|||
var t = async_test();
|
||||
|
||||
function scheduleNextTest() {
|
||||
t.step_timeout(runNextTest, 0);
|
||||
setTimeout(runNextTest, 0);
|
||||
}
|
||||
|
||||
function runNextTest() {
|
||||
|
@ -28,9 +28,9 @@
|
|||
}
|
||||
|
||||
function verify(actual, expected, desc) {
|
||||
t.step_timeout(function() {
|
||||
setTimeout(t.step_func(function() {
|
||||
assert_equals(actual, expected, desc);
|
||||
}, 0);
|
||||
}), 0);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
function verify() {
|
||||
// Navigation in onload handler through form submission should not
|
||||
// increse history length.
|
||||
var testRunner = window.top.opener;
|
||||
testRunner.verify(history.length, 1,
|
||||
var runner = window.top.opener;
|
||||
runner.verify(history.length, 1,
|
||||
"history.length of subtest '" + top.document.title + "'.");
|
||||
testRunner.scheduleNextTest();
|
||||
runner.scheduleNextTest();
|
||||
setTimeout(window.close.bind(top), 0);
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue