MAC leaves behind tabs which are discarded-on-creation, but are reopened in a container #2619
Open
2 tasks done
Labels
bug
Something is broken!
Before submitting a bug report
Step to reproduce
await browser.tabs.create({url: 'https://example.com/', discarded: true})
Actual behavior
MAC will notice the tab, and immediately create a new container tab which loads the URL immediately (as expected). However, the tab created in step (2) that is not in a container sometimes—but not always—is left open. That is to say, MAC does not clean up/close this tab, so there are two tabs pointing at the same URL—one in a container, and one not in a container.
The tab not in a container is never actually loaded, however—it's just a blank page. (So this does not appear to be a security issue as such.)
Expected behavior
I expected MAC to close the tab created in step (2) once the new container tab was created.
Additional informations
Some browser extensions will create tabs that are discarded—for example, Tab Stash does this to avoid triggering the loading of too many tabs at once (which may cause performance problems).
This bug causes some bad effects that are noticed by Tab Stash users, for example: josh-berry/tab-stash#425
Provide a copy of Troubleshooting Information page (optional)
No response
The text was updated successfully, but these errors were encountered: