ReactOS  0.4.14-dev-52-g6116262
nsIScriptSecurityManager Interface Reference

import"nsiface.idl";

Inheritance diagram for nsIScriptSecurityManager:
Collaboration diagram for nsIScriptSecurityManager:

Public Member Functions

nsresult CanCreateWrapper (JSContext *aJSContext, const nsIID *aIID, nsISupports *aObj, nsIClassInfo *aClassInfo)
 
nsresult CanCreateInstance (JSContext *aJSContext, const nsCID *aCID)
 
nsresult CanGetService (JSContext *aJSContext, const nsCID *aCID)
 
nsresult CheckLoadURIFromScript (JSContext *cx, nsIURI *uri)
 
nsresult CheckLoadURIWithPrincipal (nsIPrincipal *aPrincipal, nsIURI *uri, uint32_t flags)
 
nsresult CheckLoadURIStrWithPrincipal (nsIPrincipal *aPrincipal, const nsACString *uri, uint32_t flags)
 
nsresult ScriptAllowed (JSObject *aGlobal)
 
nsresult GetSystemPrincipal (nsIPrincipal **_retval)
 
nsresult GetSimpleCodebasePrincipal (nsIURI *aURI, nsIPrincipal **_retval)
 
nsresult GetAppCodebasePrincipal (nsIURI *uri, uint32_t appId, bool inMozBrowser, nsIPrincipal **_retval)
 
nsresult GetLoadContextCodebasePrincipal (nsIURI *uri, nsILoadContext *loadContext, nsIPrincipal **_retval)
 
nsresult GetDocShellCodebasePrincipal (nsIURI *uri, nsIDocShell *docShell, nsIPrincipal **_retval)
 
nsresult GetNoAppCodebasePrincipal (nsIURI *uri, nsIPrincipal **_retval)
 
nsresult GetCodebasePrincipal (nsIURI *uri, nsIPrincipal **_retval)
 
nsresult CheckSameOriginURI (nsIURI *aSourceURI, nsIURI *aTargetURI, bool reportError)
 
nsresult GetChannelResultPrincipal (nsIChannel *aChannel, nsIPrincipal **_retval)
 
nsresult GetChannelURIPrincipal (nsIChannel *aChannel, nsIPrincipal **_retval)
 
nsresult IsSystemPrincipal (nsIPrincipal *aPrincipal, bool *_retval)
 
nsresult GetJarPrefix (uint32_t appId, bool inMozBrowser, nsACString *_retval)
 
nsresult ActivateDomainPolicy (nsIDomainPolicy **_retval)
 
nsresult GetDomainPolicyActive (bool *aDomainPolicyActive)
 
nsresult ActivateDomainPolicyInternal (nsIDomainPolicy **_retval)
 
void CloneDomainPolicy (int *aClone)
 
nsresult PolicyAllowsScript (nsIURI *aDomain, bool *_retval)
 
- Public Member Functions inherited from nsISupports
nsresult QueryInterface (nsIIDRef riid, void **result)
 
nsrefcnt AddRef ()
 
nsrefcnt Release ()
 

Detailed Description

Definition at line 4143 of file nsiface.idl.

Member Function Documentation

◆ ActivateDomainPolicy()

nsresult nsIScriptSecurityManager::ActivateDomainPolicy ( nsIDomainPolicy **  _retval)

◆ ActivateDomainPolicyInternal()

nsresult nsIScriptSecurityManager::ActivateDomainPolicyInternal ( nsIDomainPolicy **  _retval)

◆ CanCreateInstance()

nsresult nsIScriptSecurityManager::CanCreateInstance ( JSContext aJSContext,
const nsCID aCID 
)

◆ CanCreateWrapper()

nsresult nsIScriptSecurityManager::CanCreateWrapper ( JSContext aJSContext,
const nsIID aIID,
nsISupports aObj,
nsIClassInfo aClassInfo 
)

◆ CanGetService()

nsresult nsIScriptSecurityManager::CanGetService ( JSContext aJSContext,
const nsCID aCID 
)

◆ CheckLoadURIFromScript()

nsresult nsIScriptSecurityManager::CheckLoadURIFromScript ( JSContext cx,
nsIURI uri 
)

◆ CheckLoadURIStrWithPrincipal()

nsresult nsIScriptSecurityManager::CheckLoadURIStrWithPrincipal ( nsIPrincipal aPrincipal,
const nsACString uri,
uint32_t  flags 
)

◆ CheckLoadURIWithPrincipal()

nsresult nsIScriptSecurityManager::CheckLoadURIWithPrincipal ( nsIPrincipal aPrincipal,
nsIURI uri,
uint32_t  flags 
)

◆ CheckSameOriginURI()

nsresult nsIScriptSecurityManager::CheckSameOriginURI ( nsIURI aSourceURI,
nsIURI aTargetURI,
bool  reportError 
)

◆ CloneDomainPolicy()

void nsIScriptSecurityManager::CloneDomainPolicy ( int aClone)

◆ GetAppCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetAppCodebasePrincipal ( nsIURI uri,
uint32_t  appId,
bool  inMozBrowser,
nsIPrincipal **  _retval 
)

◆ GetChannelResultPrincipal()

nsresult nsIScriptSecurityManager::GetChannelResultPrincipal ( nsIChannel aChannel,
nsIPrincipal **  _retval 
)

◆ GetChannelURIPrincipal()

nsresult nsIScriptSecurityManager::GetChannelURIPrincipal ( nsIChannel aChannel,
nsIPrincipal **  _retval 
)

◆ GetCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetCodebasePrincipal ( nsIURI uri,
nsIPrincipal **  _retval 
)

◆ GetDocShellCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetDocShellCodebasePrincipal ( nsIURI uri,
nsIDocShell docShell,
nsIPrincipal **  _retval 
)

◆ GetDomainPolicyActive()

nsresult nsIScriptSecurityManager::GetDomainPolicyActive ( bool aDomainPolicyActive)

◆ GetJarPrefix()

nsresult nsIScriptSecurityManager::GetJarPrefix ( uint32_t  appId,
bool  inMozBrowser,
nsACString _retval 
)

◆ GetLoadContextCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetLoadContextCodebasePrincipal ( nsIURI uri,
nsILoadContext loadContext,
nsIPrincipal **  _retval 
)

◆ GetNoAppCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetNoAppCodebasePrincipal ( nsIURI uri,
nsIPrincipal **  _retval 
)

◆ GetSimpleCodebasePrincipal()

nsresult nsIScriptSecurityManager::GetSimpleCodebasePrincipal ( nsIURI aURI,
nsIPrincipal **  _retval 
)

◆ GetSystemPrincipal()

nsresult nsIScriptSecurityManager::GetSystemPrincipal ( nsIPrincipal **  _retval)

◆ IsSystemPrincipal()

nsresult nsIScriptSecurityManager::IsSystemPrincipal ( nsIPrincipal aPrincipal,
bool _retval 
)

◆ PolicyAllowsScript()

nsresult nsIScriptSecurityManager::PolicyAllowsScript ( nsIURI aDomain,
bool _retval 
)

◆ ScriptAllowed()

nsresult nsIScriptSecurityManager::ScriptAllowed ( JSObject aGlobal)

The documentation for this interface was generated from the following file: