Index: test/inspector/debugger/step-into.js |
diff --git a/test/inspector/debugger/step-into.js b/test/inspector/debugger/step-into.js |
index e08707c9fc8d38ec049109d132e520a7e9ac0cd1..b0b83b3d5916dce7a522ca2496ea4974f5717d7e 100644 |
--- a/test/inspector/debugger/step-into.js |
+++ b/test/inspector/debugger/step-into.js |
@@ -4,9 +4,9 @@ |
// Flags: --turbo |
-InspectorTest.log('Checks possible break locations.'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks possible break locations.'); |
-InspectorTest.setupScriptMap(); |
+session.setupScriptMap(); |
Protocol.Debugger.onPaused(message => { |
var frames = message.params.callFrames; |
if (frames.length === 1) { |
@@ -15,11 +15,11 @@ Protocol.Debugger.onPaused(message => { |
} |
var scriptId = frames[0].location.scriptId; |
InspectorTest.log('break at:'); |
- InspectorTest.logSourceLocation(frames[0].location) |
+ session.logSourceLocation(frames[0].location) |
.then(() => Protocol.Debugger.stepInto()); |
}); |
-InspectorTest.loadScript('test/inspector/debugger/resources/break-locations.js'); |
+contextGroup.loadScript('test/inspector/debugger/resources/break-locations.js'); |
Protocol.Debugger.enable(); |
Protocol.Runtime.evaluate({ expression: 'Object.keys(this).filter(name => name.indexOf(\'test\') === 0)', returnByValue: true }) |