Closed
Bug 819158
Opened 11 years ago
Closed 10 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)
3.18 KB,
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•10 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•10 years ago
|
Attachment #713498 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/24c55c2834b1
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/24c55c2834b1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•