summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2020-09-09 02:59:46 -0400
committerMark H Weaver <mhw@netris.org>2020-09-09 03:22:17 -0400
commit1435cb8dca37307979ed9cb17b8c33e589580128 (patch)
tree433e1cfc64d8606e11cfec3cfc435bd8a8e2f41a /data
parent23f3d989e8ef527bdf7ae9ce67c9900504d7f5a8 (diff)
Disable settings services.
Diffstat (limited to 'data')
-rw-r--r--data/patches/disable-settings-services.patch13
-rw-r--r--data/settings.js3
2 files changed, 16 insertions, 0 deletions
diff --git a/data/patches/disable-settings-services.patch b/data/patches/disable-settings-services.patch
new file mode 100644
index 0000000..d869bff
--- /dev/null
+++ 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
index fc9df7e..8f01406 100644
--- 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", "");