Bug 345127: nsSearchService's loadListener should implement nsIBadCertListener to avoid popping up "wrong cert" dialogs, r=mconnor, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205022 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -321,6 +321,7 @@ loadListener.prototype = {
|
||||
aIID.equals(Ci.nsIStreamListener) ||
|
||||
aIID.equals(Ci.nsIChannelEventSink) ||
|
||||
aIID.equals(Ci.nsIInterfaceRequestor) ||
|
||||
aIID.equals(Ci.nsIBadCertListener) ||
|
||||
// See FIXME comment below
|
||||
aIID.equals(Ci.nsIHttpEventSink) ||
|
||||
aIID.equals(Ci.nsIProgressEventSink) ||
|
||||
@@ -376,6 +377,24 @@ loadListener.prototype = {
|
||||
return this.QueryInterface(aIID);
|
||||
},
|
||||
|
||||
// nsIBadCertListener
|
||||
confirmUnknownIssuer: function SRCH_load_CUI(aSocketInfo, aCert,
|
||||
aCertAddType) {
|
||||
return false;
|
||||
},
|
||||
|
||||
confirmMismatchDomain: function SRCH_load_CMD(aSocketInfo, aTargetURL,
|
||||
aCert) {
|
||||
return false;
|
||||
},
|
||||
|
||||
confirmCertExpired: function SRCH_load_CCE(aSocketInfo, aCert) {
|
||||
return false;
|
||||
},
|
||||
|
||||
notifyCrlNextupdate: function SRCH_load_NCN(aSocketInfo, aTargetURL, aCert) {
|
||||
},
|
||||
|
||||
// FIXME: bug 253127
|
||||
// nsIHttpEventSink
|
||||
onRedirect: function (aChannel, aNewChannel) {},
|
||||
|
||||
Reference in New Issue
Block a user