Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/cancel-invoked.html

Issue 1292863003: update-w3c-deps import using blink e60a8575c2fa4bc64b804926b956b695a3ac158e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tkent review Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698