summaryrefslogtreecommitdiff
path: root/data/patches/disable-sync.patch
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2025-09-14 23:37:15 -0400
committerMark H Weaver <mhw@netris.org>2025-09-15 00:02:22 -0400
commitc90ef5ebc0d07dd24fce626a836d0bf01a4b173f (patch)
tree2e5c4bd776b467b29505c1e587c15a824a9f78f1 /data/patches/disable-sync.patch
parent36f15dbc57096ff29d24bf76ee503c0292520b7c (diff)
downloadgnuzilla-c90ef5ebc0d07dd24fce626a836d0bf01a4b173f.tar.gz
Further updates for version 140.
* data/patches/disable-sync.patch: New file. * data/patches/about-addons.patch, data/patches/hide-firefox-view-button.patch, data/patches/hide-protections-dashboard.patch, data/patches/hide-submit-feedback-menu-item.patch, data/patches/icecat-about-dialog.patch: Adapt for version 140. * data/settings.js: Add more customizations to default settings. * makeicecat: Do not synchronize any preferences by default.
Diffstat (limited to 'data/patches/disable-sync.patch')
-rw-r--r--data/patches/disable-sync.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/data/patches/disable-sync.patch b/data/patches/disable-sync.patch
new file mode 100644
index 0000000..c884ab1
--- /dev/null
+++ b/data/patches/disable-sync.patch
@@ -0,0 +1,31 @@
+--- a/services/settings/RemoteSettingsClient.sys.mjs
++++ b/services/settings/RemoteSettingsClient.sys.mjs
+@@ -621,6 +621,8 @@
+ * @param {Object} options See #maybeSync() options.
+ */
+ async sync(options) {
++ return; /* Hard-disable sync */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return;
+ }
+--- a/services/settings/remote-settings.sys.mjs
++++ b/services/settings/remote-settings.sys.mjs
+@@ -209,6 +209,8 @@
+ * @throws {Error} If the signature of any bundled changeset is invalid.
+ */
+ remoteSettings.pullStartupBundle = async () => {
++ return []; /* Hard-disable pulling it */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return [];
+ }
+@@ -304,6 +306,8 @@
+ trigger = "manual",
+ full = false,
+ } = {}) => {
++ return; /* Hard-disable polling remote settings */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return;
+ }