v8/test/inspector/debugger/tdz-modules-scopes-expected.txt
Yang Guo 251dea9dd5 [debugger] materialize scope values in TDZ as undefined.
R=szuend@chromium.org

Fixes: chromium:718827
Change-Id: I261ce2cf692b5bcf88f4f7f67249ec49c837de4e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2241521
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68337}
2020-06-15 10:09:58 +00:00

46 lines
1.0 KiB
Plaintext

Test module scope with variables in TDZ.
Debug break
Scope type: module
moduleLet : undefined
moduleConst : undefined
exportedModuleLet : undefined
exportedModuleConst : undefined
Debug break
Scope type: local
Scope type: module
exportedModuleLet : undefined
exportedModuleConst : undefined
Debug break
Scope type: module
moduleLet : 3
moduleConst : 4
exportedModuleLet : 1
exportedModuleConst : 2
Debug break
Scope type: local
Scope type: module
exportedModuleLet : 1
exportedModuleConst : 2
Debug break
Scope type: module
exportedModuleLet : 1
exportedModuleConst : 2
moduleLet : undefined
moduleConst : undefined
Debug break
Scope type: local
Scope type: module
exportedModuleLet : 1
exportedModuleConst : 2
Debug break
Scope type: module
exportedModuleLet : 1
exportedModuleConst : 2
moduleLet : 5
moduleConst : 6
Debug break
Scope type: local
Scope type: module
exportedModuleLet : 1
exportedModuleConst : 2