Bug 146745 - Media Session: report to chrome client 'hasActiveMediaElements' changes
Summary: Media Session: report to chrome client 'hasActiveMediaElements' changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 145411
  Show dependency treegraph
 
Reported: 2015-07-08 16:00 PDT by Matt Rajca
Modified: 2015-07-09 09:30 PDT (History)
4 users (show)

See Also:


Attachments
Patch (6.01 KB, patch)
2015-07-08 18:57 PDT, Matt Rajca
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Rajca 2015-07-08 16:00:31 PDT
Whenever a media session's set of active media elements changes, we need notify chrome client when:

- we no longer have any active media elements
- a media element becomes active for the first time
Comment 1 Radar WebKit Bug Importer 2015-07-08 16:01:31 PDT
<rdar://problem/21734934>
Comment 2 Matt Rajca 2015-07-08 18:57:06 PDT
Created attachment 256448 [details]
Patch
Comment 3 Eric Carlson 2015-07-08 20:01:09 PDT
Comment on attachment 256448 [details]
Patch

Are these testable?
Comment 4 Matt Rajca 2015-07-09 09:24:03 PDT
(In reply to comment #3)
> Comment on attachment 256448 [details]
> Patch
> 
> Are these testable?

I filed a separate bug (Bug 146787) for this.
Comment 5 Matt Rajca 2015-07-09 09:30:02 PDT
Committed r186593: <http://trac.webkit.org/changeset/186593>