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
1 changed file:
Changes:
| ... | ... | @@ -396,10 +396,19 @@ export const ExperimentAPI = new (class { |
| 396 | 396 | }
|
| 397 | 397 | |
| 398 | 398 | get enabled() {
|
| 399 | + if (AppConstants.BASE_BROWSER_VERSION) {
|
|
| 400 | + // Do not allow ExperimentsAPI (which covers either "labs", "studies" or
|
|
| 401 | + // "rollouts") in Base Browser.
|
|
| 402 | + return false;
|
|
| 403 | + }
|
|
| 399 | 404 | return this.studiesEnabled || this.labsEnabled;
|
| 400 | 405 | }
|
| 401 | 406 | |
| 402 | 407 | get labsEnabled() {
|
| 408 | + if (AppConstants.BASE_BROWSER_VERSION) {
|
|
| 409 | + // Do not allow "Firefox Labs" in Base Browser.
|
|
| 410 | + return false;
|
|
| 411 | + }
|
|
| 403 | 412 | return Services.policies.isAllowed("FirefoxLabs");
|
| 404 | 413 | }
|
| 405 | 414 |