Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley

This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
This commit is contained in:
Dave Townsend
2024-11-01 17:08:27 +00:00
parent 60d975e6b2
commit 0085ce80d2
20 changed files with 293 additions and 329 deletions

View File

@@ -1957,10 +1957,7 @@ BrowserGlue.prototype = {
lazy.DoHController.init();
if (
AppConstants.MOZ_SELECTABLE_PROFILES &&
Services.prefs.getBoolPref("browser.profiles.enabled", false)
) {
if (AppConstants.MOZ_SELECTABLE_PROFILES) {
lazy.SelectableProfileService.init().catch(console.error);
}