Re: [webrtc-pc] RTCDataChannelInit unknown member handling

This "feature" is unfortunately the result of the WebIDL definition of "dictionary", where members that are not known to the implementation are ignored by definition - it is *specified* to act as if they don't exist.

Closing as "working as intended", even though I agree with you that this will surprise users.
(Note: The reason why MediaTrackSupportedConstraints exists is exactly the same problem.)


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

Received on Friday, 1 June 2018 01:58:28 UTC