1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

finish autofill from view, other misc cleanup (#1368)

* finish autofill from view, other misc cleanup

* compare hostnames for authResult
This commit is contained in:
Kyle Spearrin
2020-08-24 10:17:15 -04:00
committed by GitHub
parent d4d5ccc4a4
commit b7c2c76230
12 changed files with 150 additions and 140 deletions

View File

@@ -14,6 +14,8 @@ export default class TabsBackground {
this.tabs.onActivated.addListener(async (activeInfo: any) => {
await this.main.refreshBadgeAndMenu();
this.main.messagingService.send('tabActivated');
this.main.messagingService.send('tabChanged');
});
this.tabs.onReplaced.addListener(async (addedTabId: any, removedTabId: any) => {
@@ -23,6 +25,8 @@ export default class TabsBackground {
this.main.onReplacedRan = true;
await this.main.checkNotificationQueue();
await this.main.refreshBadgeAndMenu();
this.main.messagingService.send('tabReplaced');
this.main.messagingService.send('tabChanged');
});
this.tabs.onUpdated.addListener(async (tabId: any, changeInfo: any, tab: any) => {
@@ -32,6 +36,8 @@ export default class TabsBackground {
this.main.onUpdatedRan = true;
await this.main.checkNotificationQueue();
await this.main.refreshBadgeAndMenu();
this.main.messagingService.send('tabUpdated');
this.main.messagingService.send('tabChanged');
});
}
}