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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-multiple-frames.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-multiple-frames.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-multiple-frames.html b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-multiple-frames.html
deleted file mode 100644
index f8d49c97afbf000b3fadf1f06224baf3ec8bfac8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-multiple-frames.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
-<script>
-function appendIframe()
-{
- var frame = document.createElement("iframe");
- frame.src = "../resources/test-page-trigger-animation.html";
- document.body.appendChild(frame);
-}
-
-function test()
-{
- InspectorTest.eventHandler["Animation.animationStarted"] = onStarted;
- InspectorTest.sendCommand("Animation.enable", {});
- InspectorTest.evaluateInPage("appendIframe()", frameAttached);
- var numberAnimationsCaptured = 0;
- var lastStartTime = undefined;
-
- function frameAttached()
- {
- InspectorTest.log("Frame appended");
- }
-
- function onStarted(data)
- {
- var animation = data.params.animation;
-
- if (!lastStartTime || animation.startTime >= lastStartTime)
- InspectorTest.log("Animation started: start time is valid");
- else if (lastStartTime)
- InspectorTest.log("Animation started: invalid startTime!" + animation.startTime + "." + lastStartTime);
- lastStartTime = animation.startTime;
- numberAnimationsCaptured++;
-
- if (numberAnimationsCaptured < 10)
- InspectorTest.evaluateInPage("appendIframe()", frameAttached);
- else
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onload="runTest()">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698