Bug 227758 make subjectPrincipalIsSystem unscriptable and checkSameOriginURI scriptable r=caillon sr=dveditz

This commit is contained in:
neil%parkwaycc.co.uk 2003-12-19 21:51:37 +00:00
Родитель d06aa64eae
Коммит fc16739ba6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);
/**