Re: [webrtc-pc] RTCIceCandidate constructor should not require sdpMid/sdpMLineIndex

>> When run, if both the sdpMid and sdpMLineIndex dictionary members are null, throw a TypeError.
>
> But there seems to be some disagreement in how that's interpreted.

Because the dictionary members have a default value (null) I think this is unambiguous. The case where they are omitted need not be called out, because this prose operates on an IDL dictionary (not a JavaScript object) where it's impossible for them to be missing.

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

Received on Wednesday, 17 May 2017 10:55:31 UTC