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


Commits:
5494b673 by henry at 2026-02-10T12:39:39+00:00
BB 44520: Disable Experiment API (Firefox Labs).


(cherry picked from commit 7d6331a534130b279c08d10d048f5c6c647a23d1)

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


1 changed file:

- toolkit/components/nimbus/ExperimentAPI.sys.mjs


Changes:

=====================================
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/-/commit/5494b673e351bdff5149e0cdf57d4be9ad432c72

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5494b673e351bdff5149e0cdf57d4be9ad432c72
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