commit 1435cb8dca37307979ed9cb17b8c33e589580128
parent 23f3d989e8ef527bdf7ae9ce67c9900504d7f5a8
Author: Mark H Weaver <mhw@netris.org>
Date: Wed, 9 Sep 2020 02:59:46 -0400
Disable settings services.
Diffstat:
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/data/patches/disable-settings-services.patch b/data/patches/disable-settings-services.patch
@@ -0,0 +1,13 @@
+--- a/services/settings/Utils.jsm
++++ b/services/settings/Utils.jsm
+@@ -59,9 +59,7 @@
+ Ci.nsIEnvironment
+ );
+ const isXpcshell = env.exists("XPCSHELL_TEST_PROFILE_DIR");
+- return AppConstants.RELEASE_OR_BETA && !Cu.isInAutomation && !isXpcshell
+- ? "https://firefox.settings.services.mozilla.com/v1"
+- : gServerURL;
++ return gServerURL;
+ },
+
+ CHANGES_PATH: "/buckets/monitor/collections/changes/records",
diff --git a/data/settings.js b/data/settings.js
@@ -382,3 +382,6 @@ pref("dom.push.enabled",false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr", false);
pref("extensions.htmlaboutaddons.discover.enabled", false);
pref("extensions.htmlaboutaddons.recommendations.enabled", false);
+
+// Disable the settings server
+pref("services.settings.server", "");