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

[webrtc-pc] RTCDataChannel.bufferedAmountLowThreshold not handled correctly

From: Erik Hellman via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Aug 2018 13:16:10 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-354726402-1535462169-sysbot+gh@w3.org>
ErikHellman has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCDataChannel.bufferedAmountLowThreshold not handled correctly ==
If you assign a negative value to the `bufferedAmountLowThreshold` of a `RTCDataChannel`, it will be assigned an overflow value.

The correct way of handling it is described in the [design principles document](https://w3ctag.github.io/design-principles/#numeric-types);

> Any nonnegative JavaScript number in the integer-representable range, throwing a TypeError outside the range and rounding inside of it

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1974 using your GitHub account
Received on Tuesday, 28 August 2018 13:16:12 UTC

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