Closed Bug 1366759 Opened 8 years ago Closed 8 years ago

Consider API to hide tabs

Categories

(WebExtensions :: General, enhancement)

54 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1357214

People

(Reporter: jkt, Unassigned)

References

(Depends on 1 open bug)

Details

Consider adding Tab.hidden=bool and browser.tabs.update({hidden: bool}). For snooze tabs and containers we have implemented the ability to hide a tab. This should be removed from memory but also keep page state like form filling and page position etc. Implementing this manually with no issues including performance is near impossible. Chrome has the property tabs.update({discarded: true}) however that still remains in the tab strip. To implement hiding away tabs for a tab extension this would be great but I would prefer to be able to hide them in the top strip also. Hiding the tabs would also make a neater tab order for things like Sea containers: https://github.com/jonathanKingston/sea-containers/issues/14 In Bug 1333837 comment 17 it was suggested to breakout the bugs again.
Depends on: 1333837
No longer depends on: 1322485
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
:kmag, hiding the tabstrip doesn't solve the containers and snooze tabs case. Implementing resuming tabs isn't really possible from an extensions view point granted a "Good enough" solution might be implementable but without impacting perf or losing data is much harder. Bug 1333837 also hinted that this was desired.
I'm well aware of this, but nonetheless, that is the bug that's been designated for this use case.
ok no worries, just wanted to highlight. Thanks for reviewing.
WM: Hiding the tab strip isn't related to hiding tabs themselves. This involves having a hidden state for the tab where as the other is more just showing the tabs in a different way.
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.