Index: test/inspector/runtime/console-timestamp.js |
diff --git a/test/inspector/runtime/console-timestamp.js b/test/inspector/runtime/console-timestamp.js |
index 07892ef0291138d6d5449e5453ffda3df94995dd..0dceaed23faa35ae4affefa91025421e40358537 100644 |
--- a/test/inspector/runtime/console-timestamp.js |
+++ b/test/inspector/runtime/console-timestamp.js |
@@ -18,7 +18,6 @@ function messageAdded(data) |
InspectorTest.completeTest(); |
} |
-InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded; |
-InspectorTest.sendCommand("Runtime.enable", {}); |
- |
-InspectorTest.sendCommand("Runtime.evaluate", { expression: "console.log('testUnique'); for (var i = 0; i < 2; ++i) console.log('testDouble');" }); |
+Protocol.Runtime.onConsoleAPICalled(messageAdded); |
+Protocol.Runtime.enable(); |
+Protocol.Runtime.evaluate({ expression: "console.log('testUnique'); for (var i = 0; i < 2; ++i) console.log('testDouble');" }); |