Index: test/inspector/debugger/collect-obsolete-async-tasks.js |
diff --git a/test/inspector/debugger/collect-obsolete-async-tasks.js b/test/inspector/debugger/collect-obsolete-async-tasks.js |
index 5fb92f97659be802fbc7730cff30d6414c475f46..cfef345d1975ce0a9029737f003074913bc5d469 100644 |
--- a/test/inspector/debugger/collect-obsolete-async-tasks.js |
+++ b/test/inspector/debugger/collect-obsolete-async-tasks.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 we collect obsolete async tasks with async stacks.'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that we collect obsolete async tasks with async stacks.'); |
-InspectorTest.addScript(` |
+contextGroup.addScript(` |
function test() { |
inspector.setMaxAsyncTaskStacks(128); |
var p = Promise.resolve(); |