Closed Bug 552835 Opened 14 years ago Closed 14 years ago

Get a chrome principal to use to create the sandbox for bootstrap.js

Categories

(Toolkit :: Add-ons Manager, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9.3a5

People

(Reporter: mossop, Assigned: mossop)

References

Details

(Whiteboard: [rewrite])

Attachments

(1 file)

Need to make nsIScriptSecurityManager.getSystemPrincipal scriptable and use that.
Priority: P1 → P2
Not going to be visible manually
Flags: in-testsuite?
Flags: in-litmus-
Status: NEW → ASSIGNED
You can get the system principle via:

Cc["@mozilla.org/systemprincipal;1"].createInstance(Ci.nsIPrincipal);
Good find. I presume this is ok Blake, rather than playing in caps?

http://hg.mozilla.org/projects/addonsmgr/rev/9e25dadb569a
Flags: in-testsuite? → in-testsuite+
Whiteboard: [rewrite] → [rewrite][fixed-in-addonsmgr]
Yep, I sort of forgot about the component manager.
Whiteboard: [rewrite][fixed-in-addonsmgr] → [rewrite][fixed-in-addonsmgr][needs-review]
Attached patch patch rev 1Splinter Review
Attachment #435783 - Flags: review?(robert.bugzilla)
Attachment #435783 - Flags: review?(robert.bugzilla) → review+
Whiteboard: [rewrite][fixed-in-addonsmgr][needs-review] → [rewrite][fixed-in-addonsmgr]
Whiteboard: [rewrite][fixed-in-addonsmgr] → [rewrite][fixed-in-addonsmgr][needs-landing]
http://hg.mozilla.org/mozilla-central/rev/f9268514ed9d
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [rewrite][fixed-in-addonsmgr][needs-landing] → [rewrite]
Target Milestone: --- → mozilla1.9.3a5
Verified fixed by hg log.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: