1
0
Fork 0
firefox/testing/web-platform/tests/html/webappapis/animation-frames/callback-timestamp.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
645 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>AnimationTiming Test: FrameRequestCallback - timestamp argument</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>
async_test(t => {
requestAnimationFrame(t.step_func_done(time => {
assert_equals(typeof time, "number", "callback contains a number argument");
}))
}, "Check FrameRequestCallback has a DOMHighResTimeStamp argument");
</script>