henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / 
Applications / Mullvad Browser


Commits:
1d13a4e1 by henry at 2026-02-10T12:41:58+00:00
fixup! Firefox preference overrides.

TB 44520: Disable Normandy rollout.

This preference is added in Firefox 149 from bugzilla bug 2003350.


(cherry picked from commit 2cccadc118b01d07ba00109b5ac082698d141332)

Co-authored-by: Henry Wilkes <[email protected]>
- - - - -
9f50bb71 by henry at 2026-02-10T12:41:59+00:00
BB 44520: Disable Experiment API (Firefox Labs).


(cherry picked from commit 7d6331a534130b279c08d10d048f5c6c647a23d1)

Co-authored-by: Henry Wilkes <[email protected]>
- - - - -


2 changed files:

- browser/app/profile/001-base-profile.js
- toolkit/components/nimbus/ExperimentAPI.sys.mjs


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -417,6 +417,9 @@ pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
 pref("messaging-system.rsexperimentloader.enabled", false);
 // true means that you are *not* opting out. See its usage in various file.
 pref("app.shield.optoutstudies.enabled", false);
+// Disable nimbus rollouts.
+// See bugzilla bug 2003350. See tor-browser#44520.
+pref("nimbus.rollouts.enabled", false);
 // Disable Normandy/Shield
 pref("app.normandy.enabled", false);
 pref("app.normandy.api_url", "");


=====================================
toolkit/components/nimbus/ExperimentAPI.sys.mjs
=====================================
@@ -396,10 +396,19 @@ export const ExperimentAPI = new (class {
   }
 
   get enabled() {
+    if (AppConstants.BASE_BROWSER_VERSION) {
+      // Do not allow ExperimentsAPI (which covers either "labs", "studies" or
+      // "rollouts") in Base Browser.
+      return false;
+    }
     return this.studiesEnabled || this.labsEnabled;
   }
 
   get labsEnabled() {
+    if (AppConstants.BASE_BROWSER_VERSION) {
+      // Do not allow "Firefox Labs" in Base Browser.
+      return false;
+    }
     return Services.policies.isAllowed("FirefoxLabs");
   }
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f410b03497b8f5d6b8f8f74b4314e95f909f6989...9f50bb71754f1a9f5a2cee3242af625160f53a9f

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f410b03497b8f5d6b8f8f74b4314e95f909f6989...9f50bb71754f1a9f5a2cee3242af625160f53a9f
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to