[PM-7660] Master Password Re-Prompt from Autofill Not Working (#8862)

This commit is contained in:
Cesar Gonzalez 2024-04-22 12:58:20 -05:00 committed by GitHub
parent fb211c5fee
commit 29d4f1aad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 14 deletions

View File

@ -1105,7 +1105,10 @@ export default class MainBackground {
await (this.eventUploadService as EventUploadService).init(true);
this.twoFactorService.init();
if (!this.popupOnlyContext) {
if (this.popupOnlyContext) {
return;
}
await this.vaultTimeoutService.init(true);
this.fido2Background.init();
await this.runtimeBackground.init();
@ -1119,7 +1122,6 @@ export default class MainBackground {
if (BrowserApi.isManifestVersion(2)) {
await this.webRequestBackground.init();
}
}
if (this.platformUtilsService.isFirefox() && !this.isPrivateMode) {
// Set Private Mode windows to the default icon - they do not share state with the background page