Index: test/inspector/console/memory-setter-in-strict-mode.js |
diff --git a/test/inspector/console/memory-setter-in-strict-mode.js b/test/inspector/console/memory-setter-in-strict-mode.js |
index ab5af0728d100ae39a07a124f9bb04bc13a612ce..11db993beec7d9edf0ac5f6da02dfb88ae6ad2d4 100644 |
--- a/test/inspector/console/memory-setter-in-strict-mode.js |
+++ b/test/inspector/console/memory-setter-in-strict-mode.js |
@@ -4,11 +4,10 @@ |
print("Tests checks that console.memory property can be set in strict mode (crbug.com/468611).") |
-InspectorTest.sendCommand("Runtime.evaluate", { expression: "\"use strict\"\nconsole.memory = {};undefined" }, dumpResult); |
+Protocol.Runtime.evaluate({ expression: "\"use strict\"\nconsole.memory = {};undefined" }).then(dumpResult); |
function dumpResult(result) |
{ |
- result.id = 0; |
- InspectorTest.logObject(result); |
+ InspectorTest.logMessage(result); |
InspectorTest.completeTest(); |
} |