| Index: test/inspector/debugger/async-stack-await.js
|
| diff --git a/test/inspector/debugger/async-stack-await.js b/test/inspector/debugger/async-stack-await.js
|
| index 155ff4a978f388f2c294e6b4178022c1b472e27c..8f4b16280734fd9f9ec4f9a26574e462e41d0da2 100644
|
| --- a/test/inspector/debugger/async-stack-await.js
|
| +++ b/test/inspector/debugger/async-stack-await.js
|
| @@ -2,9 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -InspectorTest.log('Checks that async stacks works for async/await');
|
| +let {session, contextGroup, Protocol} = InspectorTest.start('Checks that async stacks works for async/await');
|
|
|
| -InspectorTest.addScript(`
|
| +contextGroup.addScript(`
|
| async function foo1() {
|
| debugger;
|
| return Promise.resolve();
|
| @@ -25,10 +25,10 @@ async function test() {
|
| }
|
| //# sourceURL=test.js`, 7, 26);
|
|
|
| -InspectorTest.setupScriptMap();
|
| +session.setupScriptMap();
|
| Protocol.Debugger.onPaused(message => {
|
| - InspectorTest.logCallFrames(message.params.callFrames);
|
| - InspectorTest.logAsyncStackTrace(message.params.asyncStackTrace);
|
| + session.logCallFrames(message.params.callFrames);
|
| + session.logAsyncStackTrace(message.params.asyncStackTrace);
|
| InspectorTest.log('');
|
| Protocol.Debugger.resume();
|
| });
|
|
|