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

Unified Diff: test/inspector/debugger/promise-chain-when-limit-hit.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/promise-chain-when-limit-hit.js
diff --git a/test/inspector/debugger/promise-chain-when-limit-hit.js b/test/inspector/debugger/promise-chain-when-limit-hit.js
index 6e57adb20496e65632b16b8c94e3475d8bffefb8..072af732c49026225d9b288685dc661127ba5b29 100644
--- a/test/inspector/debugger/promise-chain-when-limit-hit.js
+++ b/test/inspector/debugger/promise-chain-when-limit-hit.js
@@ -1,7 +1,10 @@
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+
// TODO(kozyatinskiy): fix or remove it later.
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests how async promise chains behave when reaching the limit of stacks');
+
(async function test(){
InspectorTest.log('Checks correctness of promise chains when limit hit');
await Protocol.Runtime.enable();
« no previous file with comments | « test/inspector/debugger/pause-on-oom.js ('k') | test/inspector/debugger/promise-chain-when-limit-hit-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698