Skip to content

Commit

Permalink
cancelAnimationFrame does nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
plehegar committed Apr 24, 2014
1 parent 68f3d9d commit 16bf813
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions animation-timing/cancel-invoked.html
@@ -0,0 +1,18 @@
<!doctype html>
<html>
<head>
<title>cancelAnimationFrame does nothing</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-cancelanimationframe"/>
</head>
<body>
<div id="log"></div>
<script>
test(function (t) {
window.cancelAnimationFrame(42);
assert_true(true);
}, "cancelAnimationFrame does nothing if there is no callback with the given handle");
</script>
</body>
</html>

0 comments on commit 16bf813

Please sign in to comment.