W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2017

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

From: Rick Waldron via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 May 2017 20:48:26 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-227805949-1494449305-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC