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 5e54eb014bc60775bf0dfa307acd4e78e8387f13..5fb92f97659be802fbc7730cff30d6414c475f46 100644 |
--- a/test/inspector/debugger/collect-obsolete-async-tasks.js |
+++ b/test/inspector/debugger/collect-obsolete-async-tasks.js |
@@ -6,24 +6,24 @@ InspectorTest.log('Checks that we collect obsolete async tasks with async stacks |
InspectorTest.addScript(` |
function test() { |
- setMaxAsyncTaskStacks(128); |
+ inspector.setMaxAsyncTaskStacks(128); |
var p = Promise.resolve(); |
- dumpAsyncTaskStacksStateForTest(); |
- setMaxAsyncTaskStacks(128); |
- dumpAsyncTaskStacksStateForTest(); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
+ inspector.setMaxAsyncTaskStacks(128); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
p.then(() => 42).then(() => 239); |
- dumpAsyncTaskStacksStateForTest(); |
- setMaxAsyncTaskStacks(128); |
- dumpAsyncTaskStacksStateForTest(); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
+ inspector.setMaxAsyncTaskStacks(128); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
setTimeout(() => 42, 0); |
- dumpAsyncTaskStacksStateForTest(); |
- setMaxAsyncTaskStacks(128); |
- dumpAsyncTaskStacksStateForTest(); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
+ inspector.setMaxAsyncTaskStacks(128); |
+ inspector.dumpAsyncTaskStacksStateForTest(); |
} |
`); |