trim some prefs we don't need anymore

This commit is contained in:
fxbrit 2022-12-02 17:07:27 +01:00
parent c5f0ea92ef
commit b3ec6d2ec3
2 changed files with 20 additions and 4 deletions

View file

@ -5,6 +5,25 @@ Setting versions are documented using the pref `librewolf.cfg.version`, availabl
**target commit**: **target commit**:
**base librewolf version**: 107.x
**References**:
- mixed content is already covered by HTTPS-only-mode;
- [dom.disable_beforeunload is no longer necessary](https://github.com/arkenfox/user.js/issues/1575);
#### Removed preferences
```
defaultPref("security.mixed_content.block_display_content", true); // block insecure passive content
defaultPref("dom.disable_beforeunload", true);
defaultPref("dom.disable_open_during_load", true); // default
```
# 7.2
**target commit**:
**base librewolf version**: 106.x **base librewolf version**: 106.x
**References**: **References**:

View file

@ -6,7 +6,7 @@
* *
* WARNING: make sure the first line of this file is empty. this is a known bug. * WARNING: make sure the first line of this file is empty. this is a known bug.
*/ */
lockPref("librewolf.cfg.version", "7.2"); lockPref("librewolf.cfg.version", "7.3");
/** INDEX /** INDEX
@ -92,7 +92,6 @@ defaultPref("librewolf.uBO.assetsBootstrapLocation", "https://gitlab.com/librewo
/** [SECTION] HTTPS */ /** [SECTION] HTTPS */
defaultPref("dom.security.https_only_mode", true); // only allow https in all windows, including private browsing defaultPref("dom.security.https_only_mode", true); // only allow https in all windows, including private browsing
defaultPref("network.auth.subresource-http-auth-allow", 1); // block HTTP authentication credential dialogs defaultPref("network.auth.subresource-http-auth-allow", 1); // block HTTP authentication credential dialogs
defaultPref("security.mixed_content.block_display_content", true); // block insecure passive content
/** [SECTION] REFERERS /** [SECTION] REFERERS
* to enhance privacy but keep a certain level of usability we trim cross-origin * to enhance privacy but keep a certain level of usability we trim cross-origin
@ -292,8 +291,6 @@ defaultPref("media.autoplay.default", 5);
/** [SECTION] POP-UPS AND WINDOWS /** [SECTION] POP-UPS AND WINDOWS
* disable annoyin pop-ups and limit events that can trigger them. * disable annoyin pop-ups and limit events that can trigger them.
*/ */
defaultPref("dom.disable_beforeunload", true); // disable "confirm you want to leave" pop-ups
defaultPref("dom.disable_open_during_load", true); // block pop-ups windows
defaultPref("dom.popup_allowed_events", "click dblclick mousedown pointerdown"); defaultPref("dom.popup_allowed_events", "click dblclick mousedown pointerdown");
/** /**
* prevent scripts from resizing existing windows and opening new ones, by forcing them into * prevent scripts from resizing existing windows and opening new ones, by forcing them into