Closed Bug 736316 Opened 12 years ago Closed 12 years ago

Components.utils.getGlobalForObject should unwrap cross-compartment wrappers

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

Wrappers are parented to their compartment's global, so we need to unwrap if we want to give callers what they expect. Patch coming right up.
Attaching a patch. Flagging khuey for review because, well, I've already given a lot to Blake. ;-)
Attachment #606405 - Flags: review?(khuey)
Assignee: nobody → bobbyholley+bmo
Target Milestone: --- → mozilla14
Version: unspecified → Trunk
https://hg.mozilla.org/mozilla-central/rev/3cbfbd2dad36
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: