[streams] Test ReadableStream does not call pull multiple times after previous pull finishes is incorrectly specified. (#291)

You can find the test currently in readable-stream.js:304.

I think the test should not have the timeout in line 334 because according to the spec, after reading we pull asynchronously, but if we leave the timeout where it is and let it work, the pull from the second read could end up happening because it is waiting to be run.

Am I missing anything?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/291

Received on Monday, 9 March 2015 19:19:42 UTC