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

Unified Diff: test/inspector/runtime/await-promise.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed Created 3 years, 7 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/protocol-test.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/await-promise.js
diff --git a/test/inspector/runtime/await-promise.js b/test/inspector/runtime/await-promise.js
index a09eb05a4c9c7a035cf6f970d507ea738e833594..042a1332bfea0a77f33b03027cc3ba8b1fb510df 100644
--- a/test/inspector/runtime/await-promise.js
+++ b/test/inspector/runtime/await-promise.js
@@ -3,9 +3,9 @@
// found in the LICENSE file.
// Flags: --expose_gc
-InspectorTest.log("Tests that Runtime.awaitPromise works.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.awaitPromise works.");
-InspectorTest.addScript(
+contextGroup.addScript(
`
var resolveCallback;
var rejectCallback;
« no previous file with comments | « test/inspector/protocol-test.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698