From c90ef5ebc0d07dd24fce626a836d0bf01a4b173f Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 14 Sep 2025 23:37:15 -0400 Subject: 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. --- data/patches/disable-sync.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 data/patches/disable-sync.patch (limited to 'data/patches/disable-sync.patch') 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; + } -- cgit v1.2.3