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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/page/frameScheduledNavigation.html

Issue 2947303002: [DevTools] Migrate inspector-protocol/{page,dom-snapshot} tests to new harness (Closed)
Patch Set: rebased 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/page/frameScheduledNavigation.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/page/frameScheduledNavigation.html b/third_party/WebKit/LayoutTests/inspector-protocol/page/frameScheduledNavigation.html
deleted file mode 100644
index fcf0f26c1507b6a3efd8978d520ba5c213b7331c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/page/frameScheduledNavigation.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function load()
-{
- document.querySelector("iframe").src = "../resources/blank.html";
-}
-
-function test()
-{
- InspectorTest.eventHandler["Page.frameScheduledNavigation"] = onScheduled;
- InspectorTest.eventHandler["Page.frameStartedLoading"] = onStarted;
- InspectorTest.eventHandler["Page.frameClearedScheduledNavigation"] = onCleared;
- InspectorTest.sendCommand("Page.enable", {});
-
- function onScheduled(msg)
- {
- InspectorTest.log("Scheduled navigation with delay " + msg.params.delay);
- }
-
- function onStarted(msg)
- {
- // This event should be received before the scheduled navigation is cleared.
- InspectorTest.log("Started loading");
- }
-
- function onCleared(msg)
- {
- InspectorTest.log("Cleared scheduled navigation");
- InspectorTest.completeTest();
- }
-
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "load()" });
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698