Closed
Bug 816160
Opened 12 years ago
Closed 12 years ago
hasXPConnectImpls should imply that both arguments and return values might not be new binding objects
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Right now any time hasXPConnectImpls is set we also have to set prefable to true to make return values work and we have to set castable to false to make arguments work because we don't allow prefable castable arguments. But we already handle non-new-binding castable arguments when hasXPConnectImpls, so there's no need to fail prefable castable arguments if hasXPConnectImpls is set. And we can similarly use hasXPConnectImpls for the return values instead of actually making things prefable, which speeds up Wrap() a tad. Patch coming up that does just that.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #686175 -
Flags: review?(peterv)
Assignee | ||
Updated•12 years ago
|
Blocks: ParisBindings
Updated•12 years ago
|
Attachment #686175 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9764b2ccbac
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f9764b2ccbac
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•