Re: [whatwg/streams] Use abort reason in ReadableStreamPipeTo (PR #1182)

@nidhijaju commented on this pull request.



> +   1. If |signal|'s [=AbortSignal/abort reason=] is not undefined, let |error| be |signal|'s
+      [=AbortSignal/abort reason=].
+   1. Otherwise, let |error| be a new "{{AbortError}}" {{DOMException}}.

Ah right, I think you are right about it being run as a result of signal abort or a signal already aborted. I've added an assert to DOM's "signal abort" for now.

-- 
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/1182#discussion_r738109636

Received on Thursday, 28 October 2021 07:50:23 UTC