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

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

Issue 1433623002: Devtools Animations: Don't wait for empty transitions to start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
index de25fc5a11e9c023738fbb58d3cd490db2c25481..e11053f9dedebe172a3a63e70ba6abd3637f626a 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-cancel.html
@@ -15,10 +15,10 @@ 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() {});
@@ -31,6 +31,12 @@ function test()
function onStarted()
{
InspectorTest.log("Animation started");
+ InspectorTest.evaluateInPage("cancelAnimation()", function() {});
+ }
+
+ function onCanceled()
+ {
+ InspectorTest.log("Animation canceled");
InspectorTest.completeTest();
}
}
« 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