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

Unified Diff: test/inspector/debugger/set-blackbox-patterns.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
Index: test/inspector/debugger/set-blackbox-patterns.js
diff --git a/test/inspector/debugger/set-blackbox-patterns.js b/test/inspector/debugger/set-blackbox-patterns.js
index 12e9e214d3ec50f954322449d1390a263ad6e466..d060c90a9d1ce3b183cc343986dba707236a9828 100644
--- a/test/inspector/debugger/set-blackbox-patterns.js
+++ b/test/inspector/debugger/set-blackbox-patterns.js
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.addScript(
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests blackboxing by patterns');
+
+contextGroup.addScript(
`function bar()
{
return 42;
}`);
-InspectorTest.addScript(
+contextGroup.addScript(
`function foo()
{
var a = bar();
@@ -16,7 +18,7 @@ InspectorTest.addScript(
}
//# sourceURL=foo.js`);
-InspectorTest.addScript(
+contextGroup.addScript(
`function qwe()
{
var a = foo();
@@ -24,7 +26,7 @@ InspectorTest.addScript(
}
//# sourceURL=qwe.js`);
-InspectorTest.addScript(
+contextGroup.addScript(
`function baz()
{
var a = qwe();
« no previous file with comments | « test/inspector/debugger/set-async-call-stack-depth.js ('k') | test/inspector/debugger/set-blackbox-patterns-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698