diff --git a/js/lib/connection-xpcom.js b/js/lib/connection-xpcom.js --- a/js/lib/connection-xpcom.js +++ b/js/lib/connection-xpcom.js @@ -105,17 +105,16 @@ function badcert_getinterface(aIID) { return this.QueryInterface(aIID); } BadCertHandler.prototype.QueryInterface = function badcert_queryinterface(aIID) { if (aIID.equals(Components.interfaces.nsIBadCertListener2) || - aIID.equals(Components.interfaces.nsISSLErrorListener) || aIID.equals(Components.interfaces.nsIInterfaceRequestor) || aIID.equals(Components.interfaces.nsISupports)) { return this; } throw Components.results.NS_ERROR_NO_INTERFACE; } @@ -124,22 +123,16 @@ function badcert_queryinterface(aIID) * means suppress default the error UI (modal alert). */ BadCertHandler.prototype.notifyCertProblem = function badcert_notifyCertProblem(socketInfo, sslStatus, targetHost) { return true; } -BadCertHandler.prototype.notifySSLError = -function badcert_notifySSLError(socketInfo, error, targetSite) -{ - return true; -} - /** * Wraps up various mechanics of sockets for easy consumption by other code. * * @param binary Provide |true| or |false| here to override the automatic * selection of binary or text streams. This should only ever be * specified as |true| or omitted, otherwise you will be shooting * yourself in the foot on some versions - let the code handle * the choice unless you know you need binary.