mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
t.step(function() {
|
||||
assert_false(dcl, "DOMContentLoaded should not have fired before executing " +
|
||||
"a defer script");
|
||||
|
||||
setTimeout(t.step_func(function() {
|
||||
assert_false(dcl, "DOMContentLoaded should not have fired before " +
|
||||
"executing a task queued from a defer script");
|
||||
setTimeout(t.step_func_done(function() {
|
||||
assert_true(dcl, "DOMContentLoaded should have fired in a task that " +
|
||||
"was queued after the DOMContentLoaded task was queued");
|
||||
}), 0);
|
||||
}), 0);
|
||||
});
|
||||
Reference in New Issue
Block a user