Closed Bug 819158 Opened 9 years ago Closed 8 years ago
At Outer for Unwrap Object Checked
It's starting to get annoying to JS_ObjectToInnerObject after every UnwrapObjectChecked. Let's align the semantics here with js::UnwrapObject.
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)
Attachment #713498 - Flags: review?(mrbkap) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.