Indicate to clients whether there are active media elements in a media session.
<rdar://problem/21734470>
Created attachment 256412 [details] Patch
Comment on attachment 256412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256412&action=review > Source/WebKit2/UIProcess/API/C/WKPage.cpp:2156 > +bool WKPageHasActiveMediaElements(WKPageRef page) Seems pretty bizarre that something called this would return false if you have a <video> on the page (but have MEDIA_SESSION off)...
(In reply to comment #3) > Comment on attachment 256412 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=256412&action=review > > > Source/WebKit2/UIProcess/API/C/WKPage.cpp:2156 > > +bool WKPageHasActiveMediaElements(WKPageRef page) > > Seems pretty bizarre that something called this would return false if you > have a <video> on the page (but have MEDIA_SESSION off)... I'll rename it to WKPageHasMediaSessionWithActiveMediaElements.
Created attachment 256421 [details] Patch
Committed r186538: <http://trac.webkit.org/changeset/186538>