stream: fix `writableStream.abort()`
This includes:
- Fixing the following step in
writableStream.abort(reason)
. Passing thereason
was missing.
WritableStreamAbort(stream, reason) performs the following steps:
- Signal abort on stream.controller.signal with reason.
- Leaving a TODO to remove the internal
abortReason
property ofWritableStreamDefaultController
in a follow-up.
Refs: https://streams.spec.whatwg.org/#writable-stream-abort
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com