Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1279)

Unified Diff: test/inspector/debugger/async-console-count-doesnt-crash.js

Issue 2390733002: [inspector] Make InspectorTest.sendCommand* private (Closed)
Patch Set: addressed comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « test/inspector/debugger/access-obsolete-frame.js ('k') | test/inspector/debugger/call-frame-function-location.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698