Re: [whatwg/streams] Unified error handling for WritableStream (#721)

ricea commented on this pull request.



> @@ -711,8 +691,12 @@ class WritableStreamDefaultController {
       throw new TypeError(
         'WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController');
     }
+    const stream = this._controlledWritableStream;
+    if (stream._pendingError) {

Gone.

-- 
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/721#discussion_r109140973

Received on Friday, 31 March 2017 11:32:08 UTC