Index: LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/cancel-invoked.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/cancel-invoked.html b/LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/cancel-invoked.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a46a92ee410c8d9d82e9a378039d862672f76e3d |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/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> |