- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 28 Mar 2017 01:19:23 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 March 2017 08:19:57 UTC
tyoshino commented on this pull request.
> - if (writer !== undefined) {
- if (WritableStreamCloseQueuedOrInFlight(stream) === false && stream._backpressure === true) {
- defaultWriterReadyPromiseReject(writer, reason);
- } else {
- defaultWriterReadyPromiseResetToRejected(writer, reason);
- }
- writer._readyPromise.catch(() => {});
- }
- } else {
- stream._pendingAbortRequest._reject(reason);
- stream._pendingAbortRequest = undefined;
- }
-
- WritableStreamRejectPromisesInReactionToError(stream);
+ WritableStreamError(stream, error);
+ WritableStreamRejectAbortRequestIfPending(stream);
hmm, the order checking unit tests might not be working well?
--
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/pull/705#discussion_r108359786
Received on Tuesday, 28 March 2017 08:19:57 UTC