1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

[BEEEP] Firefox Private Mode (#2294)

* Create background in popup if private mode, remove gates

* Add messaging support to runtime in private mode

* Fix messaging services and general bootstrap logic

* Add private mode warning, remove old component

* Deprecate launchGuardService

* Require in memory account for user to be considered authenticated

* Don't change icon for private mode windows

* Set all icons from background page
This commit is contained in:
Thomas Rittson
2022-02-16 08:06:35 +10:00
committed by GitHub
parent 7371ee344e
commit 06ba30fc6b
20 changed files with 192 additions and 135 deletions

View File

@@ -0,0 +1,16 @@
import { Component, OnInit } from "@angular/core";
import { PopupUtilsService } from "../services/popup-utils.service";
@Component({
selector: "app-private-mode-warning",
templateUrl: "private-mode-warning.component.html",
})
export class PrivateModeWarningComponent implements OnInit {
showWarning = false;
constructor(private popupUtilsService: PopupUtilsService) {}
ngOnInit() {
this.showWarning = this.popupUtilsService.inPrivateMode();
}
}