| Index: test/inspector/debugger/step-snapshot.js
|
| diff --git a/test/inspector/debugger/step-snapshot.js b/test/inspector/debugger/step-snapshot.js
|
| index 6e9ee8e7d18b2bf137e2a3f693ffcfe808664028..a4ecbf2f285cf0a6ecbc6082ffe7d94a18606b42 100644
|
| --- a/test/inspector/debugger/step-snapshot.js
|
| +++ b/test/inspector/debugger/step-snapshot.js
|
| @@ -6,9 +6,10 @@
|
|
|
| // Flags: --embed 'function c(f, ...args) { return f(...args); }'
|
|
|
| -InspectorTest.setupScriptMap();
|
| +let {session, contextGroup, Protocol} = InspectorTest.start('Tests that stepping works on snapshotted function');
|
| +session.setupScriptMap();
|
|
|
| -InspectorTest.addScript(`
|
| +contextGroup.addScript(`
|
| function test() {
|
| function f(x) {
|
| return x * 2;
|
| @@ -21,7 +22,7 @@ function test() {
|
| Protocol.Debugger.onPaused(message => {
|
| InspectorTest.log("paused");
|
| var frames = message.params.callFrames;
|
| - InspectorTest.logSourceLocation(frames[0].location);
|
| + session.logSourceLocation(frames[0].location);
|
| Protocol.Debugger.stepInto();
|
| })
|
|
|
|
|