Index: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-seek-past-end.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-seek-past-end.html b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-seek-past-end.html |
deleted file mode 100644 |
index 8daecb1fee07062e7caa6c350a3bc70e21c43cc0..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-seek-past-end.html |
+++ /dev/null |
@@ -1,51 +0,0 @@ |
-<html> |
-<head> |
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script> |
-<script> |
-function startAnimation() |
-{ |
- node.animate([{ width: "1000px" }, { width: "2000px" }], 1000); |
-} |
- |
-function rafWidth(resolve, reject) |
-{ |
- var callback; |
- var promise = new Promise((fulfill) => callback = fulfill); |
- if (window.testRunner) |
- testRunner.layoutAndPaintAsyncThen(() => callback(node.offsetWidth)); |
- return promise; |
-} |
- |
-function test() |
-{ |
- InspectorTest.eventHandler["Animation.animationStarted"] = onStarted; |
- InspectorTest.sendCommand("Animation.enable", {}); |
- InspectorTest.evaluateInPage("startAnimation()", function() {}); |
- |
- function onStarted(response) |
- { |
- InspectorTest.log("Animation started"); |
- seekAnimation(response.params.animation.id); |
- } |
- |
- function seekAnimation(id) |
- { |
- InspectorTest.sendCommand("Animation.seekAnimations", { animations: [ id ], currentTime: 2000 }, logWidth); |
- } |
- |
- function logWidth() |
- { |
- InspectorTest.evaluateInPageAsync("rafWidth()") |
- .then(function(result) { |
- InspectorTest.log(result); |
- InspectorTest.completeTest(); |
- }); |
- } |
-} |
- |
-</script> |
-</head> |
-<body onload="runTest()"> |
- <div id="node" style="background-color: red; height: 100px; width: 100px"></div> |
-</body> |
-</html> |