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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-resolve.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-resolve.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-resolve.html b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-resolve.html
deleted file mode 100644
index ada0e6b8be45d198ac87dedc21e83ea0d0c1f9a1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-resolve.html
+++ /dev/null
@@ -1,38 +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 test()
-{
- InspectorTest.eventHandler["Animation.animationStarted"] = onStarted;
- InspectorTest.sendCommand("Animation.enable", {});
- InspectorTest.evaluateInPage("startAnimation()", function() {});
-
- function onStarted(result)
- {
- InspectorTest.log("Animation started");
- InspectorTest.sendCommand("Animation.resolveAnimation", { animationId: result.params.animation.id }, animationResolved);
- }
-
- function animationResolved(response)
- {
- InspectorTest.log("Remote object:");
- InspectorTest.log(response.result.remoteObject.className);
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-<body onload="runTest()">
- <div id="node" style="background-color: red; height: 100px"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698