Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-api-repeated-in-console.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-api-repeated-in-console.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-api-repeated-in-console.html |
deleted file mode 100644 |
index de145d122488b2ee4fefd529f9c361c2234c7720..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-api-repeated-in-console.html |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-<html> |
-<head> |
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- var expectedMessages = 4; |
- var messages = []; |
- |
- InspectorTest.eventHandler["Runtime.consoleAPICalled"] = consoleAPICalled; |
- InspectorTest.eventHandler["Console.messageAdded"] = messageAdded; |
- InspectorTest.sendCommandOrDie("Runtime.enable", {}); |
- InspectorTest.sendCommandOrDie("Console.enable", {}); |
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "console.log(42)" }); |
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "console.error('abc')" }); |
- |
- function consoleAPICalled(result) |
- { |
- messages.push("api call: " + result.params.args[0].value); |
- if (!(--expectedMessages)) |
- done(); |
- } |
- |
- function messageAdded(result) |
- { |
- messages.push("console message: " + result.params.message.text); |
- if (!(--expectedMessages)) |
- done(); |
- } |
- |
- function done() |
- { |
- messages.sort(); |
- for (var message of messages) |
- InspectorTest.log(message); |
- InspectorTest.completeTest(); |
- } |
-} |
-</script> |
-</head> |
-<body onLoad="runTest();"> |
-Check that console.log is reported through Console domain as well. |
-</body> |
-</html> |