Bug 593026. Make it possible to get the system principal from script. r=jst a=jst
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 07 Sep 2010 15:10:41 -0400
changeset 52102 9eb471c9042dc8b5d07bc480274e63254cf04612
parent 52101 6726c330ce8efaaff9bbe0447ebb1b500ad4d599
child 52103 f5206ff5dce8712fd27118b0df14e79bfac6a8f3
push idunknown
push userunknown
push dateunknown
reviewersjst, jst
bugs593026
milestone2.0b6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 593026. Make it possible to get the system principal from script. r=jst a=jst
caps/idl/nsIScriptSecurityManager.idl
--- a/caps/idl/nsIScriptSecurityManager.idl
+++ b/caps/idl/nsIScriptSecurityManager.idl
@@ -179,17 +179,17 @@ interface nsIScriptSecurityManager : nsI
      * executing script. Will return null if there is no script 
      * currently executing.
      */
     [noscript] nsIPrincipal getSubjectPrincipal();
 
     /**
      * Return the all-powerful system principal.
      */
-    [noscript] nsIPrincipal getSystemPrincipal();
+    nsIPrincipal getSystemPrincipal();
 
     /**
      * Return a principal with the specified certificate fingerprint, subject
      * name (the full name or concatenated set of names of the entity
      * represented by the certificate), pretty name, certificate, and
      * codebase URI.  The certificate fingerprint and subject name MUST be
      * nonempty; otherwise an error will be thrown.  Similarly, aCert must
      * not be null.