[mediacapture-main] Any reason not to use sequence<> in RTCTrackEvent?

jan-ivar has just created a new issue for 
https://github.com/w3c/mediacapture-main:

== Any reason not to use sequence<> in RTCTrackEvent? ==
Seems to me that http://w3c.github.io/webrtc-pc/#rtctrackevent should 
be:

````js
[ Constructor (DOMString type, RTCTrackEventInit eventInitDict)]
interface RTCTrackEvent : Event {
    readonly    attribute RTCRtpReceiver   receiver;
    readonly    attribute MediaStreamTrack track;
    readonly    attribute sequence<MediaStream>    streams;
};
```

We don't use the `[]` syntax anywhere else, and AFAIK it's a rare 
WebIDL concept for when one wants to modify the array as an attribute,
 which doesn't seem relevant here since we're `readonly`.

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/294 using your GitHub 
account

Received on Friday, 11 December 2015 19:50:43 UTC