RESOLVED FIXED 146742
Media Session: indicate to clients whether a media session has active media elements
https://bugs.webkit.org/show_bug.cgi?id=146742
Summary Media Session: indicate to clients whether a media session has active media e...
Matt Rajca
Reported 2015-07-08 15:41:05 PDT
Indicate to clients whether there are active media elements in a media session.
Attachments
Patch (6.38 KB, patch)
2015-07-08 15:46 PDT, Matt Rajca
no flags
Patch (7.22 KB, patch)
2015-07-08 16:34 PDT, Matt Rajca
thorton: review+
Radar WebKit Bug Importer
Comment 1 2015-07-08 15:42:11 PDT
Matt Rajca
Comment 2 2015-07-08 15:46:05 PDT
Tim Horton
Comment 3 2015-07-08 16:09:30 PDT
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)...
Matt Rajca
Comment 4 2015-07-08 16:13:28 PDT
(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.
Matt Rajca
Comment 5 2015-07-08 16:34:55 PDT
Matt Rajca
Comment 6 2015-07-08 16:47:31 PDT
Note You need to log in before you can comment on or make changes to this bug.