Index: test/inspector/debugger/doesnt-step-into-injected-script.js |
diff --git a/test/inspector/debugger/doesnt-step-into-injected-script.js b/test/inspector/debugger/doesnt-step-into-injected-script.js |
index 45ca0ee0ddecf84275443201c1984944bd166a68..98c7bf2cff3cbe147dafd30d11ddedaec88470ee 100644 |
--- a/test/inspector/debugger/doesnt-step-into-injected-script.js |
+++ b/test/inspector/debugger/doesnt-step-into-injected-script.js |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.log('Check that stepInto at then end of the script go to next user script instead InjectedScriptSource.js.'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Check that stepInto at then end of the script go to next user script instead InjectedScriptSource.js.'); |
(async function test() { |
- InspectorTest.setupScriptMap(); |
+ session.setupScriptMap(); |
await Protocol.Debugger.enable(); |
Protocol.Runtime.evaluate({expression: '(function boo() { setTimeout(() => 239, 0); debugger; })()\n'}); |
await waitPauseAndDumpLocation(); |
@@ -22,6 +22,6 @@ InspectorTest.log('Check that stepInto at then end of the script go to next user |
async function waitPauseAndDumpLocation() { |
var message = await Protocol.Debugger.oncePaused(); |
InspectorTest.log('paused at:'); |
- InspectorTest.logSourceLocation(message.params.callFrames[0].location); |
+ session.logSourceLocation(message.params.callFrames[0].location); |
return message; |
} |