Index: test/inspector/debugger/async-console-count-doesnt-crash.js |
diff --git a/test/inspector/debugger/async-console-count-doesnt-crash.js b/test/inspector/debugger/async-console-count-doesnt-crash.js |
index 8eace1eaa61193156360f07d2fff1e4caabf6060..d4941950b19008b104005ca08e6c3a0209b938b3 100644 |
--- a/test/inspector/debugger/async-console-count-doesnt-crash.js |
+++ b/test/inspector/debugger/async-console-count-doesnt-crash.js |
@@ -4,7 +4,7 @@ |
print("setTimeout(console.count, 0) doesn't crash with enabled async stacks.") |
-InspectorTest.sendCommand("Debugger.enable", {}); |
-InspectorTest.sendCommand("Debugger.setAsyncCallStackDepth", { maxDepth: 1 }); |
-InspectorTest.sendCommand("Runtime.evaluate", { expression: "setTimeout(console.count, 0)" }); |
+Protocol.Debugger.enable(); |
+Protocol.Debugger.setAsyncCallStackDepth({ maxDepth: 1 }); |
+Protocol.Runtime.evaluate({ expression: "setTimeout(console.count, 0)" }); |
InspectorTest.completeTestAfterPendingTimeouts(); |