Implemented by
- @mozilla.org/url-classifier/streamupdater;1
- @mozilla.org/xpinstall/install-manager;1
- @mozilla.org/content/xmlhttprequest-bad-cert-handler;1
A mechanism to report a broken SSL connection. The recipient should NOT block.
[scriptable, uuid(99f8d972-bae4-414c-b39b-47587d3ded68)]
interface nsISSLErrorListener : nsISupports
Methods
@param socketInfo A network communication context that can be used to obtain more information
about the active connection.
@param error The code associated with the error.
@param targetSite The Site name that was used to open the current connection.
@return The consumer shall return true if it wants to suppress the error message
related to the error (the connection will still get canceled).
boolean
notifySSLError(in nsIInterfaceRequestor socketInfo, in PRInt32 error, in AUTF8String targetSite)
Compare to: