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


Commits:
2cccadc1 by Henry Wilkes at 2026-02-10T11:49:42+00:00
fixup! Firefox preference overrides.

TB 44520: Disable Normandy rollout.

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

- - - - -
7d6331a5 by Henry Wilkes at 2026-02-10T11:49:42+00:00
BB 44520: Disable Experiment API (Firefox Labs).

- - - - -


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/tor-browser/-/compare/7359f9f590521f44ecd08e1919a16557e29d0c7f...7d6331a534130b279c08d10d048f5c6c647a23d1

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/7359f9f590521f44ecd08e1919a16557e29d0c7f...7d6331a534130b279c08d10d048f5c6c647a23d1
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