Closed Bug 760076 Opened 12 years ago Closed 12 years ago

Wrapper construct users Wrapper::GET rather than Wrapper::CALL

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

This makes no sense to me. It also means that COW-ed objects can be ()-ed but not new-ed. This was the source of some nastiness over in bug 756173. I'll write up a patch right now.
Attaching a patch. Pushed to try here: https://tbpl.mozilla.org/?tree=Try&rev=4f003eaf3822 Flagging jorendorff for review in case he remembers some reason why it was supposed to be like this.
Attachment #628705 - Flags: review?(jorendorff)
Comment on attachment 628705 [details] [diff] [review] Make |construct| use Wrapper::CALL. v1 Stealing the review here as this was my fault... It looks like when I added the CALL permission during the brain transplant scramble, I simply forgot to update construct to match call.
Attachment #628705 - Flags: review?(jorendorff) → review+
Target Milestone: --- → mozilla15
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: