Skip to content

stream: fix `writableStream.abort()`

This includes:

  • Fixing the following step in writableStream.abort(reason). Passing the reason was missing.

WritableStreamAbort(stream, reason) performs the following steps:

  1. Signal abort on stream.controller.signal with reason.
  • Leaving a TODO to remove the internal abortReason property of WritableStreamDefaultController in a follow-up.

Refs: https://streams.spec.whatwg.org/#writable-stream-abort

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

Merge request reports

Loading