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

safari tabs apis

This commit is contained in:
Kyle Spearrin
2018-01-13 14:56:38 -05:00
parent 97d1e0c98a
commit 698632a1df
3 changed files with 28 additions and 4 deletions

View File

@@ -148,13 +148,13 @@ export default class MainBackground {
// Background
this.runtimeBackground = new RuntimeBackground(this, this.autofillService, this.cipherService,
this.platformUtilsService, this.storageService);
this.tabsBackground = new TabsBackground(this, this.platformUtilsService);
if (!this.isSafari) {
this.commandsBackground = new CommandsBackground(this, this.passwordGenerationService);
this.contextMenusBackground = new ContextMenusBackground(this, this.cipherService,
this.passwordGenerationService);
this.idleBackground = new IdleBackground(this, this.lockService, this.storageService);
this.tabsBackground = new TabsBackground(this);
this.webRequestBackground = new WebRequestBackground(this.platformUtilsService, this.cipherService);
this.windowsBackground = new WindowsBackground(this);
}
@@ -165,11 +165,11 @@ export default class MainBackground {
this.containerService.attachToWindow(window);
await this.runtimeBackground.init();
await this.tabsBackground.init();
if (!this.isSafari) {
await this.commandsBackground.init();
await this.contextMenusBackground.init();
await this.idleBackground.init();
await this.tabsBackground.init();
await this.webRequestBackground.init();
await this.windowsBackground.init();
}