New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 679583 link

Starred by 4 users

Issue metadata

Status: Duplicate
Owner: ----
Closed: Sep 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome , Mac
Pri: 2
Type: Feature



Sign in to add a comment

pause background tabs on desktop

Project Member Reported by ojan@chromium.org, Jan 10 2017

Issue description

 Issue 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.
 

Comment 1 by owe...@chromium.org, Jan 10 2017

Owner: peter@chromium.org
Peter and I discussed these requirements last week in London and believe this would likely be a good project for the London team.

I understand he is planning on putting together a document proposing the pieces we believe we would need there for the purposes of sharing with Mozilla, Edge etc to start building consensus, so assigning to Peter.
Cc: falken@chromium.org nhiroki@chromium.org
(Added ServiceWorker folks FYI)

Comment 3 by falken@chromium.org, Jan 10 2017

In terms of use cases,   Issue 676036  is related.

Comment 4 by ojan@chromium.org, Jan 20 2017

Components: Programs>Alignment
Labels: -Backlog-Alignment
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).

Comment 5 by vandy...@gmail.com, 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.
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 18 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Components: Blink>PageLifecycle
Labels: -OS-Windows
Owner: ----
Status: Available (was: Untriaged)
Labels: -Type-Bug -Pri-3 Pri-2 Type-Feature
Mergedinto: 844426
Status: Duplicate (was: Available)

Sign in to add a comment