File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,11 @@ HTTPSEverywhere.prototype = {
438438 return ;
439439 }
440440 HTTPS . replaceChannel ( lst , channel ) ;
441+
442+ var ssl_observatory = CC [ "@eff.org/ssl-observatory;1" ]
443+ . getService ( Components . interfaces . nsISupports )
444+ . wrappedJSObject ;
445+ if ( ssl_observatory . observatoryActive ( ) ) channel . notificationCallbacks = ssl_observatory ;
441446 } else if ( topic == "http-on-examine-response" ) {
442447 this . log ( DBUG , "Got http-on-examine-response @ " + ( channel . URI ? channel . URI . spec : '' ) ) ;
443448 HTTPS . handleSecureCookies ( channel ) ;
Original file line number Diff line number Diff line change @@ -130,7 +130,12 @@ SSLObservatory.prototype = {
130130 [ CI . nsIObserver ,
131131 CI . nsIProtocolProxyFilter ,
132132 //CI.nsIWifiListener,
133- CI . nsIBadCertListener2 ] ) ,
133+ CI . nsIBadCertListener2 ,
134+ CI . nsIInterfaceRequestor ] ) ,
135+
136+ getInterface : function ( aIID ) {
137+ return this . QueryInterface ( aIID ) ;
138+ } ,
134139
135140 wrappedJSObject : null , // Initialized by constructor
136141
You can’t perform that action at this time.
0 commit comments