Fix breaking containers when adding tab with local file
See https://github.com/mozilla/multi-account-containers/issues/1717 for a description of the underlying issue: > Hide/Show tabs in this container actually closes and reopens tabs > instead of hiding/showing, meaning it cannot reopen (show) privileged > tabs (file, chrome, about, etc.) This commit fixes #918 and #1817
This commit is contained in:
parent
f0afc0da36
commit
98657e444e
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ const backgroundLogic = {
|
|||
// We can't open these we just have to throw them away
|
||||
if (protocol === "about:"
|
||||
|| protocol === "chrome:"
|
||||
|| protocol === "moz-extension:") {
|
||||
|| protocol === "moz-extension:"
|
||||
|| protocol === "file:") {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue