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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-deprecated-methods.html

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: 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/runtime/runtime-console-deprecated-methods.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-deprecated-methods.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-deprecated-methods.html
deleted file mode 100644
index 93d8014250ace99af35cd6a409f6f84be6b1ad0c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-deprecated-methods.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-testRunner.setDumpConsoleMessages(false);
-
-function test()
-{
- InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded;
- InspectorTest.sendCommand("Runtime.enable", {});
-
- var deprecatedMethods = [
- "console.timeline(\"42\")",
- "console.timeline(\"42\")",
- "console.timeline(\"42\")", // three calls should produce one warning message
- "console.timelineEnd(\"42\")",
- "console.markTimeline(\"42\")",
- ];
- InspectorTest.sendCommand("Runtime.evaluate", { expression: deprecatedMethods.join(";") });
-
- var messagesLeft = 3;
- function messageAdded(data)
- {
- var text = data.params.args[0].value;
- if (text.indexOf("deprecated") === -1)
- return;
- InspectorTest.log(text);
- if (!--messagesLeft)
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onload="runTest()">Tests checks that deprecation messages for console.</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698