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

I've updated #611 to:

- Use ResetQueue everywhere to satisfy my sense that queue and queueTotalSize should be kept in sync.
- Make desiredSize always return 0 for closed streams and null for errored streams. Because of this, the above change is unobservable, I believe.

I'm also moving the tests to a WPT pull request which I will edit #611 to link to.

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

Received on Thursday, 19 January 2017 20:09:55 UTC