Closed
Bug 1217911
Opened 9 years ago
Closed 9 years ago
Use correct scope when bailing out a module script
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
I found this problem when adding a simple test to check that we correctly handle uninitialized lexicals in modules. When getting the scope object for a script, we need to handle the case where it's a module script.
Attachment #8678217 -
Flags: review?(shu)
Comment 1•9 years ago
|
||
Comment on attachment 8678217 [details]
fix-bailout-scope
Good catch, we have so much scope logic duplicated in bailout code still. :(
Attachment #8678217 -
Flags: review?(shu) → review+
Comment 3•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•