Index: test/inspector/debugger/async-stack-created-frame.js |
diff --git a/test/inspector/debugger/async-stack-created-frame.js b/test/inspector/debugger/async-stack-created-frame.js |
index c6e01e3bdba4bcd5b49db4c08ef87c25bdd1eab2..0f2c7a1e78db0ab192f494f7c1d801e260a5a43f 100644 |
--- a/test/inspector/debugger/async-stack-created-frame.js |
+++ b/test/inspector/debugger/async-stack-created-frame.js |
@@ -3,9 +3,9 @@ |
// found in the LICENSE file. |
// TODO(kozyatinskiy): fix this test. |
-InspectorTest.log('Checks created frame for async call chain'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks created frame for async call chain'); |
-InspectorTest.addScript( |
+contextGroup.addScript( |
` |
function foo1() { |
debugger; |
@@ -77,10 +77,10 @@ function setTimeouts() { |
//# sourceURL=test.js`, |
8, 4); |
-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(); |
}); |