(params)
| 74 | ]); |
| 75 | |
| 76 | function startTest(params) { |
| 77 | InspectorTest.log('Actual call chain length: 4'); |
| 78 | InspectorTest.log(`setAsyncCallStackDepth(maxDepth): ${params.limit}`); |
| 79 | |
| 80 | Protocol.Debugger.setAsyncCallStackDepth({maxDepth: params.limit}); |
| 81 | Protocol.Runtime.evaluate({expression: |
| 82 | `asyncChain(${params.breakAtEnd})`}); |
| 83 | } |
| 84 | |
| 85 | function dumpCaptured(stack) { |
| 86 | let count = 0; |
no test coverage detected