Bug 154940

Summary: PageThrottler should apply hysteresis to media activity
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: WebKit WebsiteAssignee: Gavin Barraclough <barraclough>
Status: RESOLVED FIXED    
Severity: Normal CC: jond, manian, timothy, webkit-bug-importer
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix rniwa: review+

Description Gavin Barraclough 2016-03-02 16:57:34 PST
Currently PageThrottler keeps a track of audible plugin activity and HTML media element activity separately. Audible plugin activity also gets an extra 5s hysteresis applied, so that after audio playback has completed there is a chance to queue up more audio before timer throttling kicks in. HTML audio does not get this grace. Funnel both together into a single activity flag, such that the hysteresis is applied to both.
Comment 1 Gavin Barraclough 2016-03-02 17:02:18 PST
Created attachment 272705 [details]
Fix
Comment 2 Gavin Barraclough 2016-03-02 17:19:49 PST
Transmitting file data ...
Committed revision 197480.