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+

Gavin Barraclough
Reported 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.
Attachments
Fix (5.17 KB, patch)
2016-03-02 17:02 PST, Gavin Barraclough
rniwa: review+
Gavin Barraclough
Comment 1 2016-03-02 17:02:18 PST
Gavin Barraclough
Comment 2 2016-03-02 17:19:49 PST
Transmitting file data ... Committed revision 197480.
Note You need to log in before you can comment on or make changes to this bug.