arkenfox / user.js

Firefox privacy, security and anti-tracking: a comprehensive user.js template for configuration and hardening
MIT License
9.43k stars 507 forks source link

ToDo: diffs FF124-FF125.0.1 #1836

Closed earthlng closed 1 month ago

earthlng commented 2 months ago

FF125.0.1 release date: Apr. 16th 2024

FF125.0.1 release notes FF125 for developers FF125 security advisories


146 diffs ( 111 new, 26 gone, 9 different )

new in v125.0.1:


ignore

click me for details

==NEW ```js pref("accessibility.ARIAElementReflection.enabled", false); pref("accessibility.uia.enable", false); pref("accessibility.windows.suppress-for-snap-layout", 2); pref("browser.backup.enabled", false); pref("browser.contentanalysis.agent_name", "A DLP agent"); pref("browser.contentanalysis.agent_timeout", 30); pref("browser.contentanalysis.allow_url_regex_list", ""); pref("browser.contentanalysis.client_signature", ""); pref("browser.contentanalysis.deny_url_regex_list", ""); pref("browser.contentanalysis.show_blocked_result", true); pref("browser.firefoxbridge.enabled", false); pref("browser.firefoxbridge.extensionOrigins", "chrome-extension://gkcbmfjnnjoambnfmihmnkneakghogca/"); pref("browser.ml.enable", false); pref("browser.ml.logLevel", "Error"); pref("browser.newtabpage.activity-stream.discoverystream.spocMessageVariant", ""); pref("browser.profiles.enabled", false); pref("browser.sessionstore.disable_platform_collection", false); pref("devtools.debugger.features.overlay", true); pref("devtools.performance.recording.markers.external-url", ""); pref("dom.disable_tab_focus_to_root_element", false); pref("dom.forms.number.hide_spin_buttons_when_no_hover_or_focus", false); pref("dom.indexedDB.connectionIdleMaintenance.pauseOnConnectionThreadMs", 0); pref("dom.navigation.object_embed.allow_retargeting", false); pref("dom.security.trusted_types.enabled", false); pref("gfx.canvas.remote.allow-offscreen", true); pref("gfx.offscreencanvas.snapshot-timeout-ms", 10000); pref("gfx.webrender.overlay-vp-auto-hdr", false); pref("gfx.webrender.overlay-vp-super-resolution", false); pref("javascript.options.mem.nursery_eager_collection_threshold_kb", 256); pref("javascript.options.mem.nursery_eager_collection_threshold_percent", 25); pref("javascript.options.mem.nursery_eager_collection_timeout_ms", 5000); pref("javascript.options.wasm_js_string_builtins", false); pref("javascript.options.wasm_memory64", false); pref("javascript.options.wasm_memory_control", false); pref("javascript.options.wasm_multi_memory", true); pref("javascript.options.wasm_relaxed_simd", false); pref("javascript.options.wasm_test_serialization", false); pref("layout.css.align-content.blocks.enabled", true); pref("layout.css.h1-in-section-ua-styles.enabled", true); pref("layout.css.transition-behavior.enabled", false); pref("media.peerconnection.description.legacy.enabled", true); pref("media.peerconnection.treat_warnings_as_errors", false); pref("media.wmf.media-engine.bypass-gfx-blocklist", false); pref("network.cache.purge_minprogress_disk", 0); pref("network.cache.purge_minprogress_memory", 32); pref("network.fetchpriority.adjustments.async-or-defer-script.auto", 0); pref("network.fetchpriority.adjustments.async-or-defer-script.high", -10); pref("network.fetchpriority.adjustments.async-or-defer-script.low", 10); pref("network.fetchpriority.adjustments.deferred-style.auto", 0); pref("network.fetchpriority.adjustments.deferred-style.high", 0); pref("network.fetchpriority.adjustments.deferred-style.low", 10); pref("network.fetchpriority.adjustments.global-fetch-api.auto", 0); pref("network.fetchpriority.adjustments.global-fetch-api.high", -10); pref("network.fetchpriority.adjustments.global-fetch-api.low", 10); pref("network.fetchpriority.adjustments.images.auto", 0); pref("network.fetchpriority.adjustments.images.high", -20); pref("network.fetchpriority.adjustments.images.low", 0); pref("network.fetchpriority.adjustments.link-preload-fetch.auto", 0); pref("network.fetchpriority.adjustments.link-preload-fetch.high", -10); pref("network.fetchpriority.adjustments.link-preload-fetch.low", 10); pref("network.fetchpriority.adjustments.link-preload-font.auto", 0); pref("network.fetchpriority.adjustments.link-preload-font.high", 0); pref("network.fetchpriority.adjustments.link-preload-font.low", 20); pref("network.fetchpriority.adjustments.link-preload-script.auto", 0); pref("network.fetchpriority.adjustments.link-preload-script.high", 0); pref("network.fetchpriority.adjustments.link-preload-script.low", 30); pref("network.fetchpriority.adjustments.link-preload-style.auto", 0); pref("network.fetchpriority.adjustments.link-preload-style.high", 0); pref("network.fetchpriority.adjustments.link-preload-style.low", 10); pref("network.fetchpriority.adjustments.module-script.auto", 0); pref("network.fetchpriority.adjustments.module-script.high", -10); pref("network.fetchpriority.adjustments.module-script.low", 10); pref("network.fetchpriority.adjustments.non-deferred-style.auto", 0); pref("network.fetchpriority.adjustments.non-deferred-style.high", -20); pref("network.fetchpriority.adjustments.non-deferred-style.low", 0); pref("network.fetchpriority.adjustments.other-script.auto", 0); pref("network.fetchpriority.adjustments.other-script.high", -10); pref("network.fetchpriority.adjustments.other-script.low", 10); pref("network.fetchpriority.adjustments.script-in-head.auto", 0); pref("network.fetchpriority.adjustments.script-in-head.high", -10); pref("network.fetchpriority.adjustments.script-in-head.low", 10); pref("network.jar.max_entry_size", 268435456); pref("network.protocol-handler.external.firefox-bridge", false); pref("network.protocol-handler.external.firefox-private-bridge", false); pref("network.proxy.system_wpad", false); pref("network.proxy.system_wpad.allowed", false); pref("network.send_OnDataFinished.cssLoader", false); pref("pdfjs.enableHighlightFloatingButton", false); pref("privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs", false); pref("privacy.sanitize.cpd.hasMigratedToNewPrefs", false); pref("sidebar.companion", false); pref("startup.homepage_override_nimbus_maxVersion", ""); pref("startup.homepage_override_url_nimbus", ""); pref("svg.SVGAElement.text.enabled", false); pref("toolkit.telemetry.user_characteristics_ping.current_version", 0); pref("toolkit.telemetry.user_characteristics_ping.last_version_sent", 0); pref("toolkit.telemetry.user_characteristics_ping.uuid", ""); pref("ui.tooltip.delay_ms", 500); pref("widget.gtk.global-menu.enabled", false); pref("widget.gtk.global-menu.wayland.enabled", false); pref("widget.gtk.legacy-cursors.enabled", false); pref("widget.gtk.middle-click-enabled", true); pref("widget.gtk.non-native-titlebar-buttons.enabled", true); ``` ==REMOVED, RENAMED or HIDDEN ```js pref("accessibility.ARIAReflection.enabled", true); pref("browser.contentblocking.reportBreakage.url", "https://tracking-protection-issues.herokuapp.com/new"); pref("browser.device-migration.help-menu.hidden", false); pref("browser.mailto.dualPrompt.os", false); pref("browser.sessionstore.collect_session_storage", true); pref("browser.sessionstore.collect_zoom", true); pref("browser.sessionstore.platform_collection", true); pref("browser.shell.customProtocolsRegistered", false); pref("browser.shell.defaultBrowserAgent.thanksURL", "https://www.mozilla.org/%LOCALE%/firefox/set-as-default/thanks/"); pref("browser.tabs.cardPreview.delayMs", 1000); pref("browser.toolbars.bookmarks.showInPrivateBrowsing", false); pref("dom.domrequest.enabled", false); pref("dom.media.webcodecs.force-osx-h264-enabled", false); pref("gfx.webrender.super-resolution.nvidia", false); pref("javascript.options.wasm_exceptions", true); pref("javascript.options.wasm_extended_const", true); pref("javascript.options.wasm_function_references", true); pref("layout.css.math-depth.enabled", true); pref("layout.css.math-style.enabled", true); pref("layout.css.scroll-anchoring.absolute-update", true); pref("media.ffvpx.enabled", true); pref("network.cache.purgebyfrecency_minprogress_disk", 0); pref("network.cache.purgebyfrecency_minprogress_memory", 0); pref("network.protocol-handler.external.firefox", false); pref("network.protocol-handler.external.firefox-private", false); pref("privacy.sanitize.sanitizeOnShutdown.hasMigratedToNewPrefs", false); ``` ==CHANGED ```js pref("browser.urlbar.clipboard.featureGate", true); // prev: false pref("browser.urlbar.switchTabs.searchAllContainers", true); // prev: false pref("dom.element.popover.enabled", true); // prev: false pref("dom.events.asyncClipboard.readText", true); // prev: false pref("extensions.formautofill.addresses.capture.enabled", true); // prev: false pref("layout.css.content-visibility.enabled", true); // prev: false pref("layout.css.transform-box-content-stroke.enabled", true); // prev: false pref("media.eme.playready.enabled", true); // prev: false pref("ui.touch_activation.duration_ms", 50); // prev: 10 ```

