Re: [whatwg/streams] Don't error an errored WritableStream on messageerror (#1069)

After writing a test for this, I found it wasn't observable anyway. If an error/close occurred locally, then we won't be in a state where we can send a new chunk. If it happened remotely, then the remote side will have disentangled the message pipe already, so messageerror will never fire.

I still prefer to make this change, as the reason why it's not needed is extremely subtle.

-- 
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/1069#issuecomment-682191396

Received on Thursday, 27 August 2020 21:08:10 UTC