Bug 121624 - MediaStream API: update MediaStreamTrackEvent object to match spec
Summary: MediaStream API: update MediaStreamTrackEvent object to match spec
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
Keywords: InRadar
Depends on:
Blocks: 124288
  Show dependency treegraph
Reported: 2013-09-19 11:37 PDT by Eric Carlson
Modified: 2013-11-14 07:39 PST (History)
9 users (show)

See Also:

Proposed patch (14.17 KB, patch)
2013-09-19 11:54 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2013-09-19 11:37:07 PDT
It should be possible to construct a MediaStreamTrackEvent with an EventInit dictionary:

dictionary MediaStreamTrackEventInit : EventInit {
    MediaStreamTrack? track;

[Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict)]
interface MediaStreamTrackEvent : Event {
    readonly    attribute MediaStreamTrack track;
Comment 1 Eric Carlson 2013-09-19 11:37:28 PDT
Comment 2 Eric Carlson 2013-09-19 11:54:20 PDT
Created attachment 212087 [details]
Proposed patch
Comment 3 WebKit Commit Bot 2013-09-19 18:49:57 PDT
Comment on attachment 212087 [details]
Proposed patch

Clearing flags on attachment: 212087

Committed r156135: <http://trac.webkit.org/changeset/156135>
Comment 4 WebKit Commit Bot 2013-09-19 18:49:59 PDT
All reviewed patches have been landed.  Closing bug.