"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "browser/components/preferences/tests/browser_connection_bug388287.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_connection_bug388287.js  (firefox-90.0.1.source.tar.xz):browser_connection_bug388287.js  (firefox-90.0.2.source.tar.xz)
skipping to change at line 31 skipping to change at line 31
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");
}); });
/* /*
The connection dialog alone won't save onaccept since it uses type="child", The connection dialog alone won't save onaccept since it uses type="child",
so it has to be opened as a sub dialog of the main pref tab. so it has to be opened as a sub dialog of the main pref tab.
Open the main tab here. Open the main tab here.
*/ */
open_preferences(async function tabOpened(aContentWindow) { open_preferences(async function tabOpened(aContentWindow) {
let dialog, dialogClosingPromise, dialogElement; let dialog, dialogClosingPromise, dialogElement;
let proxyTypePref, sharePref, httpPref, httpPortPref; let proxyTypePref, sharePref, httpPref, httpPortPref;
 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)