Bug 169883

Summary: Suspend silent video playback in background tabs
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: MediaAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, eric.carlson, jer.noble, jonlee, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP patch
none
Patch none

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
<rdar://problem/28056151>
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]
Patch
Comment 5 Chris Dumez 2017-03-20 16:47:39 PDT
Comment on attachment 304951 [details]
Patch

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.