mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -4,17 +4,17 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
var t = async_test(undefined, {timeout:2000});
|
||||
var t = async_test();
|
||||
|
||||
var loaded = false;
|
||||
var unload_fired = false;
|
||||
var timeout_fired = false;
|
||||
|
||||
function start_test() {
|
||||
setTimeout(t.step_func(function() {
|
||||
assert_true(unload_fired);
|
||||
assert_false(timeout_fired);
|
||||
t.done()
|
||||
step_timeout(t.step_func(function() {
|
||||
assert_true(unload_fired);
|
||||
assert_false(timeout_fired);
|
||||
t.done()
|
||||
}), 1000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue