Our implementation is wrong in the treatment of pending writes when the readable is errored. I noticed this last April: https://github.com/whatwg/streams/issues/738 but didn't add tests for it at that time because the reference implementation has the same bug. The bug in the reference implementation is now being fixed (https://github.com/whatwg/streams/pull/884) so we need to fix Blink's implementation as well.
Summary: When readable is errored, pipeTo should complete pending writes before erroring the writable (was: [WPT] New failures introduced in external/wpt/streams by import https://crrev.com/c/924903)
Comment 1 by ricea@chromium.org
, Feb 20 2018Owner: ricea@chromium.org
Status: Assigned (was: Untriaged)