Add a tab observer to show hidden tabs as there are many tab creation routes. Uses a queue to prevent multiple triggers. Fixes #765
This commit is contained in:
@@ -52,12 +52,6 @@ const backgroundLogic = {
|
||||
},
|
||||
|
||||
async openTab(options) {
|
||||
const userContextId = ("userContextId" in options) ? options.userContextId : 0;
|
||||
const cookieStoreId = backgroundLogic.cookieStoreId(userContextId);
|
||||
// Unhide all hidden tabs
|
||||
this.showTabs({
|
||||
cookieStoreId
|
||||
});
|
||||
return this.openNewTab(options);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user