aee49387f7
We currently store it in parent stack trace but stacks with the same parent can have different creations stacks. BUG=v8:6189 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2807273002 Cr-Commit-Position: refs/heads/master@{#44624}
111 lines
3.4 KiB
Plaintext
111 lines
3.4 KiB
Plaintext
Checks that we trim async call chains correctly.
|
|
set async chain depth to 8
|
|
|
|
Running test: testDebuggerPaused
|
|
Run expression 'debugger;' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'debugger;' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: testConsoleTrace
|
|
Run expression 'console.trace(42);' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'console.trace(42);' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: testDebuggerPausedSetTimeout
|
|
Run expression 'debugger;' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'debugger;' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: testConsoleTraceSetTimeout
|
|
Run expression 'console.trace(42);' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'console.trace(42);' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: testConsoleTraceWithEmptySync
|
|
{
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 66
|
|
functionName : Promise.then
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
parent : {
|
|
callFrames : [
|
|
]
|
|
description : Promise.resolve
|
|
parent : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 23
|
|
functionName : resolve
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
[1] : {
|
|
columnNumber : 0
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
description : setTimeout
|
|
}
|
|
promiseCreationFrame : {
|
|
columnNumber : 47
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
}
|
|
}
|
|
|
|
Running test: testDebuggerPausedThenableJob
|
|
Run expression 'debugger;' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'debugger;' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'debugger;' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: testConsoleTraceThenableJob
|
|
Run expression 'console.trace(42);' with async chain len: 4
|
|
actual async chain len: 4
|
|
Run expression 'console.trace(42);' with async chain len: 8
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 9
|
|
actual async chain len: 8
|
|
Run expression 'console.trace(42);' with async chain len: 32
|
|
actual async chain len: 8
|
|
|
|
Running test: twoConsoleAssert
|
|
actual async chain len: 1
|
|
actual async chain len: 2
|