v8/test/inspector/debugger/set-async-call-stack-depth-expected.txt
Jeff Fisher bab6615155 [inspector] Add tests for Debugger domain
New tests added for these calls:

* evaluateOnCallFrame
* setAsyncCallStackDepth
* setBreakpoint
* setVariableValue

For setAsyncCallStackDepth, this change updates the test to manufacture async callstacks in a different way so that there is more than one. The previous promise chain method was broken by f61facf.

Change-Id: I9083b0b1c08849d4c7ebb5349cfa4489f551aa39
Reviewed-on: https://chromium-review.googlesource.com/c/1465118
Commit-Queue: Jeff Fisher <jeffish@microsoft.com>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59745}
2019-02-20 18:57:33 +00:00

38 lines
732 B
Plaintext

Checks that we report not more then maxDepth call chains.
Running test: testPaused
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 8
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 0
reported: 0
Running test: testConsoleTrace
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 8
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 0
reported: 0