0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

Merge branch 'fix-fuzz' into 'main'

fix fuzz in all patches

Closes #89

See merge request librewolf-community/browser/source!49
This commit is contained in:
stanzabird 2022-12-05 08:49:26 +00:00
commit fae5442e21
2 changed files with 7 additions and 7 deletions

View file

@ -27,9 +27,9 @@ diff --git a/browser/components/moz.build b/browser/components/moz.build
index 71a1b85..ed3b6d1 100644
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -42,7 +42,6 @@ DIRS += [
@@ -44,7 +44,6 @@
"originattributes",
"ion",
"pagedata",
"places",
- "pocket",
"preferences",

View file

@ -1,22 +1,22 @@
--- a/browser/components/preferences/main.js
+++ b/browser/components/preferences/main.js
@@ -3737,6 +3737,7 @@ const AppearanceChooser = {
@@ -3713,6 +3713,7 @@
FORCED_COLORS_QUERY.addEventListener("change", this);
SYSTEM_DARK_MODE_QUERY.addEventListener("change", this);
Services.prefs.addObserver(PREF_USE_SYSTEM_COLORS, this);
+ Services.prefs.addObserver("privacy.resistFingerprinting", this);
Services.obs.addObserver(this, "look-and-feel-changed");
this._update();
},
@@ -3756,6 +3757,7 @@ const AppearanceChooser = {
@@ -3732,6 +3733,7 @@
destroy() {
Services.prefs.removeObserver(PREF_USE_SYSTEM_COLORS, this);
+ Services.prefs.removeObserver("privacy.resistFingerprinting", this);
Services.obs.removeObserver(this, "look-and-feel-changed");
FORCED_COLORS_QUERY.removeEventListener("change", this);
SYSTEM_DARK_MODE_QUERY.removeEventListener("change", this);
@@ -3798,5 +3800,33 @@ const AppearanceChooser = {
},
@@ -3771,5 +3773,33 @@
(AppConstants.platform == "win" ||
!Services.prefs.getBoolPref(PREF_USE_SYSTEM_COLORS));
this.warning.hidden = !forcingColorsAndNoColorSchemeSupport;