Bug 163402

Summary: [Mac] Allow throttling of background tabs that have media elements with no audible audio
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, eric.carlson, jer.noble, jonlee
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2016-10-13 14:20:47 PDT
Allow throttling of background tabs that have media elements with no audible audio. We currently take an media assertion from the PageThrottler as soon as there is a media element playing on the page. This prevents throttling of background tabs even if those media elements have no audible audio, which is unfortunate.
Comment 1 Chris Dumez 2016-10-13 14:20:57 PDT
<rdar://problem/28056151>
Comment 2 Chris Dumez 2016-10-13 15:04:05 PDT
Created attachment 291523 [details]
Patch
Comment 3 Chris Dumez 2016-10-13 15:12:39 PDT
Created attachment 291525 [details]
Patch
Comment 4 WebKit Commit Bot 2016-10-14 07:58:43 PDT
Comment on attachment 291525 [details]
Patch

Clearing flags on attachment: 291525

Committed r207338: <http://trac.webkit.org/changeset/207338>
Comment 5 WebKit Commit Bot 2016-10-14 07:58:47 PDT
All reviewed patches have been landed.  Closing bug.