38986c4750
That saves some bytes on the frontend side and some cycles when generating and parsing protocol JSON for stacks. BUG=chromium:946411 Change-Id: I36b3a48b5d8246a05b877bc21f36c08803a1c304 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1542800 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#60532}
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
Checks that async stack is captured when Runtime.setAsyncCallStackDepth is called with an argument greater than zero.
|
|
{
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 8
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
parent : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 2
|
|
functionName : test
|
|
lineNumber : 2
|
|
scriptId : <scriptId>
|
|
url : test.js
|
|
}
|
|
[1] : {
|
|
columnNumber : 0
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url : expr.js
|
|
}
|
|
]
|
|
description : setTimeout
|
|
}
|
|
}
|
|
{
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 32
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
parentId : {
|
|
id : <id>
|
|
}
|
|
}
|