morgan pushed to branch tor-browser-153.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: 75a95c6d by Henry Wilkes at 2026-08-05T15:40:33+00:00 fixup! Firefox preference overrides. BB 45187: Disable delete private downloads. - - - - - 14f24ee0 by Henry Wilkes at 2026-08-05T15:40:33+00:00 fixup! BB 42027: Base Browser migration procedures. BB 45187: Clear the private downloads preferences in case we re-enable this again in the future. - - - - - 2 changed files: - browser/app/profile/001-base-profile.js - browser/components/ProfileDataUpgrader.sys.mjs Changes: ===================================== browser/app/profile/001-base-profile.js ===================================== @@ -72,6 +72,10 @@ pref("browser.helperApps.deleteTempFileOnExit", true); // Prevent download stuffing / DOS (tor-browser#41764) pref("browser.download.enable_spam_prevention", true); +// tor-browser#45187: Disable offering to delete downloaded files when closing +// private browsing windows because it does not work as expected in 16.0. +pref("browser.download.enableDeletePrivate", false); + // tor-browser#41131: This is normally gated on // privacy.sanitize.sanitizeOnShutdown, which is false by default. But in case // users enable it, make sure background tasks are not used for this, since we ===================================== browser/components/ProfileDataUpgrader.sys.mjs ===================================== @@ -1041,6 +1041,8 @@ export let ProfileDataUpgrader = { // Version 5: 15.0a3: Disable LaterRun using prefs. tor-browser#42630. // Version 6: 15.0a4: Reset browser colors. tor-browser#43850. // Version 7: 16.0a10: Reset safe browsing preferences. tor-browser#44802. + // Also reset delete downloads preferences. + // tor-browser#45187. const MIGRATION_VERSION = 7; const MIGRATION_PREF = "basebrowser.migration.version"; @@ -1140,16 +1142,20 @@ export let ProfileDataUpgrader = { } } if (currentVersion < 7) { - // Clear these preferences since: - // + They aren't expected to work. - // + We are hiding the UI to change these. tor-browser#44802. for (const prefName of [ + // Clear these preferences since: + // + They aren't expected to work. + // + We are hiding the UI to change these. tor-browser#44802. "browser.safebrowsing.phishing.enabled", "browser.safebrowsing.malware.enabled", "browser.safebrowsing.downloads.enabled", "browser.safebrowsing.downloads.remote.block_uncommon", "browser.safebrowsing.downloads.remote.block_potentially_unwanted", "urlclassifier.malwareTable", + // Clear the downloads preferences for alpha profiles in case we want to + // re-offer this feature again in the future. tor-browser#45187. + "browser.download.deletePrivate", + "browser.download.deletePrivate.chosen", ]) { Services.prefs.clearUserPref(prefName); } View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/72159ca... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/72159ca... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
morgan (@morgan)