[whatwg/streams] Readable byte stream must call pull if needed after receiving new chunk (#904)

This implements the proposed solution for #877.

Two tests are currently failing, but I believe those tests are actually wrong ([see comment](https://github.com/whatwg/streams/issues/877#issuecomment-363941374)). I'll update the web platform tests and submit a PR, then we can further discuss.

Fixes #877.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/904

-- Commit Summary --

  * Readable byte stream must call pull if needed after receiving new chunk

-- File Changes --

    M index.bs (2)
    M reference-implementation/lib/readable-stream.js (4)

-- Patch Links --

https://github.com/whatwg/streams/pull/904.patch
https://github.com/whatwg/streams/pull/904.diff

-- 
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/pull/904

Received on Thursday, 8 March 2018 19:56:35 UTC