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

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

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: 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
Index: test/inspector/runtime/evaluate-async.js
diff --git a/test/inspector/runtime/evaluate-async.js b/test/inspector/runtime/evaluate-async.js
index c7ccc17f62bd50bfc15e56fda0821fe83240daff..db02d9c150f225938d95ff1dd79fb751de1d2785 100644
--- a/test/inspector/runtime/evaluate-async.js
+++ b/test/inspector/runtime/evaluate-async.js
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log("Tests that Runtime.evaluate works with awaitPromise flag.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.evaluate works with awaitPromise flag.");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function createPromiseAndScheduleResolve()
{
var resolveCallback;

Powered by Google App Engine
This is Rietveld 408576698