Closed
Bug 819158
Opened 12 years ago
Closed 12 years ago
Implement stopAtOuter for UnwrapObjectChecked
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
It's starting to get annoying to JS_ObjectToInnerObject after every UnwrapObjectChecked. Let's align the semantics here with js::UnwrapObject.
Assignee | ||
Comment 1•12 years ago
|
||
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
Attachment #713498 -
Flags: review?(mrbkap)
Updated•12 years ago
|
Attachment #713498 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•