Ignore non permissible urls when hiding as we can't open them which causes issues. Fixes #793
This commit is contained in:
@@ -41,6 +41,9 @@ const identityState = {
|
||||
const tabsByContainer = await browser.tabs.query({cookieStoreId, windowId});
|
||||
tabsByContainer.forEach((tab) => {
|
||||
const tabObject = this._createTabObject(tab);
|
||||
if (!backgroundLogic.isPermissibleURL(tab.url)) {
|
||||
return;
|
||||
}
|
||||
// This tab is going to be closed. Let's mark this tabObject as
|
||||
// non-active.
|
||||
tabObject.active = false;
|
||||
|
||||
Reference in New Issue
Block a user