mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
This commit is contained in:
parent
c226bf85a9
commit
ebddcc2d7f
441 changed files with 3689 additions and 1521 deletions
|
@ -10,12 +10,8 @@
|
|||
<div id="log"></div>
|
||||
<script>
|
||||
async_test(function (t) {
|
||||
t.step(function() {
|
||||
assert_false(document.hidden, "document.hidden must be exist and be false to run this test properly");
|
||||
});
|
||||
window.requestAnimationFrame(function () {
|
||||
t.step(function() { assert_true(true); t.done(); });
|
||||
});
|
||||
assert_false(document.hidden, "document.hidden must exist and be false to run this test properly");
|
||||
window.requestAnimationFrame(t.step_func_done());
|
||||
}, "requestAnimationFrame callback is invoked at least once before the timeout");
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue