Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Checks whether a channel is allowed to access the given URI and whether the channel should be openend or should be blocked consulting internal security checks like Same Origin Policy, Content Security Policy, Mixed Content Blocker, etc.
If security checks within performSecurityCheck fail, the function throws an exception.
The StreamListener of the channel wrapped into CORSListenerProxy.
NS_ERROR_DOM_BAD_URI If accessing the URI is not allowed (e.g. prohibted by SOP)
NS_ERROR_CONTENT_BLOCKED If any of the security policies (CSP, Mixed content) is violated
The channel about to be openend
The Streamlistener of the channel potentially wrapped into CORSListenerProxy.
Generated using TypeDoc
nsIContentSecurityManager Describes an XPCOM component used to perform security checks.