Media controls are displayed in the incorrect state momentarily after switching between tabs playing media
Created attachment 290287 [details] Patch
<rdar://problem/28533523>
Created attachment 290466 [details] Patch
Created attachment 290561 [details] Set Now Playing visibility after setting up info dictionary.
Comment on attachment 290561 [details] Set Now Playing visibility after setting up info dictionary. View in context: https://bugs.webkit.org/attachment.cgi?id=290561&action=review > Source/WebCore/platform/audio/mac/MediaSessionManagerMac.mm:205 > #endif > + > + if (canLoad_MediaRemote_MRMediaRemoteSetNowPlayingVisibility()) > + MRMediaRemoteSetNowPlayingVisibility(MRMediaRemoteGetLocalOrigin(), MRNowPlayingClientVisibilityAlwaysVisible); I think you need this just on the other side of the #endif. r=me with that fix.
Comment on attachment 290561 [details] Set Now Playing visibility after setting up info dictionary. View in context: https://bugs.webkit.org/attachment.cgi?id=290561&action=review >> Source/WebCore/platform/audio/mac/MediaSessionManagerMac.mm:205 >> + MRMediaRemoteSetNowPlayingVisibility(MRMediaRemoteGetLocalOrigin(), MRNowPlayingClientVisibilityAlwaysVisible); > > I think you need this just on the other side of the #endif. r=me with that fix. Ah, that's right -- fixed. Good catch!
Created attachment 290602 [details] Patch for landing
Comment on attachment 290602 [details] Patch for landing Clearing flags on attachment: 290602 Committed r206771: <http://trac.webkit.org/changeset/206771>