v8/test/inspector/debugger/max-async-call-chain-depth-expected.txt
Maya Lekova 9bb78e3279 Revert "[parser] Create arrow function scopes while parsing the head"
This reverts commit 3411e7c3e8.

Reason for revert: Breaks test expecations - https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_chromium_rel_ng/260731

Original change's description:
> [parser] Create arrow function scopes while parsing the head
> 
> This simplifies NextArrowFunctionInfo, allows us to Scope::Snapshot::Reparent
> directly rather than moving it, and allows us to skip reparenting in the simple
> parameter arrow function cases.
> 
> This CL additionally fixes arrow function name inferring.
> 
> Change-Id: Ie3e5ea778f3d7b84b2a10d4f4ff73931cfc9384a
> Reviewed-on: https://chromium-review.googlesource.com/c/1386147
> Reviewed-by: Igor Sheludko <ishell@chromium.org>
> Commit-Queue: Toon Verwaest <verwaest@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#58405}

TBR=ishell@chromium.org,verwaest@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I8f31b96f844f0673364bf435fa6c809e40d62fa3
Reviewed-on: https://chromium-review.googlesource.com/c/1388541
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58446}
2018-12-21 16:09:25 +00:00

92 lines
2.8 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: 1
Run expression 'debugger;' with async chain len: 8
actual async chain len: 1
Run expression 'debugger;' with async chain len: 9
actual async chain len: 1
Run expression 'debugger;' with async chain len: 32
actual async chain len: 1
Running test: testConsoleTrace
Run expression 'console.trace(42);' with async chain len: 4
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 8
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 9
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 32
actual async chain len: 1
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 : [
[0] : {
columnNumber : 47
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
description : Promise.then
}
}
Running test: testDebuggerPausedThenableJob
Run expression 'debugger;' with async chain len: 4
actual async chain len: 1
Run expression 'debugger;' with async chain len: 8
actual async chain len: 1
Run expression 'debugger;' with async chain len: 9
actual async chain len: 1
Run expression 'debugger;' with async chain len: 32
actual async chain len: 1
Running test: testConsoleTraceThenableJob
Run expression 'console.trace(42);' with async chain len: 4
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 8
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 9
actual async chain len: 1
Run expression 'console.trace(42);' with async chain len: 32
actual async chain len: 1
Running test: twoConsoleAssert
actual async chain len: 1
actual async chain len: 2