Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-memory.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-memory.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-memory.html |
index bf9439def9ff1b3bd44f4f6b27c3f51f7590e655..a68be220202ec0862a4bb64c93412e6c64373555 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-memory.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-memory.html |
@@ -18,14 +18,14 @@ function dumpInnerHtml() |
function test() |
{ |
- InspectorTest.sendCommandOrDie("Console.enable", {}); |
- InspectorTest.eventHandler["Console.messageAdded"] = dumpMessageAndCompleTest; |
+ InspectorTest.sendCommandOrDie("Runtime.enable", {}); |
+ InspectorTest.eventHandler["Runtime.consoleAPICalled"] = dumpMessageAndCompleTest; |
InspectorTest.sendCommand("Runtime.evaluate", { "expression": "dumpInnerHtml()" }); |
function dumpMessageAndCompleTest(result) |
{ |
InspectorTest.log("=== Dump console message ==="); |
- InspectorTest.log(result.params.message.text); |
+ InspectorTest.log(result.params.args[0].value); |
InspectorTest.completeTest(); |
} |
} |