[streams] Difference in the specification between notes, pseudocode and example code (#344)

Are you interested in comments related to inconsistencies in the specification?  I have a couple examples:

**3.2.4.2. getReader()**

The notes say that getReader locks the stream and addition readers cannot be acquired.  The pseudocode and the reference implementation do not enforce this.  Also the specification does not indicate how getReader should respond when the stream is locked.

**3.5.5. EnqueueInReadableStream ( stream, chunk )**

Line 7 in the pseudocode indicates that undefined should be returned and this is reflected in the reference implementation but the example in "9.2. A readable stream with an underlying push source and backpressure support" shows that enqueue needs to return an indication of backpressure.

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

Received on Wednesday, 22 April 2015 17:45:11 UTC