Bug 163402 - [Mac] Allow throttling of background tabs that have media elements with no audible audio
Summary: [Mac] Allow throttling of background tabs that have media elements with no au...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-13 14:20 PDT by Chris Dumez
Modified: 2016-10-14 07:58 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.59 KB, patch)
2016-10-13 15:04 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.58 KB, patch)
2016-10-13 15:12 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 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.