W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2017

[webrtc-pc] [TreatNullAs=EmptyString] is not allowed for USVString per Web IDL

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Apr 2017 04:12:45 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-220834590-1491883962-sysbot+gh@w3.org>
foolip has just created a new issue for https://github.com/w3c/webrtc-pc:

== [TreatNullAs=EmptyString] is not allowed for USVString per Web IDL ==
See issue https://github.com/heycam/webidl/issues/340

If there are good reasons to disallow `[TreatNullAs=EmptyString]` for USVString and the Web IDL spec does not change, then WebRTC should change instead. It's used here:


partial interface RTCPeerConnection {
    readonly attribute RTCSctpTransport? sctp;
    RTCDataChannel createDataChannel([TreatNullAs=EmptyString] USVString label,
                                     optional RTCDataChannelInit dataChannelDict);
    attribute EventHandler ondatachannel;

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1118 using your GitHub account
Received on Tuesday, 11 April 2017 04:12:55 UTC

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