pause background tabs on desktop |
|||||||
Issue descriptionIssue 639852 tracks throttling background tabs on desktop. But on mobile, we (mostly) completely pause background tabs after 5 minutes. We'd like to do the same on desktop, but that involves adding some new APIs to the web so that existing use cases can keep working. Of course, if the tab is making sound, then we can't pause it. Some obvious cases we know about today that we'd need APIs for: -Ability to update tab title and favicon from a ServiceWorker -Silent push notifications (I think fizz is already working on this?) -Ability to make sound from a ServiceWorker (e.g. when receiving a chat). -...? We have some UMA data and lots of anecdotal data showing that this is a very big power and perf win. Issue 639852 will get some of that win without the need for new APIs, but our hands will be tied in terms of how aggressive we can be.
,
Jan 10 2017
(Added ServiceWorker folks FYI)
,
Jan 10 2017
In terms of use cases, Issue 676036 is related.
,
Jan 20 2017
FYI, I'm working on a proposal to pause (or heavily throttle) background tabs, but to give developer opt-out. That way we can get the benefit for 90+% of content now and drive down rest over time by given them the APIs they need. I think we'd still plan to eventually get rid of the opt-out entirely, but it will likely be a 2-4 year effort (assuming we start working on the replacement APIs now).
,
Apr 17 2017
Please consider throttling--but not shutting off--tabs which have been permitted to display notifications. Then the app can use a range of techniques (to wit, long polling), many of which are highly desirable or even mandatory on private or heavily firewalled networks. The user's more or less blessing a background aspect to the page, and users don't seem to grant notifications to random pages.
,
Apr 18 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 5 2018
,
Aug 16
,
Sep 12
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by owe...@chromium.org
, Jan 10 2017