summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/dialogs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /browser/components/preferences/dialogs
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/preferences/dialogs')
-rw-r--r--browser/components/preferences/dialogs/connection.js7
-rw-r--r--browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml1
2 files changed, 4 insertions, 4 deletions
diff --git a/browser/components/preferences/dialogs/connection.js b/browser/components/preferences/dialogs/connection.js
index 33e8deb279..6d2623d65f 100644
--- a/browser/components/preferences/dialogs/connection.js
+++ b/browser/components/preferences/dialogs/connection.js
@@ -132,10 +132,11 @@ var gConnectionsDialog = {
if ("@mozilla.org/system-proxy-settings;1" in Cc) {
document.getElementById("systemPref").removeAttribute("hidden");
- var systemWpadAllowed = Preferences.get(
- "network.proxy.system_wpad.allowed"
+ var systemWpadAllowed = Services.prefs.getBoolPref(
+ "network.proxy.system_wpad.allowed",
+ false
);
- if (systemWpadAllowed && Services.appinfo.OS == "WINNT") {
+ if (systemWpadAllowed && AppConstants.platform == "win") {
document.getElementById("systemWpad").removeAttribute("hidden");
}
}
diff --git a/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml b/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
index 2b041c4802..83bd09c0c3 100644
--- a/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
+++ b/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
@@ -26,7 +26,6 @@
rel="localization"
href="browser/preferences/preferences.ftl"
/>
- <html:link rel="localization" href="toolkit/branding/accounts.ftl" />
</linkset>
<script src="chrome://global/content/preferencesBindings.js" />
<script src="chrome://browser/content/preferences/dialogs/syncChooseWhatToSync.js" />