[whatwg/streams] WritableStream: .closed not rejected/resolved after pending close completion if aborted (#656)

When there's a pending close, WritableStreamAbort() delays rejection of .closed until it completes.

WritableStreamDefaultControllerProcessClose() calls WritableStreamDefaultControllerErrorIfNeeded() at the end of sinkClosePromise rejection handling, but since WritableStreamAbort() sets the state to `"errored"`, it's no-op.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/656

Received on Monday, 16 January 2017 09:45:34 UTC