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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-css-replay.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-css-replay.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-css-replay.html b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-css-replay.html
deleted file mode 100644
index fdc606f254033217dde620cac19e41fb9ca3a661..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-css-replay.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
-<script>
-
-var player;
-
-function startAnimation()
-{
- node.style.width = "200px";
-}
-
-function test()
-{
- InspectorTest.eventHandler["Animation.animationStarted"] = onStarted;
- InspectorTest.sendCommand("Animation.enable", {});
- InspectorTest.evaluateInPage("startAnimation()", function() {});
- setTimeout(InspectorTest.completeTest.bind(InspectorTest), 2000);
- function onStarted(response)
- {
- InspectorTest.log("Animation started");
- seekAnimations(response.params.animation.id, 5);
- }
-
- function seekAnimations(id, runs)
- {
- if (runs == 0)
- InspectorTest.completeTest();
-
- InspectorTest.sendCommand("Animation.seekAnimations", { animations: [ id ], currentTime: 0 }, seekAnimations.bind(null, id, --runs));
- InspectorTest.log("Animation seeked");
- }
-}
-
-</script>
-</head>
-<body onload="runTest()">
- <div id="node" style="background-color: red; height: 100px; transition: width 100ms; width: 100px"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698