Index: test/inspector/debugger/get-possible-breakpoints.js |
diff --git a/test/inspector/debugger/get-possible-breakpoints.js b/test/inspector/debugger/get-possible-breakpoints.js |
index 90872f8fa3febfec20e524ac45eedf86a952081f..3232d595743bf11308689e42a650aa6a59bacffe 100644 |
--- a/test/inspector/debugger/get-possible-breakpoints.js |
+++ b/test/inspector/debugger/get-possible-breakpoints.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.log('Test for Debugger.getPossibleBreakpoints'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Test for Debugger.getPossibleBreakpoints'); |
Protocol.Runtime.enable(); |
Protocol.Debugger.enable(); |
@@ -153,7 +153,7 @@ function foo6() { Promise.resolve().then(() => 42) }`; |
function compileScript(source, origin) { |
var promise = Protocol.Debugger.onceScriptParsed().then(message => message.params.scriptId); |
if (!origin) origin = { name: '', line_offset: 0, column_offset: 0 }; |
- InspectorTest.addScript(source, origin.line_offset, origin.column_offset, origin.name); |
+ contextGroup.addScript(source, origin.line_offset, origin.column_offset, origin.name); |
return promise; |
} |