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

Side by Side Diff: test/inspector/debugger/async-stack-created-frame.js

Issue 2868493002: [inspector] use creation stack trace as parent for async call chains (Closed)
Patch Set: removed DCHECK for now 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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 // TODO(kozyatinskiy): fix this test.
5 InspectorTest.log('Checks created frame for async call chain'); 6 InspectorTest.log('Checks created frame for async call chain');
6 7
7 InspectorTest.addScript( 8 InspectorTest.addScript(
8 ` 9 `
9 function foo1() { 10 function foo1() {
10 debugger; 11 debugger;
11 } 12 }
12 13
13 function foo2() { 14 function foo2() {
14 debugger; 15 debugger;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 function testSetTimeouts(next) { 171 function testSetTimeouts(next) {
171 Protocol.Runtime 172 Protocol.Runtime
172 .evaluate({ 173 .evaluate({
173 expression: 'setTimeouts()//# sourceURL=expr.js', 174 expression: 'setTimeouts()//# sourceURL=expr.js',
174 awaitPromise: true 175 awaitPromise: true
175 }) 176 })
176 .then(next); 177 .then(next);
177 } 178 }
178 ]); 179 ]);
OLDNEW
« no previous file with comments | « test/inspector/debugger/async-stack-await-expected.txt ('k') | test/inspector/debugger/async-stack-created-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698