[whatwg/streams] pipeTo() text appears to say all queued writable chunks must be written on readable error (#738)

https://streams.spec.whatwg.org/commit-snapshots/037ec544adc7a7677ada2ba140849fb5549b09fd#rs-pipeTo-shutdown-with-action

> If any chunks have been read but not yet written, write them to dest\.
> Wait until every chunk that has been read has been written

It appears to me that this requires all queued chunks to be written when the ReadableStream becomes errored. This is not what the reference implementation actually implements, and I am not sure it is desirable.

https://github.com/w3c/web-platform-tests/pull/5636 contains a test which illustrates the behaviour that I think the standard text is requiring.

-- 
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/738

Received on Friday, 21 April 2017 14:25:23 UTC