Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: test/inspector/debugger/collect-obsolete-async-tasks.js

Issue 2832723004: [test/inspector] remove any usage of v8::Extension (Closed)
Patch Set: ac Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
`);

Powered by Google App Engine
This is Rietveld 408576698