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.
See documentation in Navigator.webidl The additional contentWindow param for this method represents the dom content window from which the method has been called, or its browser window.
Removes a registered protocol handler
While registerProtocolHandler is exposed on Navigator, unregistering is exposed through the UI code.
The protocol scheme to remove a service handler for
The uri of the service handler to remove
Generated using TypeDoc
nsIWebProtocolHandlerRegistrar
Applications wishing to use web protocol handlers need to implement this interface. Typically they will prompt the user to confirm adding an entry to the local list.
The component must have the contract id defined below so that the Navigator implementation can invoke it.