W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2018

Re: [webrtc-pc] RTCDataChannelInit unknown member handling

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jun 2018 01:58:27 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-393735578-1527818306-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:44 UTC