summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl')
-rw-r--r--Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl b/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
index 10d5f333f..26d9cca68 100644
--- a/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
+++ b/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
@@ -24,8 +24,11 @@
[
Conditional=MEDIA_STREAM,
- ConstructorTemplate=Event
+ Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict),
] interface MediaStreamTrackEvent : Event {
- [InitializedByEventConstructor] readonly attribute MediaStreamTrack track;
+ readonly attribute MediaStreamTrack track;
};
+dictionary MediaStreamTrackEventInit : EventInit {
+ required MediaStreamTrack track;
+};