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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html

Issue 1422713012: Devtools Animations: Listen to all animation play state changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html
deleted file mode 100644
index e11053f9dedebe172a3a63e70ba6abd3637f626a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
-<script>
-
-var player;
-
-function startAnimation()
-{
- player = node.animate([{ width: "100px" }, { width: "200px" }], 2000);
-}
-
-function cancelAnimation()
-{
- player.cancel();
-}
-
-function test()
-{
- InspectorTest.eventHandler["Animation.animationCreated"] = onCreated;
- InspectorTest.eventHandler["Animation.animationCanceled"] = onCanceled;
- InspectorTest.eventHandler["Animation.animationStarted"] = onStarted;
- InspectorTest.sendCommand("Animation.enable", {});
- InspectorTest.evaluateInPage("startAnimation()", function() {});
-
- function onCreated()
- {
- InspectorTest.log("Animation created");
- }
-
- function onStarted()
- {
- InspectorTest.log("Animation started");
- InspectorTest.evaluateInPage("cancelAnimation()", function() {});
- }
-
- function onCanceled()
- {
- InspectorTest.log("Animation canceled");
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-<body onload="runTest()">
- <div id="node" style="background-color: red; height: 100px"></div>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698