@@ -852,15 +852,15 @@ SSLObservatory.prototype = {
852852 var custom_proxy_type = this . myGetCharPref ( "proxy_type" ) ;
853853 if ( this . torbutton_installed && this . myGetBoolPref ( "use_tor_proxy" ) ) {
854854 this . log ( INFO , "CASE: use_tor_proxy" ) ;
855- // extract torbutton proxy settings
855+ // extract tor browser proxy settings
856856 proxy_settings . type = "http" ;
857- proxy_settings . host = this . prefs . getCharPref ( "extensions.torbutton.https_proxy " ) ;
858- proxy_settings . port = this . prefs . getIntPref ( "extensions.torbutton.https_port " ) ;
857+ proxy_settings . host = this . prefs . getCharPref ( "network.proxy.http " ) ;
858+ proxy_settings . port = this . prefs . getIntPref ( "network.proxy.http_port " ) ;
859859
860860 if ( proxy_settings . port == 0 ) {
861861 proxy_settings . type = "socks" ;
862- proxy_settings . host = this . prefs . getCharPref ( "extensions.torbutton.socks_host " ) ;
863- proxy_settings . port = this . prefs . getIntPref ( "extensions.torbutton .socks_port" ) ;
862+ proxy_settings . host = this . prefs . getCharPref ( "network.proxy.socks " ) ;
863+ proxy_settings . port = this . prefs . getIntPref ( "network.proxy .socks_port" ) ;
864864 }
865865 proxy_settings . tor_safe = true ;
866866 /* Regarding the test below:
@@ -885,7 +885,7 @@ SSLObservatory.prototype = {
885885 proxy_settings . port = 9050 ;
886886 proxy_settings . tor_safe = true ;
887887 }
888- this . log ( INFO , "Using proxy: " + proxy_settings ) ;
888+ this . log ( INFO , "Using proxy: " + JSON . stringify ( proxy_settings ) ) ;
889889 return proxy_settings ;
890890 } ,
891891
0 commit comments