Closed Bug 603845 Opened 14 years ago Closed 14 years ago

Don't assume all compartments have principals

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: mrbkap)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

jsd, in particular, creates a compartment that doesn't have principals. There are others, but at the moment they are sandboxed off from untrusted objects. This is one of the causes of the crashtest oranges that we're seeing on tracemonkey.
Attached patch Proposed fixSplinter Review
I hate the default-unsafe behavior here, but I don't see much of a way around it.
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #482748 - Flags: review?(gal)
Attachment #482748 - Flags: review?(gal) → review+
http://hg.mozilla.org/mozilla-central/rev/87e44effa997
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.