W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2019

[webrtc-pc] Argument in RTCPeerConnection.setConfiguration should be optional (#2410)

From: Dominique Hazael-Massieux via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Dec 2019 20:49:36 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-536606326-1576097374-sysbot+gh@w3.org>
dontcallmedom has just created a new issue for https://github.com/w3c/webrtc-pc:

== Argument in RTCPeerConnection.setConfiguration should be optional ==
Per [WebIDL](https://heycam.github.io/webidl/#dfn-optional-argument-default-value):
> If the type of an argument is a dictionary type or a union type that has a dictionary type as one of its flattened member types, and that dictionary type and its ancestors have no required members, and the argument is either the final argument or is followed only by optional arguments, then the argument must be specified as optional and have a default value provided.

Right now, Chrome throws on no argument provided, so this would require implementation change (could not test in Safari)

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2410 using your GitHub account
Received on Wednesday, 11 December 2019 20:49:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:51 UTC