CPOW parents shouldn't be null

RESOLVED FIXED in mozilla25

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: billm, Assigned: billm)

Tracking

unspecified
mozilla25
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 782712 [details] [diff] [review]
cpow-parent

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
Last Resolved: 5 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.