2018-06-04 22:07:54 +00:00
|
|
|
Checks Runtime.setMaxCallStackSizeToCapture.
|
|
|
|
Test with max size 0.
|
|
|
|
{
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Nested call.
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
2019-03-29 18:39:35 +00:00
|
|
|
type : trace
|
2018-06-04 22:07:54 +00:00
|
|
|
}
|
|
|
|
Test with max size 1.
|
|
|
|
{
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Nested call.
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 10
|
|
|
|
functionName : bar
|
|
|
|
lineNumber : 2
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : test.js
|
|
|
|
}
|
|
|
|
]
|
|
|
|
parent : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 2
|
|
|
|
functionName : test
|
|
|
|
lineNumber : 10
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : test.js
|
|
|
|
}
|
|
|
|
]
|
|
|
|
description : setTimeout
|
|
|
|
}
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
2019-03-29 18:39:35 +00:00
|
|
|
type : trace
|
2018-06-04 22:07:54 +00:00
|
|
|
}
|
|
|
|
Test with max size 2.
|
|
|
|
{
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Nested call.
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 10
|
|
|
|
functionName : bar
|
|
|
|
lineNumber : 2
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : test.js
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
columnNumber : 2
|
|
|
|
functionName : foo
|
|
|
|
lineNumber : 6
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : test.js
|
|
|
|
}
|
|
|
|
]
|
|
|
|
parent : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 2
|
|
|
|
functionName : test
|
|
|
|
lineNumber : 10
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : test.js
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
columnNumber : 0
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url : expr.js
|
|
|
|
}
|
|
|
|
]
|
|
|
|
description : setTimeout
|
|
|
|
}
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
2019-03-29 18:39:35 +00:00
|
|
|
type : trace
|
2018-06-04 22:07:54 +00:00
|
|
|
}
|