Re: [whatwg/streams] "Set totalSize to totalSize + pair.[[size]]." (#582)

Nice analysis.

Yeah, failing to satisfy expectation (2) would look very weird, but not yet well convinced if we should take care of that.

Regarding expectation (1), maybe it's great if `desiredSize < strict calculation of HWM - (total size)` holds, given the purpose of desiredSize, but ... it would also require some complicated rounding logic.

I basically agree with the position (1) now. We just warn that opting-in non-integer size would take you to a wonderland.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/582#issuecomment-273780512

Received on Thursday, 19 January 2017 13:50:02 UTC