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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file fix-bailout-scope (deleted) —
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 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+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: