| Summary: | Media Session: indicate to clients whether a media session has active media elements | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | conrad_shultz, eric.carlson, jer.noble, mrajca, thorton, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 145411 | ||||||||
| Attachments: |
|
||||||||
|
Description
Matt Rajca
2015-07-08 15:41:05 PDT
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> |