bab6615155
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}
38 lines
732 B
Plaintext
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
|
|
|