зеркало из https://github.com/mozilla/pjs.git
Bug 227758 make subjectPrincipalIsSystem unscriptable and checkSameOriginURI scriptable r=caillon sr=dveditz
This commit is contained in:
Родитель
d06aa64eae
Коммит
fc16739ba6
|
@ -204,7 +204,7 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager
|
|||
* Returns true if the principal of the currently running script is the
|
||||
* system principal, false otherwise.
|
||||
*/
|
||||
boolean subjectPrincipalIsSystem();
|
||||
[noscript] boolean subjectPrincipalIsSystem();
|
||||
|
||||
/**
|
||||
* Returns OK if aJSContext and target have the same "origin"
|
||||
|
@ -217,7 +217,7 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager
|
|||
* Returns OK if aSourceURI and target have the same "origin"
|
||||
* (scheme, host, and port).
|
||||
*/
|
||||
[noscript] void checkSameOriginURI(in nsIURI aSourceURI,
|
||||
void checkSameOriginURI(in nsIURI aSourceURI,
|
||||
in nsIURI aTargetURI);
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче