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

Unified Diff: test/inspector/runtime/evaluate-async-with-wrap-error.js

Issue 2390733002: [inspector] Make InspectorTest.sendCommand* private (Closed)
Patch Set: rebased 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/runtime/evaluate-async-with-wrap-error.js
diff --git a/test/inspector/runtime/evaluate-async-with-wrap-error.js b/test/inspector/runtime/evaluate-async-with-wrap-error.js
index 8188f82112b10d98895703f5f0c6d5a90ebd4dbe..9fb8fc434590e6d0fe007bef2c90388ffd272fb1 100644
--- a/test/inspector/runtime/evaluate-async-with-wrap-error.js
+++ b/test/inspector/runtime/evaluate-async-with-wrap-error.js
@@ -10,6 +10,6 @@ var evaluateArguments = {
returnByValue: true,
awaitPromise: true
};
-InspectorTest.sendCommandPromise("Runtime.evaluate", evaluateArguments)
+Protocol.Runtime.evaluate(evaluateArguments)
.then(message => InspectorTest.logMessage(message))
.then(_ => InspectorTest.completeTest());

Powered by Google App Engine
This is Rietveld 408576698