Closed
Bug 1531618
Opened 6 years ago
Closed 6 years ago
[BinAST] Add testcase with function declaration in block without corresponding scope
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla67
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
found while testing Annex B function.
If lexical scope for the then-block doesn't have corresponding name for function declaration inside it,
the declaration is emitted as top-level function, but it's not correct.
we just should block such case.
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/0bf89ff871d6
Detect function declaration without appropriate scope and block it. r=Yoric
Comment 3•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•