Bug 121624 - MediaStream API: update MediaStreamTrackEvent object to match spec
Summary: MediaStream API: update MediaStreamTrackEvent object to match spec
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
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:


Attachments
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
<rdar://problem/15022482>
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.