Closed Bug 593026 Opened 14 years ago Closed 14 years ago

Make it possible to get the system principal from script

Categories

(Core :: Security: CAPS, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla2.0b7

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

I don't see a reason to prevent this, and it's needed to properly initialize things like DOMParser to allow it to parse XUL in XPCOM components, I think.
Attached patch Proposed patchSplinter Review
This is needed to handle parsing XUL from XPCOM components after sicking's changes.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #471486 - Flags: review?(jst)
Attachment #471486 - Flags: review?(jst) → review+
Comment on attachment 471486 [details] [diff] [review] Proposed patch Requesting approval for 2.0 for this simple change.
Attachment #471486 - Flags: approval2.0?
Whiteboard: [need approval]
Priority: -- → P1
Attachment #471486 - Flags: approval2.0? → approval2.0+
Whiteboard: [need approval] → [need landing]
I assume that a UUID rev is not needed here, is that the case?
That's correct; this is a binary-compatible change, and from script it's easy to tell apart the two versions of the interface by using "in". (All assuming no one is implementing nsIScriptSecurityManager in JS, but if they are they're already So Broken.)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [need landing]
Target Milestone: --- → mozilla2.0b6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: