Re: [webrtc-pc] Lack of validation in RTCIceCandidate constructor

It struck me as odd that: 

> sdpMid of type DOMString, readonly, nullable
> sdpMLineIndex of type unsigned short, readonly, nullable

That is: both are nullable, but then...

> When run, if both the sdpMid and sdpMLineIndex dictionary members are null, throw a TypeError.

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

Received on Friday, 12 May 2017 16:08:20 UTC