From e39a3bcb8c967461b096b3397c9b2e7d93cdef63 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Tue, 6 Sep 2022 23:34:07 +0900 Subject: [PATCH] stream: remove `abortReason` from `WritableStreamDefaultController` The `abortReason` has been removed from the spec since we can get the abort reason via `controller.signal.reason`. This reflects the change. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com --- doc/api/webstreams.md | 4 ---- lib/internal/webstreams/writablestream.js | 15 --------------- test/parallel/test-whatwg-writablestream.js | 6 ------ 3 files changed, 25 deletions(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index f1e5b742799958..fe29bfc6f2a6da 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -974,10 +974,6 @@ changes: The `WritableStreamDefaultController` manage's the {WritableStream}'s internal state. -#### `writableStreamDefaultController.abortReason` - -* Type: {any} The `reason` value passed to `writableStream.abort()`. - #### `writableStreamDefaultController.error(error)`