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

Unified Diff: test/inspector/debugger/script-parsed-for-runtime-evaluate.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/debugger/script-on-after-compile.js ('k') | test/inspector/debugger/script-parsed-hash.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/script-parsed-for-runtime-evaluate.js
diff --git a/test/inspector/debugger/script-parsed-for-runtime-evaluate.js b/test/inspector/debugger/script-parsed-for-runtime-evaluate.js
index 300821baa32dedff320544e5812bc19290a622ca..bebf64bddc89033642bd33291c8e409ef2962078 100644
--- a/test/inspector/debugger/script-parsed-for-runtime-evaluate.js
+++ b/test/inspector/debugger/script-parsed-for-runtime-evaluate.js
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log("Checks that inspector reports script compiled in Runtime.evaluate, " +
+let {session, contextGroup, Protocol} = InspectorTest.start("Checks that inspector reports script compiled in Runtime.evaluate, " +
"Runtime.callFunctionOn and Runtime.compileScript");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function fooTop() {
eval(\`
function foo() {
@@ -15,7 +15,7 @@ function fooTop() {
}
//# sourceURL=top-frame.js`, 8, 26);
-InspectorTest.addScript(`
+contextGroup.addScript(`
function fooTopFail() {
eval(\`
function fooFail() {
« no previous file with comments | « test/inspector/debugger/script-on-after-compile.js ('k') | test/inspector/debugger/script-parsed-hash.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698