mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -25,4 +25,19 @@
|
|||
}
|
||||
window.requestIdleCallback(t.step_func(f));
|
||||
}, "requestIdleCallback callback should time out");
|
||||
|
||||
async_test(function (t) {
|
||||
assert_false(document.hidden, "document.hidden must exist and be false to run this test properly");
|
||||
function g(deadline) {
|
||||
assert_false(deadline.didTimeout)
|
||||
t.done();
|
||||
}
|
||||
|
||||
function f(deadline) {
|
||||
assert_false(deadline.didTimeout);
|
||||
window.requestIdleCallback(t.step_func(g), {timeout:100000});
|
||||
}
|
||||
window.requestIdleCallback(t.step_func(f));
|
||||
}, "requestIdleCallback callback should not time out");
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue