Bug 145222

Summary: [Mac] inform media session of all state changes
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch. none

Eric Carlson
Reported 2015-05-20 13:37:08 PDT
HTMLMediaSession::mediaStateDidChange isn't always called when state changes, so check for changes when a 'webkitplaybacktargetavailabilitychanged' listener is added or removed, and when the media engine changes.
Attachments
Proposed patch. (2.59 KB, patch)
2015-05-20 14:20 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2015-05-20 13:47:34 PDT
Eric Carlson
Comment 2 2015-05-20 14:20:30 PDT
Created attachment 253462 [details] Proposed patch.
Eric Carlson
Comment 3 2015-05-20 14:54:10 PDT
Note You need to log in before you can comment on or make changes to this bug.