v8/test/inspector/debugger/step-into-nested-arrow-expected.txt
Alexey Kozyatinskiy 0b690227f8 Reland "[inspector] fixed location of top level function return"
This is a reland of 4363a69335

Original change's description:
> [inspector] fixed location of top level function return
>
> We should pass false as has_braces argument to create FunctionLiteral
> for top level function.
>
> R=dgozman@chromium.org,bmeurer@chromium.org
> TBR=bmeurer@chromium.org
>
> Bug: none
> Change-Id: I397f31b562d32c71f3a12bfc9ceeed16c367aa80
> Reviewed-on: https://chromium-review.googlesource.com/1098018
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53769}
TBR=dgozman@chromium.org

Bug: v8:7858
Change-Id: Ie636bc101f9d29d9d40bd10b96e62da6505c2734
Reviewed-on: https://chromium-review.googlesource.com/1104497
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53808}
2018-06-18 21:37:49 +00:00

18 lines
337 B
Plaintext

Checks that stepInto nested arrow function doesn't produce crash.
paused
(anonymous) (test.js:2:0)
(anonymous) (:0:6)
paused
rec (test.js:1:19)
(anonymous) (test.js:2:0)
(anonymous) (:0:6)
paused
rec (test.js:2:5)
(anonymous) (test.js:2:0)
(anonymous) (:0:6)
paused
(anonymous) (test.js:2:5)
(anonymous) (:0:6)
paused
(anonymous) (:0:9)