Update web-platform-tests to revision acd60f9e55532f03fc905e61591b7fd7db2f08d1

This commit is contained in:
Ms2ger 2015-08-26 09:41:40 +02:00
parent a1cd27e6a3
commit be4f0ad8de
44 changed files with 544 additions and 663 deletions

View file

@ -0,0 +1,22 @@
<!doctype html>
<html>
<head>
<title>requestAnimationFrame must be triggered once</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://w3c.github.io/web-performance/specs/RequestAnimationFrame/Overview.html#dom-windowanimationtiming-requestanimationframe"/>
</head>
<body>
<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(); });
});
}, "requestAnimationFrame callback is invoked at least once before the timeout");
</script>
</body>
</html>