| Index: test/inspector/debugger/stepping-ignores-injected-script.js
|
| diff --git a/test/inspector/debugger/stepping-ignores-injected-script.js b/test/inspector/debugger/stepping-ignores-injected-script.js
|
| index 2b9e4aa7d7cf2f100160c79b79a8ec1a36b30d43..9021664a96c022f0eb43bb2c06516e85b1592718 100644
|
| --- a/test/inspector/debugger/stepping-ignores-injected-script.js
|
| +++ b/test/inspector/debugger/stepping-ignores-injected-script.js
|
| @@ -2,8 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +let {session, contextGroup, Protocol} = InspectorTest.start('Tests that stepping ignores injected script');
|
| +
|
| Protocol.Debugger.onPaused(message => {
|
| - let url = InspectorTest.session._scriptMap.get(message.params.callFrames[0].location.scriptId).url;
|
| + let url = session._scriptMap.get(message.params.callFrames[0].location.scriptId).url;
|
| if (url !== 'test.js') {
|
| InspectorTest.log('InjectedSciptSource on stack.');
|
| InspectorTest.completeTest();
|
| @@ -11,7 +13,7 @@ Protocol.Debugger.onPaused(message => {
|
| Protocol.Debugger.stepInto();
|
| });
|
|
|
| -InspectorTest.setupScriptMap();
|
| +session.setupScriptMap();
|
| Protocol.Debugger.enable();
|
| Protocol.Debugger.pause();
|
| Protocol.Runtime.evaluate({expression: 'console.log(42)//# sourceURL=test.js'})
|
|
|