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

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

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed Created 3 years, 7 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 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();
« no previous file with comments | « test/inspector/debugger/caught-uncaught-exceptions.js ('k') | test/inspector/debugger/collect-old-async-call-chains.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698