| 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..58e6cc01aa16812f7a8f3ecdf4cb42bc287a11b7 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.animationCancelled"] = onCancelled;
|
| 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 onCancelled()
|
| + {
|
| + InspectorTest.log("Animation cancelled");
|
| InspectorTest.completeTest();
|
| }
|
| }
|
|
|