Skip to content

stream: remove `abortReason` from `WritableStreamDefaultController`

The abortReason property has been removed from the spec since we can get the abort reason via writableStreamDefaultController.signal.reason.

[Exposed=*]
interface WritableStreamDefaultController {
  readonly attribute AbortSignal signal;
  undefined error(optional any e);
};

This reflects the change and removes a TODO left as a follow-up of https://github.com/nodejs/node/pull/44327.

Refs: https://streams.spec.whatwg.org/#ws-default-controller-class-definition

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

Merge request reports

Loading