[webrtc-pc] RTCDataChannel.bufferedAmountLowThreshold not handled correctly

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