"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "browser/components/preferences/tests/browser_proxy_backup.js" between
firefox-90.0.1.source.tar.xz and firefox-90.0.2.source.tar.xz

About: Firefox is Mozilla’s standalone Web browser. Source code.

browser_proxy_backup.js  (firefox-90.0.1.source.tar.xz):browser_proxy_backup.js  (firefox-90.0.2.source.tar.xz)
skipping to change at line 29 skipping to change at line 29
Services.prefs.clearUserPref("network.proxy." + proxyType); Services.prefs.clearUserPref("network.proxy." + proxyType);
Services.prefs.clearUserPref("network.proxy." + proxyType + "_port"); Services.prefs.clearUserPref("network.proxy." + proxyType + "_port");
if (proxyType == "http") { if (proxyType == "http") {
continue; continue;
} }
Services.prefs.clearUserPref("network.proxy.backup." + proxyType); Services.prefs.clearUserPref("network.proxy.backup." + proxyType);
Services.prefs.clearUserPref( Services.prefs.clearUserPref(
"network.proxy.backup." + proxyType + "_port" "network.proxy.backup." + proxyType + "_port"
); );
} }
// On accepting the dialog, we also write TRR values, so we need to clear
// them. They are tested separately in browser_connect_dnsoverhttps.js.
Services.prefs.clearUserPref("network.trr.mode");
Services.prefs.clearUserPref("network.trr.uri");
}); });
let connectionURL = let connectionURL =
"chrome://browser/content/preferences/dialogs/connection.xhtml"; "chrome://browser/content/preferences/dialogs/connection.xhtml";
// Set a shared proxy and an SSL backup // Set a shared proxy and an SSL backup
Services.prefs.setIntPref("network.proxy.type", 1); Services.prefs.setIntPref("network.proxy.type", 1);
Services.prefs.setBoolPref("network.proxy.share_proxy_settings", true); Services.prefs.setBoolPref("network.proxy.share_proxy_settings", true);
Services.prefs.setCharPref("network.proxy.http", "example.com"); Services.prefs.setCharPref("network.proxy.http", "example.com");
Services.prefs.setIntPref("network.proxy.http_port", 1200); Services.prefs.setIntPref("network.proxy.http_port", 1200);
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)