summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js')
-rw-r--r--deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js b/deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js
index 13e2920cc7..a5aeeff34b 100644
--- a/deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js
+++ b/deps/v8/test/inspector/debugger/get-possible-breakpoints-array-literal.js
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests possible breakpoints in array literal');
+
Protocol.Debugger.enable();
Protocol.Debugger.onceScriptParsed().then(message => message.params.scriptId)
@@ -9,4 +11,4 @@ Protocol.Debugger.onceScriptParsed().then(message => message.params.scriptId)
.then(InspectorTest.logMessage)
.then(InspectorTest.completeTest);
-InspectorTest.addScript("() => []");
+contextGroup.addScript("() => []");