Bug 169883 - Suspend silent video playback in background tabs
Summary: Suspend silent video playback in background tabs
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media Elements (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Keywords: InRadar
Depends on:
Reported: 2017-03-20 11:56 PDT by Chris Dumez
Modified: 2017-03-20 19:06 PDT (History)
6 users (show)

See Also:

WIP patch (1.38 KB, patch)
2017-03-20 12:08 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (7.39 KB, patch)
2017-03-20 14:52 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-03-20 11:56:17 PDT
Suspend media playback in background tabs unless there is a reason not to (e.g. airplay) to save power.
Comment 1 Chris Dumez 2017-03-20 11:56:39 PDT
Comment 2 Chris Dumez 2017-03-20 12:08:34 PDT
Created attachment 304939 [details]
WIP patch
Comment 3 WebKit Commit Bot 2017-03-20 12:10:47 PDT
Attachment 304939 [details] did not pass style-queue:

ERROR: Source/WebCore/html/HTMLMediaElement.cpp:5338:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 1 in 1 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Chris Dumez 2017-03-20 14:52:24 PDT
Created attachment 304951 [details]
Comment 5 Chris Dumez 2017-03-20 16:47:39 PDT
Comment on attachment 304951 [details]

Clearing flags on attachment: 304951

Committed r214195: <http://trac.webkit.org/changeset/214195>
Comment 6 Chris Dumez 2017-03-20 16:47:43 PDT
All reviewed patches have been landed.  Closing bug.