Index: test/inspector/debugger/script-end-location.js |
diff --git a/test/inspector/debugger/script-end-location.js b/test/inspector/debugger/script-end-location.js |
index cdfff8cda6a76bd8d22170266acc3db9fb2542b2..57d12350e0a8eaa55c29f22fbf3563ac5a5d1744 100644 |
--- a/test/inspector/debugger/script-end-location.js |
+++ b/test/inspector/debugger/script-end-location.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('Checks that we report correct endLine, endColumn and source for scripts.'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that we report correct endLine, endColumn and source for scripts.'); |
var sources = [ |
'', |
@@ -27,7 +27,7 @@ var sources = [ |
(async function test() { |
Protocol.Debugger.enable(); |
for (let source of sources) { |
- InspectorTest.addScript(source); |
+ contextGroup.addScript(source); |
var message = await Protocol.Debugger.onceScriptParsed(); |
var inspectorSource = (await Protocol.Debugger.getScriptSource({ scriptId: message.params.scriptId })).result.scriptSource; |
var lines = source.split('\n'); |