Backed out changeset 101063793364 (bug 1894239) for causing mochitests failures in browser_sentence_case_strings.js. CLOSED TREE

This commit is contained in:
Stanca Serban
2024-11-04 20:39:11 +02:00
parent 3faf1220e7
commit 7bfaea64ba
24 changed files with 332 additions and 303 deletions

View File

@@ -118,13 +118,6 @@ class SelectableProfileServiceClass {
this.#asyncShutdownBlocker = () => this.uninit();
}
get isEnabled() {
return (
Services.prefs.getBoolPref("browser.profiles.enabled", false) &&
!!(this.#storeID || this.#groupToolkitProfile)
);
}
/**
* For use in testing only, override the profile service with a mock version
* and reset state accordingly.
@@ -265,10 +258,6 @@ class SelectableProfileServiceClass {
);
}
if (!this.isEnabled) {
return;
}
// If the storeID doesn't exist, we don't want to create the db until we
// need to so we early return.
if (!this.storeID) {