Closed Bug 899238 Opened 8 years ago Closed 8 years ago

CPOW parents shouldn't be null

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file)

Attached patch cpow-parentSplinter Review
I had assumed that CPOWs would have their parent set to the global object automatically. That's not happening though--the parent is just null. This patch fixes the problem, which was triggering an assert for me in a few cases.
Attachment #782712 - Flags: review?(dvander)
Attachment #782712 - Flags: review?(dvander) → review+
https://hg.mozilla.org/mozilla-central/rev/c60ebc542475

Should we have a test for this?
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.