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

Unified Diff: test/inspector/cpu-profiler/stop-without-preceeding-start.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
« no previous file with comments | « test/inspector/cpu-profiler/record-cpu-profile.js ('k') | test/inspector/debugger/access-obsolete-frame.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/cpu-profiler/stop-without-preceeding-start.js
diff --git a/test/inspector/cpu-profiler/stop-without-preceeding-start.js b/test/inspector/cpu-profiler/stop-without-preceeding-start.js
index ae232ba22190146637462da98599874a47c016aa..3e4717a19c89892060d4f873cb189d4a283c697d 100644
--- a/test/inspector/cpu-profiler/stop-without-preceeding-start.js
+++ b/test/inspector/cpu-profiler/stop-without-preceeding-start.js
@@ -4,7 +4,7 @@
print("Test that profiler doesn't crash when we call stop without preceeding start.");
-InspectorTest.sendCommand("Profiler.stop", {}, didStopProfile);
+Protocol.Profiler.stop().then(didStopProfile);
function didStopProfile(messageObject)
{
InspectorTest.expectedError("ProfileAgent.stop", messageObject);
« no previous file with comments | « test/inspector/cpu-profiler/record-cpu-profile.js ('k') | test/inspector/debugger/access-obsolete-frame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698