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

[webrtc-pc] Validation for binaryType setter in RTCDataChannel

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Jun 2017 06:24:46 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-235447954-1497335085-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== Validation for binaryType setter in RTCDataChannel ==
The description for `binaryType` do not mention about validation on setting. 

> On setting, the user agent must set the IDL attribute to the new value.

An additional paragraph for validation should be copied from WebSocket:

> On setting, if the new value is either the string "blob" or the string "arraybuffer", then set the IDL attribute to this new value. Otherwise, throw a SyntaxError exception.

Alternatively, an enum could be defined for binaryType attribute.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1379 using your GitHub account
Received on Tuesday, 13 June 2017 06:24:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:39 UTC