Update web-platform-tests to revision 4e6563687b9c03d2f54ce0f06ef0ccc8e0964328

This commit is contained in:
WPT Sync Bot 2019-01-02 21:11:44 -05:00
parent e68585a26f
commit c80d322d92
56 changed files with 1205 additions and 66 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>AnimationTiming Test: FrameRequestCallback - valid callback handle</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#animation-frames">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(() => {
let requestId = window.requestAnimationFrame(() => {});
assert_greater_than(requestId, 0, "callback handle is a integer greater than zero");
}, "Check window.requestAnimationFrame can return a valid callback handle");
</script>