Closed vapier closed 1 year ago
the spec currently says:
If options["sendBufferSize"] is equal to 0, throw a TypeError. If options["receiveBufferSize"] is equal to 0, throw a TypeError.
shouldn't those be less than or equal to 0 ?
less than or equal to 0
The [EnforceRange] attribute on those properties is good enough to make sure that the parameter isn't negative, but we need additional steps to ensure it is non-zero.
[EnforceRange]
the spec currently says:
shouldn't those be
less than or equal to 0
?