Re: [webrtc-pc] Can candidate.ufrag be null?

> Dictionary members are optional by default, unless they say "required".

Okay.

> So we could do the same thing for ufrag, and then we could just say "if ufrag is null" rather than "neither undefined nor null".

But an `RTCIceCandidateInit` can also be passed to `addIceCandidate`, right? And as the member is optional, checking for `undefined` would still be required.

Issue can be closed from my side. :)

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1078#issuecomment-287192708 using your GitHub account

Received on Thursday, 16 March 2017 21:13:05 UTC