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

Unified Diff: test/inspector/runtime/evaluate-async-with-wrap-error.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/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..e5da89ecfc680037067dcda1b19e62bbdf6bf639 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());
+ .then(() => InspectorTest.completeTest());
« no previous file with comments | « test/inspector/runtime/evaluate-async-expected.txt ('k') | test/inspector/runtime/evaluate-async-with-wrap-error-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698