You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Open attached example.html in Firefox 53.0 or Firefox Developer Edition 54.0a2 (both affected, new and old debugger!).
Open Developer Tools, go to Debugger.
Set breakpoint in line 10 (first line in function).
Reload to hit breakpoint.
Click "step out".
Actual results:
"Scopes" in debugger shows function scope with "someVar" variable, not a block scope with "someLet" and "someConst" variables.
This seems inconsistent since execution after the "step out" pauses before leaving the function (and thus its scope): Why are let/const bound variables no longer visible, but var bound ones are?
Expected results:
"Scopes" in debugger should also show block scope with "someLet" and "someConst" variables.
This is also the behavior when setting a breakpoint at the closing brace and hitting that breakpoint (see screen capture video): "someLet", "someConst", and "someVar" are all visible as expected.
Steps to reproduce:
Actual results:
Expected results:
video: https://bug1362428.bmoattachments.org/attachment.cgi?id=8864898
from: https://bugzilla.mozilla.org/show_bug.cgi?id=1362428