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:
@@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user