aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js')
-rw-r--r--deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js b/deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js
index 65b694b566..c1029a8785 100644
--- a/deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js
+++ b/deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js
@@ -2,7 +2,9 @@
// 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 that blackboxed ranges are respected while stepping');
+
+contextGroup.addScript(
`function blackboxedBoo()
{
var a = 42;
@@ -11,7 +13,7 @@ InspectorTest.addScript(
}
//# sourceURL=blackboxed-script.js`);
-InspectorTest.addScript(
+contextGroup.addScript(
`function notBlackboxedFoo()
{
var a = 42;
@@ -34,7 +36,7 @@ function notBlackboxedBoo()
}
//# sourceURL=mixed-source.js`);
-InspectorTest.addScript(
+contextGroup.addScript(
`function testFunction()
{
notBlackboxedBoo(); // for setup ranges and stepOut