- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Fri, 18 Sep 2015 10:04:08 +0200
- To: Jan-Ivar Bruaroey <jib@mozilla.com>, Martin Thomson <martin.thomson@gmail.com>
- Cc: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 15/09/2015 20:36, Jan-Ivar Bruaroey wrote: > On 9/15/15 12:54 AM, Martin Thomson wrote: >> On 14 September 2015 at 20:05, Jan-Ivar Bruaroey <jib@mozilla.com> wrote: >>> - Promise<void> addIceCandidate (RTCIceCandidate candidate); >>> + Promise<void> addIceCandidate (optional RTCIceCandidateInit >>> candidate); >> Why optional, out of interest? > > 0:18.18 WebIDL.WebIDLError: error: Dictionary argument or union > argument containing a dictionary not followed by a required argument > must be optional, Rather than make the argument optional (which is awkward in this case), we would make the "DOMString candidate" member of RTCIceCandidateInit required (which removes the obligation of having dictionary arguments be optional). Dom
Received on Friday, 18 September 2015 08:04:19 UTC