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

Side by Side Diff: test/inspector/debugger/async-stacks-limit.js

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 print('Checks that async stacks works good with different limits'); 5 InspectorTest.log('Checks that async stacks works good with different limits');
6 6
7 InspectorTest.addScript(` 7 InspectorTest.addScript(`
8 var resolveTest; 8 var resolveTest;
9 9
10 function foo1() { 10 function foo1() {
11 debugger; 11 debugger;
12 } 12 }
13 13
14 function foo2() { 14 function foo2() {
15 debugger; 15 debugger;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 })) 155 }))
156 .then(() => cancelAllAsyncTasks()) 156 .then(() => cancelAllAsyncTasks())
157 .then(next); 157 .then(next);
158 } 158 }
159 ]); 159 ]);
160 160
161 function cancelAllAsyncTasks() { 161 function cancelAllAsyncTasks() {
162 return Protocol.Debugger.setAsyncCallStackDepth({ maxDepth: 0 }) 162 return Protocol.Debugger.setAsyncCallStackDepth({ maxDepth: 0 })
163 .then(() => Protocol.Debugger.setAsyncCallStackDepth({ maxDepth: 128 })); 163 .then(() => Protocol.Debugger.setAsyncCallStackDepth({ maxDepth: 128 }));
164 } 164 }
OLDNEW
« no previous file with comments | « test/inspector/debugger/async-stack-for-promise.js ('k') | test/inspector/debugger/break-on-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698