WebExtensions/TabHiding: Difference between revisions

→‎Random Notes: Fix external links
(→‎Random Notes: Fix external links)
 
Line 146: Line 146:


* If a developer passes through a tab that can’t be hidden, it should throw a message and continue with the rest of the tabs.
* If a developer passes through a tab that can’t be hidden, it should throw a message and continue with the rest of the tabs.
* The tabs API is async and so the question of what happens if an extension fires too many requests is similar to any API in tabs ([[https://bugzilla.mozilla.org/show_bug.cgi?id=1384515#c27|comment 27]]).
* The tabs API is async and so the question of what happens if an extension fires too many requests is similar to any API in tabs ([https://bugzilla.mozilla.org/show_bug.cgi?id=1384515#c27 comment 27]).


Kevin has implemented tab.discard in {{Bugzilla|1322485}} which will allow suspending tabs independent of hiding. That will allow tabs to be suspended and I believe, with the UI notification, we’ll be able to separate suspending out of this argument, which mostly came up in [[https://bugzilla.mozilla.org/show_bug.cgi?id=1384515#c24|comment 24]].
Kevin has implemented tab.discard in {{Bugzilla|1322485}} which will allow suspending tabs independent of hiding. That will allow tabs to be suspended and I believe, with the UI notification, we’ll be able to separate suspending out of this argument, which mostly came up in [https://bugzilla.mozilla.org/show_bug.cgi?id=1384515#c24 comment 24].


Chrome doesn't do this and I’ve not see any indication it plans on doing it.
Chrome doesn't do this and I’ve not see any indication it plans on doing it.


Allows you to shelve tabs off to the side. Let’s reach out to Microsoft see if they plan on making an API for this. Shelving a tab appears to suspend it. Audio/video stops and unshelving it starts a YouTube video from the beginning again. These tabs persist outside of the window. They can be unshelved into a different window and after closing and reopening Edge they are still shelved. Here's a [[https://www.dropbox.com/s/xoge4u3beceixx0/Microsoft%20Edge%202017-10-13%2010_33_19%20AM.mp4?dl=0video of it]].
Allows you to shelve tabs off to the side. Let’s reach out to Microsoft see if they plan on making an API for this. Shelving a tab appears to suspend it. Audio/video stops and unshelving it starts a YouTube video from the beginning again. These tabs persist outside of the window. They can be unshelved into a different window and after closing and reopening Edge they are still shelved. Here's a [https://www.dropbox.com/s/xoge4u3beceixx0/Microsoft%20Edge%202017-10-13%2010_33_19%20AM.mp4?dl=0 video of it].
8

edits