mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user