Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream: fix setting abort reason in ReadableStream.pipeTo() #44418

Merged

Commits on Aug 27, 2022

  1. stream: fix setting abort reason in ReadableStream.pipeTo()

    In 14.2 in the specification, `error` should be signal’s abort reason.
    The current behavior seems to assume that only an `AbortError` instance
    is given as signal’s abort reason.
    
    Refs: https://streams.spec.whatwg.org/#readable-stream-pipe-to
    
    Signed-off-by: Daeyeon Jeong [email protected]
    daeyeon committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    5baf48f View commit details
    Browse the repository at this point in the history