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

Unified Diff: test/inspector/runtime/runtime-evaluate-with-dirty-context.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/runtime/run-script-async.js ('k') | test/inspector/runtime/runtime-restore.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/runtime-evaluate-with-dirty-context.js
diff --git a/test/inspector/runtime/runtime-evaluate-with-dirty-context.js b/test/inspector/runtime/runtime-evaluate-with-dirty-context.js
index 32c2e325cc22117db27c793fee08ebc7381c3e42..5f42d49abd1ca60d5d3d901e0a5865d5aa2da53a 100644
--- a/test/inspector/runtime/runtime-evaluate-with-dirty-context.js
+++ b/test/inspector/runtime/runtime-evaluate-with-dirty-context.js
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log('Checks that Runtime.evaluate works with dirty context.');
-InspectorTest.setupInjectedScriptEnvironment();
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that Runtime.evaluate works with dirty context.');
+contextGroup.setupInjectedScriptEnvironment();
Protocol.Runtime.enable();
Protocol.Runtime.onConsoleAPICalled(InspectorTest.logMessage);
Protocol.Runtime.evaluate({expression: 'console.log(42)'})
« no previous file with comments | « test/inspector/runtime/run-script-async.js ('k') | test/inspector/runtime/runtime-restore.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698