Extension tabs are not closed when an extension is removed
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox57 fix-optional)
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | fix-optional |
People
(Reporter: mstriemer, Unassigned)
References
Details
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Updated•3 years ago
|
Comment 5•2 months ago
|
||
Comment 2 explains the reason, which also includes extension tabs that have been discarded (or equivalently, in the tab strip but not loaded by session restore).
Note: before anyone jumps on this to "fix" this, note that this behavior is sometimes explicitly relied on by extensions to avoid the loss of data when extensions updates.
For example, I mentioned this behavior here, and the extension author stated that they will rely on it until a better solution exists:
- https://github.com/mbnuqw/sidebery/issues/2356#issuecomment-3943698342
- https://github.com/mbnuqw/sidebery/issues/2356#issuecomment-3944854492
A concrete example of my personal experience relating to the desire of keeping extension tabs, but then in Chrome: I have a PDF viewer extension in Chrome that uses an extension page to render a PDF. If the extension were to update, all shown PDFs would be lost, which is why I suppress extension updates if any view is active. I imagine there to be more use cases like this that would benefit from having a first class way of keeping tabs (e.g. newtab/homepage extensions). Maybe discarding extension tabs on update, instead of closing them? That would also help with cases like bug 1742771.
Description
•