[webrtc-pc] RTCPeerConnectionIceEvent parameter: RTCPeerConnectionIceEventInit eventInitDict is optional

rwaldron has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCPeerConnectionIceEvent parameter: RTCPeerConnectionIceEventInit eventInitDict is optional ==
The parameter table under https://w3c.github.io/webrtc-pc/#rtcpeerconnectioniceevent appears as: 

| Parameter |Type | Nullable|  Optional | Description | 
|-------------|---------|---------|--------------|----------------|
| type|DOMString|✘|✘ | 
| eventInitDict|RTCPeerConnectionIceEventInit|✘|✘ | 

However the IDL above it: 

```webidl
[Constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict)]
interface RTCPeerConnectionIceEvent : Event {
    readonly attribute RTCIceCandidate? candidate;
    readonly attribute DOMString?       url;
};
```

Which includes the `optional` keyword. I think the table just needs to be updated

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1199 using your GitHub account

Received on Wednesday, 10 May 2017 20:48:33 UTC