earthlng commented 2 months ago
some bugzilla tickets

* accessibility.ARIAElementReflection.enabled Bug [1885607](https://bugzilla.mozilla.org/show_bug.cgi?id=1885607) - P2: Add ARIAElementReflection pref. * accessibility.ARIAReflection.enabled Bug [1885607](https://bugzilla.mozilla.org/show_bug.cgi?id=1885607) - P1: Retire ARIAReflection pref. * accessibility.uia.enable Bug [1881190](https://bugzilla.mozilla.org/show_bug.cgi?id=1881190): Switch to a properly defined static pref for enabling of UI Automation. * accessibility.windows.suppress-for-snap-layout Bug [1883132](https://bugzilla.mozilla.org/show_bug.cgi?id=1883132) - Suppress a11y instantiation on Win11 for the snap layouts feature. * browser.backup.enabled Bug [1882171](https://bugzilla.mozilla.org/show_bug.cgi?id=1882171) - Stub out the beginnings of the BackupService. * browser.contentanalysis.agent_name Bug [1878701](https://bugzilla.mozilla.org/show_bug.cgi?id=1878701) - Part 3: Use UX-suggested text for the DLP agent busy dialog * browser.contentanalysis.agent_timeout Bug [1882604](https://bugzilla.mozilla.org/show_bug.cgi?id=1882604): Make DLP agent timeout period a config setting * browser.contentanalysis.allow_url_regex_list Bug [1879181](https://bugzilla.mozilla.org/show_bug.cgi?id=1879181): Allow skipping content analysis for requests that match url list * browser.contentanalysis.client_signature Bug [1882596](https://bugzilla.mozilla.org/show_bug.cgi?id=1882596) - verify signature of content analysis client * browser.contentanalysis.deny_url_regex_list Bug [1879181](https://bugzilla.mozilla.org/show_bug.cgi?id=1879181): Allow skipping content analysis for requests that match url list * browser.contentanalysis.show_blocked_result Bug [1882601](https://bugzilla.mozilla.org/show_bug.cgi?id=1882601): Add content analysis config to enterprise policy * browser.contentblocking.reportBreakage.url Bug [1881798](https://bugzilla.mozilla.org/show_bug.cgi?id=1881798) - remove the legacy ETP webcompat reporter; * browser.device-migration.help-menu.hidden Bug [1883911](https://bugzilla.mozilla.org/show_bug.cgi?id=1883911) - remove pref and Nimbus code for switching devices help menu item * browser.firefoxbridge.enabled Bug [1876344](https://bugzilla.mozilla.org/show_bug.cgi?id=1876344) - Added idle startup task to register native messaging host JSON files on macOS * browser.firefoxbridge.extensionOrigins Bug [1876344](https://bugzilla.mozilla.org/show_bug.cgi?id=1876344) - Added idle startup task to register native messaging host JSON files on macOS * browser.mailto.dualPrompt.os Bug [1877500](https://bugzilla.mozilla.org/show_bug.cgi?id=1877500): single click os/fx mailto default, Bug [1864216](https://bugzilla.mozilla.org/show_bug.cgi?id=1864216) - Allow setting the browser as the OS default mailto handler, * browser.ml.enable Bug [1873743](https://bugzilla.mozilla.org/show_bug.cgi?id=1873743) - Stub out enough of remote settings to download; * browser.ml.logLevel Bug [1873743](https://bugzilla.mozilla.org/show_bug.cgi?id=1873743) - Stub out enough of remote settings to download; * browser.newtabpage.activity-stream.discoverystream.spocMessageVariant Bug [1882830](https://bugzilla.mozilla.org/show_bug.cgi?id=1882830) - Home and newtab adding message variants for sponsored content. * browser.profiles.enabled Bug [1883143](https://bugzilla.mozilla.org/show_bug.cgi?id=1883143) - Initial profiles setup. * browser.sessionstore.collect_session_storage Bug [1883278](https://bugzilla.mozilla.org/show_bug.cgi?id=1883278) - Remove browser.sessionstore.collect_session_storage and browser.sessionstore.collect_zoom. * browser.sessionstore.collect_zoom Bug [1883278](https://bugzilla.mozilla.org/show_bug.cgi?id=1883278) - Remove browser.sessionstore.collect_session_storage and browser.sessionstore.collect_zoom. * browser.sessionstore.disable_platform_collection Bug [1883278](https://bugzilla.mozilla.org/show_bug.cgi?id=1883278) - Force-enable platform collection code of session store when SHIP is enabled. * browser.sessionstore.platform_collection Bug [1883278](https://bugzilla.mozilla.org/show_bug.cgi?id=1883278) - Force-enable platform collection code of session store when SHIP is enabled. * browser.shell.customProtocolsRegistered Bug [1880368](https://bugzilla.mozilla.org/show_bug.cgi?id=1880368) - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols Bug [1862450](https://bugzilla.mozilla.org/show_bug.cgi?id=1862450) - Made installer changes for dual browser extension * browser.shell.defaultBrowserAgent.thanksURL Bug [1883476](https://bugzilla.mozilla.org/show_bug.cgi?id=1883476) - Part 3: Remove dead launched from WDBA telemetry. * browser.tabs.cardPreview.delayMs Bug [1881488](https://bugzilla.mozilla.org/show_bug.cgi?id=1881488) - Use tooltip delay for tab preview. Bug [1783521](https://bugzilla.mozilla.org/show_bug.cgi?id=1783521) - add card preview when inactive tab hovered. * browser.toolbars.bookmarks.showInPrivateBrowsing Bug [1883140](https://bugzilla.mozilla.org/show_bug.cgi?id=1883140) - don't hide bookmarks in Felt Privacy mode. * browser.urlbar.clipboard.featureGate Bug [1882478](https://bugzilla.mozilla.org/show_bug.cgi?id=1882478) - Enable clipboard suggestions feature in Release. Bug [1860548](https://bugzilla.mozilla.org/show_bug.cgi?id=1860548) - Enable the URL Paste Suggestion feature by default in Nightly. * browser.urlbar.switchTabs.searchAllContainers Bug [1882815](https://bugzilla.mozilla.org/show_bug.cgi?id=1882815) - Enable cross-container Tab Search for Release. Bug [1876743](https://bugzilla.mozilla.org/show_bug.cgi?id=1876743) - Enable cross-container Tab Search in Nightly. Bug [1479858](https://bugzilla.mozilla.org/show_bug.cgi?id=1479858) - Added option for UrlBar search open tabs to ignore userContextId.r=mak,dao * devtools.performance.recording.markers.external-url Bug [1884383](https://bugzilla.mozilla.org/show_bug.cgi?id=1884383) - Support including markers from external sources in gecko profiles, * dom.disable_tab_focus_to_root_element Bug [1483828](https://bugzilla.mozilla.org/show_bug.cgi?id=1483828) - [Part 1] Disallow <tab> to move focus to root element * dom.domrequest.enabled Bug [1499547](https://bugzilla.mozilla.org/show_bug.cgi?id=1499547) - Remove DOMRequest Bug [1880615](https://bugzilla.mozilla.org/show_bug.cgi?id=1880615) - Disable DOMRequest * dom.element.popover.enabled Bug [1866993](https://bugzilla.mozilla.org/show_bug.cgi?id=1866993) - Enable popover by default. * dom.events.asyncClipboard.readText Bug Bug [1877400](https://bugzilla.mozilla.org/show_bug.cgi?id=1877400) - Enabled `dom.events.asyncClipboard.readText` by default; * dom.forms.number.hide_spin_buttons_when_no_hover_or_focus Bug [1790700](https://bugzilla.mozilla.org/show_bug.cgi?id=1790700) - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio * dom.indexedDB.connectionIdleMaintenance.pauseOnConnectionThreadMs Bug [1878841](https://bugzilla.mozilla.org/show_bug.cgi?id=1878841) - Add support for pausing IndexedDB connection thread during connection idle maintenance; * dom.media.webcodecs.force-osx-h264-enabled Bug [1846796](https://bugzilla.mozilla.org/show_bug.cgi?id=1846796) - re-enable H.264 decoder on macOS for WebCodecs. * dom.navigation.object_embed.allow_retargeting Bug [1868001](https://bugzilla.mozilla.org/show_bug.cgi?id=1868001) - Part 1: Ignore Content-Disposition if DONT_RETARGET is set, Bug [1868001](https://bugzilla.mozilla.org/show_bug.cgi?id=1868001) - Ignore Content-Disposition if DONT_RETARGET is set, * dom.security.trusted_types.enabled Bug [1882498](https://bugzilla.mozilla.org/show_bug.cgi?id=1882498): add web API stubs for Trusted Types guarded behind a new pref. * extensions.formautofill.addresses.capture.enabled Bug [1875254](https://bugzilla.mozilla.org/show_bug.cgi?id=1875254) - Enable Address Capture for US and CA regions in Release Bug [1875253](https://bugzilla.mozilla.org/show_bug.cgi?id=1875253) - Enable Address Capture for US and CA regions in Nightly Bug [1777492](https://bugzilla.mozilla.org/show_bug.cgi?id=1777492) - Merge geckoview-prefs.js and mobile.js * gfx.canvas.remote.allow-offscreen Bug [1795296](https://bugzilla.mozilla.org/show_bug.cgi?id=1795296) - Enable Direct2D backend with OffscreenCanvas. Bug [1855742](https://bugzilla.mozilla.org/show_bug.cgi?id=1855742) - Part 4. Enable accelerated canvas backend with OffscreenCanvas. Bug [1855742](https://bugzilla.mozilla.org/show_bug.cgi?id=1855742) - Part 3. Allow recording based canvases with OffscreenCanvas. * gfx.offscreencanvas.snapshot-timeout-ms Bug [1855742](https://bugzilla.mozilla.org/show_bug.cgi?id=1855742) - Part 1. Make HTMLCanvasElement toDataURL and toBlob compatible with recordings. * gfx.webrender.overlay-vp-auto-hdr Bug [1882005](https://bugzilla.mozilla.org/show_bug.cgi?id=1882005) - Block VideoProcessor-HDR on SDR content depends on driver version * gfx.webrender.overlay-vp-super-resolution Bug [1883577](https://bugzilla.mozilla.org/show_bug.cgi?id=1883577) - Add error handling to Super Resolution setting * gfx.webrender.super-resolution.nvidia Bug [1883577](https://bugzilla.mozilla.org/show_bug.cgi?id=1883577) - Add error handling to Super Resolution setting * javascript.options.mem.nursery_eager_collection_threshold_kb Bug [1881303](https://bugzilla.mozilla.org/show_bug.cgi?id=1881303) - Part 2: Expose eager nursery collection tunables as prefs * javascript.options.mem.nursery_eager_collection_threshold_percent Bug [1881303](https://bugzilla.mozilla.org/show_bug.cgi?id=1881303) - Part 2: Expose eager nursery collection tunables as prefs * javascript.options.mem.nursery_eager_collection_timeout_ms Bug [1881303](https://bugzilla.mozilla.org/show_bug.cgi?id=1881303) - Part 2: Expose eager nursery collection tunables as prefs * javascript.options.wasm_exceptions Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Remove exceptions feature flag. * javascript.options.wasm_extended_const Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Remove extended-const feature flag. Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * javascript.options.wasm_function_references Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Merge function references flag into GC flag. * javascript.options.wasm_js_string_builtins Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * javascript.options.wasm_memory64 Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * javascript.options.wasm_multi_memory Bug [1860816](https://bugzilla.mozilla.org/show_bug.cgi?id=1860816): Ship wasm multi-memory. Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * javascript.options.wasm_relaxed_simd Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * javascript.options.wasm_test_serialization Bug [1879179](https://bugzilla.mozilla.org/show_bug.cgi?id=1879179) - wasm: Use JSPrefs for WasmFeatures.h. * layout.css.align-content.blocks.enabled Bug [1882853](https://bugzilla.mozilla.org/show_bug.cgi?id=1882853) - Enable align-content on blocks by default. Bug [1684236](https://bugzilla.mozilla.org/show_bug.cgi?id=1684236) - Implement 'align-content' on block containers. * layout.css.content-visibility.enabled Bug [1880928](https://bugzilla.mozilla.org/show_bug.cgi?id=1880928) - Disable content-visibility. Bug [1874874](https://bugzilla.mozilla.org/show_bug.cgi?id=1874874) - Enable content-visibility by default. * layout.css.h1-in-section-ua-styles.enabled Bug [1883896](https://bugzilla.mozilla.org/show_bug.cgi?id=1883896) - Remove UA styles for h1 in article/aside/nav/section (Nightly only). * layout.css.math-depth.enabled Bug [1882144](https://bugzilla.mozilla.org/show_bug.cgi?id=1882144) - Remove layout.css.math-style.enabled and layout.css.math-depth.enabled prefs. * layout.css.math-style.enabled Bug [1882144](https://bugzilla.mozilla.org/show_bug.cgi?id=1882144) - Remove layout.css.math-style.enabled and layout.css.math-depth.enabled prefs. * layout.css.scroll-anchoring.absolute-update Bug [1871760](https://bugzilla.mozilla.org/show_bug.cgi?id=1871760) - Revert bug [1856088](https://bugzilla.mozilla.org/show_bug.cgi?id=1856088). * layout.css.transform-box-content-stroke.enabled Bug [1868374](https://bugzilla.mozilla.org/show_bug.cgi?id=1868374) - Ship transform-box: content-box | stroke-box. * layout.css.transition-behavior.enabled Bug [1805727](https://bugzilla.mozilla.org/show_bug.cgi?id=1805727) - Part 1: Support transition-behavior longhand in style. * media.eme.playready.enabled Bug [1881608](https://bugzilla.mozilla.org/show_bug.cgi?id=1881608) - enable 'media.eme.playready.enabled' on Nightly and Dev Edition. * media.ffvpx.enabled Bug [1878503](https://bugzilla.mozilla.org/show_bug.cgi?id=1878503) - Remove MOZ_FFVPX and the associated pref. * media.peerconnection.description.legacy.enabled Bug [1882399](https://bugzilla.mozilla.org/show_bug.cgi?id=1882399) - Make RTCSessionDescription members readonly in Nightly cycle using pref media.peerconnection.description.legacy.enabled = false. * media.peerconnection.treat_warnings_as_errors Bug [1882399](https://bugzilla.mozilla.org/show_bug.cgi?id=1882399) - Add pref media.peerconnection.treat_warnings_as_errors to catch warnings in mochitests. * media.wmf.media-engine.bypass-gfx-blocklist Bug [1884719](https://bugzilla.mozilla.org/show_bug.cgi?id=1884719) - part3 : add a by-pass pref for testing. * network.cache.purge_minprogress_disk Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Rename network.cache.purgebyfrecency_minprogress_xxx to network.cache.purge_minprogress_xxx and use it for all purge variants. * network.cache.purge_minprogress_memory Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Rename network.cache.purgebyfrecency_minprogress_xxx to network.cache.purge_minprogress_xxx and use it for all purge variants. * network.cache.purgebyfrecency_minprogress_disk Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Rename network.cache.purgebyfrecency_minprogress_xxx to network.cache.purge_minprogress_xxx and use it for all purge variants. Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Raise network.cache.purgebyfrecency_minprogress_memory to 32. Bug [1875859](https://bugzilla.mozilla.org/show_bug.cgi?id=1875859) - Refactor MemoryPool::PurgeExpired and PurgeByFrecency to reduce overhead and protect against races while sorting. * network.cache.purgebyfrecency_minprogress_memory Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Rename network.cache.purgebyfrecency_minprogress_xxx to network.cache.purge_minprogress_xxx and use it for all purge variants. Bug [1879814](https://bugzilla.mozilla.org/show_bug.cgi?id=1879814) - Raise network.cache.purgebyfrecency_minprogress_memory to 32. Bug [1875859](https://bugzilla.mozilla.org/show_bug.cgi?id=1875859) - Refactor MemoryPool::PurgeExpired and PurgeByFrecency to reduce overhead and protect against races while sorting. * network.fetchpriority.adjustments.async-or-defer-script.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.async-or-defer-script.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.async-or-defer-script.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.deferred-style.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.deferred-style.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.deferred-style.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.global-fetch-api.auto Bug [1839319](https://bugzilla.mozilla.org/show_bug.cgi?id=1839319) - Add fetchpriority support for fetch() API. * network.fetchpriority.adjustments.global-fetch-api.high Bug [1839319](https://bugzilla.mozilla.org/show_bug.cgi?id=1839319) - Add fetchpriority support for fetch() API. * network.fetchpriority.adjustments.global-fetch-api.low Bug [1839319](https://bugzilla.mozilla.org/show_bug.cgi?id=1839319) - Add fetchpriority support for fetch() API. * network.fetchpriority.adjustments.images.auto Bug [1872657](https://bugzilla.mozilla.org/show_bug.cgi?id=1872657) - Add fetchpriority support for `<link rel=preload as=image>`. * network.fetchpriority.adjustments.images.high Bug [1872657](https://bugzilla.mozilla.org/show_bug.cgi?id=1872657) - Add fetchpriority support for `<link rel=preload as=image>`. * network.fetchpriority.adjustments.images.low Bug [1872657](https://bugzilla.mozilla.org/show_bug.cgi?id=1872657) - Add fetchpriority support for `<link rel=preload as=image>`. * network.fetchpriority.adjustments.link-preload-fetch.auto Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-fetch.high Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-fetch.low Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-font.auto Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-font.high Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-font.low Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. * network.fetchpriority.adjustments.link-preload-script.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. * network.fetchpriority.adjustments.link-preload-script.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. * network.fetchpriority.adjustments.link-preload-script.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. * network.fetchpriority.adjustments.link-preload-style.auto Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.link-preload-style.high Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.link-preload-style.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.module-script.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.module-script.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.module-script.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.non-deferred-style.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.non-deferred-style.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.non-deferred-style.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of style load. * network.fetchpriority.adjustments.other-script.auto Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.other-script.high Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.other-script.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.script-in-head.auto Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.script-in-head.high Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.fetchpriority.adjustments.script-in-head.low Bug [1880433](https://bugzilla.mozilla.org/show_bug.cgi?id=1880433) - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. Bug [1880528](https://bugzilla.mozilla.org/show_bug.cgi?id=1880528) - Introduce preference for fetch priority adjustment of scripts. * network.jar.max_entry_size Bug [1875000](https://bugzilla.mozilla.org/show_bug.cgi?id=1875000) - Avoid OOM in jar code * network.protocol-handler.external.firefox Bug [1880368](https://bugzilla.mozilla.org/show_bug.cgi?id=1880368) - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols Bug [1873223](https://bugzilla.mozilla.org/show_bug.cgi?id=1873223) - Modified firefox and firefox-private protocol handler behavior * network.protocol-handler.external.firefox-bridge Bug [1880368](https://bugzilla.mozilla.org/show_bug.cgi?id=1880368) - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols * network.protocol-handler.external.firefox-private Bug [1880368](https://bugzilla.mozilla.org/show_bug.cgi?id=1880368) - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols Bug [1873223](https://bugzilla.mozilla.org/show_bug.cgi?id=1873223) - Modified firefox and firefox-private protocol handler behavior * network.protocol-handler.external.firefox-private-bridge Bug [1880368](https://bugzilla.mozilla.org/show_bug.cgi?id=1880368) - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols * network.proxy.system_wpad Bug [621429](https://bugzilla.mozilla.org/show_bug.cgi?id=621429) - Added button to allow WPAD while using system proxy settings. * network.proxy.system_wpad.allowed Bug [621429](https://bugzilla.mozilla.org/show_bug.cgi?id=621429) - Added button to allow WPAD while using system proxy settings. * network.send_OnDataFinished.cssLoader Bug [1864817](https://bugzilla.mozilla.org/show_bug.cgi?id=1864817) - implement OnDataFinished for CSSLoader. * privacy.clearHistory.cache Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearHistory.cookiesAndStorage Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearHistory.historyFormDataAndDownloads Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearHistory.siteSettings Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearSiteData.cache Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearSiteData.cookiesAndStorage Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearSiteData.historyFormDataAndDownloads Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.clearSiteData.siteSettings Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - (part 1) Remember user clearing options in the new clear history dialog. * privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - Migrate prefs for clear history dialog in both clearHistory and clearOnShutdown contexts. * privacy.sanitize.cpd.hasMigratedToNewPrefs Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - Migrate prefs for clear history dialog in both clearHistory and clearOnShutdown contexts. * privacy.sanitize.sanitizeOnShutdown.hasMigratedToNewPrefs Bug [1878111](https://bugzilla.mozilla.org/show_bug.cgi?id=1878111) - Migrate prefs for clear history dialog in both clearHistory and clearOnShutdown contexts. Bug [1876097](https://bugzilla.mozilla.org/show_bug.cgi?id=1876097) - Migrate old prefs to the new prefs for clear on shutdown in the new clear history dialog. * sidebar.companion Bug [1884671](https://bugzilla.mozilla.org/show_bug.cgi?id=1884671) - Add directory and pref for the new sidebar foundational work * startup.homepage_override_nimbus_maxVersion Bug [1868097](https://bugzilla.mozilla.org/show_bug.cgi?id=1868097) - Whats New Page nimbus tooling * startup.homepage_override_url_nimbus Bug [1868097](https://bugzilla.mozilla.org/show_bug.cgi?id=1868097) - Whats New Page nimbus tooling * svg.SVGAElement.text.enabled Bug [1880689](https://bugzilla.mozilla.org/show_bug.cgi?id=1880689) - Remove SVGAElement.prototype.text * toolkit.telemetry.user_characteristics_ping.current_version Bug [1879154](https://bugzilla.mozilla.org/show_bug.cgi?id=1879154): Create the User Hardware Characteristics Ping * toolkit.telemetry.user_characteristics_ping.last_version_sent Bug [1879154](https://bugzilla.mozilla.org/show_bug.cgi?id=1879154): Create the User Hardware Characteristics Ping * toolkit.telemetry.user_characteristics_ping.uuid Bug [1879154](https://bugzilla.mozilla.org/show_bug.cgi?id=1879154): Create the User Hardware Characteristics Ping * ui.tooltip.delay_ms Bug [1881488](https://bugzilla.mozilla.org/show_bug.cgi?id=1881488) - Use a static pref for tooltip delay. * ui.touch_activation.duration_ms Bug [1816471](https://bugzilla.mozilla.org/show_bug.cgi?id=1816471) - Increase the touch activation duration. * widget.gtk.global-menu.enabled Bug [1883184](https://bugzilla.mozilla.org/show_bug.cgi?id=1883184) - Initial pass at unity menubar support * widget.gtk.global-menu.wayland.enabled Bug [1883209](https://bugzilla.mozilla.org/show_bug.cgi?id=1883209) - Disable harder wayland's appmenu support. * widget.gtk.legacy-cursors.enabled Bug [1876366](https://bugzilla.mozilla.org/show_bug.cgi?id=1876366) [Linux] Allow to use legacy cursor if widget.gtk.legacy-cursors.enabled is set * widget.gtk.middle-click-enabled Bug [1439247](https://bugzilla.mozilla.org/show_bug.cgi?id=1439247) [Linux] Allow to disable middle mouse button events by pref * widget.gtk.non-native-titlebar-buttons.enabled Bug [1884452](https://bugzilla.mozilla.org/show_bug.cgi?id=1884452) - Allow users to disable non-native titlebar buttons on Linux.

Thorin-Oakenpants commented 1 month ago

PS: will never touch the migrated prefs, so ignore those

so I have a slight dilemma with all the new sanitizing prefs, There are some issues with them that aren't solved until FF128, certainly not ready for 125. And there is a migration that will happen auto-magically in FF128 (fingers crossed, maybe rolled back to FF127 beta)

I am not 100% sure that everything maps exactly the same to the old prefs .. will cross that bridge when we add them - we will just add them next to each corresponding old pref.

However, the new prefs won't be used until the migration/rollout .. so shouldn't make any difference to end users (I hope being modified doesn't affect).

And this would then allow lots of time for for users to add the overrides. So we should add them. I hate these messy migrations and this one is super messy due to the UI in two places, combining items, and orthogonal shit (history vs site data). And I'm not sure WTF is going on with cpd - there's a migrated pref but that's it

Thorin-Oakenpants commented 1 month ago

OK, so clearSiteDa settings relate to

and clearHistory settings relate to - Settings > Privacy & Security > History > custom settings > Clear history when Nightly closes > Settings

Same as #1837 - or 1895612#c5 - the migration mapping is pretty straight forward - 7 prefs into 4

edit: no wait - that's the sanitize on close settings, not clearHistory - so fucking convoluted at times

Thorin-Oakenpants commented 1 month ago

feel free to review

/** SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS | v2 migration is FF128+ ***/
/* 2811: set/enforce what items to clear on shutdown (if 2810 is true) [SETUP-CHROME]
 * [NOTE] If "history" is true, downloads will also be cleared ***/
user_pref("privacy.clearOnShutdown.cache", true);     // [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.cache", true);  // [FF128+] [DEFAULT: true]
user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.formdata", true);  // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.history", true);   // [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // [FF128+] [DEFAULT: true]
   // user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
   // user_pref("privacy.clearOnShutdown_v2.siteSettings", false); // [FF128+] [DEFAULT: false]
/* 2812: set Session Restore to clear on shutdown (if 2810 is true) [FF34+]
 * [NOTE] Not needed if Session Restore is not used (0102) or it is already cleared with history (2811)
 * [NOTE] If true, this prevents resuming from crashes (also see 5008) ***/
   // user_pref("privacy.clearOnShutdown.openWindows", true);

/** SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ | v2 migration is FF128+ ***/
/* 2815: set "Cookies" and "Site Data" to clear on shutdown (if 2810 is true) [SETUP-CHROME]
 * [NOTE] Exceptions: A "cookie" block permission also controls "offlineApps" (see note below).
 * serviceWorkers require an "Allow" permission. For cross-domain logins, add exceptions for
 * both sites e.g. https://www.youtube.com (site) + https://accounts.google.com (single sign on)
 * [NOTE] "offlineApps": Offline Website Data: localStorage, service worker cache, QuotaManager (IndexedDB, asm-cache)
 * [NOTE] "sessions": Active Logins (has no site exceptions): refers to HTTP Basic Authentication [1], not logins via cookies
 * [WARNING] Be selective with what sites you "Allow", as they also disable partitioning (1767271)
 * [SETTING] to add site exceptions: Ctrl+I>Permissions>Cookies>Allow (when on the website in question)
 * [SETTING] to manage site exceptions: Options>Privacy & Security>Permissions>Settings
 * [1] https://en.wikipedia.org/wiki/Basic_access_authentication ***/
user_pref("privacy.clearOnShutdown.cookies", true); // Cookies
user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
user_pref("privacy.clearOnShutdown.sessions", true);  // Active Logins [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true) // Cookies, Site Data, Active Logins [FF128+]

/** SANITIZE SITE DATA: IGNORES "ALLOW" SITE EXCEPTIONS ***/
/* 2820: set manual "Clear Data" items [SETUP-CHROME] [FF128+]
 * Firefox remembers your last choices. This will reset them when you start Firefox
 * [SETTING] Privacy & Security>Browser Privacy>Cookies and Site Data>Clear Data ***/
user_pref("privacy.clearSiteData.cache", true);
user_pref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it respects "allow" site exceptions
user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
   // user_pref("privacy.clearSiteData.siteSettings", false);

/** SANITIZE HISTORY: IGNORES "ALLOW" SITE EXCEPTIONS | clearHistory migration is FF128+ ***/
/* 2830: set manual "Clear History" items, also via Ctrl-Shift-Del [SETUP-CHROME]
 * Firefox remembers your last choices. This will reset them when you start Firefox
 * [NOTE] Regardless of what you set "downloads" to, as soon as the dialog
 * for "Clear Recent History" is opened, it is synced to the same as "history"
 * [SETTING] Privacy & Security>History>Custom Settings>Clear History ***/
user_pref("privacy.cpd.cache", true);    // [DEFAULT: true]
user_pref("privacy.clearHistory.cache", true);
user_pref("privacy.cpd.formdata", true); // [DEFAULT: true]
user_pref("privacy.cpd.history", true);  // [DEFAULT: true]
   // user_pref("privacy.cpd.downloads", true); // not used, see note above
user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
user_pref("privacy.cpd.cookies", false);
user_pref("privacy.cpd.sessions", true); // [DEFAULT: true]
user_pref("privacy.cpd.offlineApps", false); // [DEFAULT: false]
user_pref("privacy.clearHistory.cookiesAndStorage", false);
   // user_pref("privacy.cpd.openWindows", false); // Session Restore
   // user_pref("privacy.cpd.passwords", false);
   // user_pref("privacy.cpd.siteSettings", false);
   // user_pref("privacy.clearHistory.siteSettings", false);

/** SANITIZE MANUAL: TIMERANGE ***/
/* 2840: set "Time range to clear" for "Clear Data" (2820) and "Clear History" (2830)
 * Firefox remembers your last choice. This will reset the value when you start Firefox
 * 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today
 * [NOTE] Values 5 (last 5 minutes) and 6 (last 24 hours) are not listed in the dropdown,
 * which will display a blank value, and are not guaranteed to work ***/
user_pref("privacy.sanitize.timeSpan", 0);
Thorin-Oakenpants commented 4 weeks ago

anyone else besides myself want to review the new sanitizing section?

Thorin-Oakenpants commented 4 weeks ago
user_pref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it ...

FYI: I tested this in 128 a couple of days ago so I hope they get a wriggle on soon to make sanitizing everywhere respect allow settings