Closed Bug 987112 Opened 8 years ago Closed 8 years ago
Remove the parent
Object argument to dictionary To Object() methods
In practice, this had better be the same as the current global on cx, since that last represents the compartment we'll put the actual dictionary object in.
Oh, and the reason this didn't use to be possible before is that we parented directly to the scope object unless a different native parent was provided. But now we parent to the global of the scope object (as of bug 717637) for any case that doesn't provide a native parent of its own, so as long as we pass in something with the right global we're good to go.
I could have sworn I'd posted this patch....
Attachment #8398608 - Flags: review?(bobbyholley)
Attachment #8398608 - Flags: review?(bobbyholley) → review+
Whiteboard: [need review]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.