Bug 146465 - MediaSession: Use setSessionInternal to set the default media session in HTMLMediaElement's constructor
Summary: MediaSession: Use setSessionInternal to set the default media session in HTML...
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-06-30 12:22 PDT by Matt Rajca
Modified: 2015-06-30 12:54 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2015-06-30 12:28 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-06-30 12:22:38 PDT
All updates to an element's media session should go through HTMLMediaElement::setSessionInternal to ensure all related state is updated.
Comment 1 Radar WebKit Bug Importer 2015-06-30 12:25:08 PDT
<rdar://problem/21616544>
Comment 2 Matt Rajca 2015-06-30 12:28:20 PDT
Created attachment 255840 [details]
Patch
Comment 3 Matt Rajca 2015-06-30 12:54:27 PDT
Committed r186127: <http://trac.webkit.org/changeset/186127>