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

We just built the spec text of the byte stream by translating the reference implementation without paying attention to this point. I don't quite remember but the fact the record used for the byte stream (see ReadableByteStreamControllerEnqueueChunkToQueue()) is different from the one for the non-byte stream and that chunks of the byte stream can be partially consumed might have made me reluctant to think about the consistency.

`totalQueuedSize` sounds ok.

-- 
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-257485051

Received on Tuesday, 1 November 2016 04:14:38 UTC