OLD | NEW |
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 print('Checks created frame for async call chain'); | 5 InspectorTest.log('Checks created frame for async call chain'); |
6 | 6 |
7 InspectorTest.addScript( | 7 InspectorTest.addScript( |
8 ` | 8 ` |
9 function foo1() { | 9 function foo1() { |
10 debugger; | 10 debugger; |
11 } | 11 } |
12 | 12 |
13 function foo2() { | 13 function foo2() { |
14 debugger; | 14 debugger; |
15 } | 15 } |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 function testSetTimeouts(next) { | 170 function testSetTimeouts(next) { |
171 Protocol.Runtime | 171 Protocol.Runtime |
172 .evaluate({ | 172 .evaluate({ |
173 expression: 'setTimeouts()//# sourceURL=expr.js', | 173 expression: 'setTimeouts()//# sourceURL=expr.js', |
174 awaitPromise: true | 174 awaitPromise: true |
175 }) | 175 }) |
176 .then(next); | 176 .then(next); |
177 } | 177 } |
178 ]); | 178 ]); |
OLD | NEW |