Closed Bug 1029202 Opened 7 years ago Closed 7 years ago

CPOW receiver argument isn't always a CPOW

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file)

Attached patch receiver-fixSplinter Review
The CPOW code always assumes that the |receiver| argument to property operations is a CPOW. I ran into a few cases during testing where it's a cross-compartment wrapper around a CPOW. In any case, I don't think we should make any assumptions about the receiver. This patch should fix the issue.
Attachment #8444770 - Flags: review?(mrbkap)
Attachment #8444770 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/ba6b27e2b92a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.