Re: [whatwg/streams] Writable stream spec fixes (#681)

ricea commented on this pull request.



>         _readyPromiseIsPending_ to *true*.
     1. Perform ! WritableStreamDefaultWriterEnsureReadyPromiseRejectedWith(_stream_.[[writer]], _e_,
        _readyPromiseIsPending_).
   1. Set _controller_.[[queue]] to a new empty List.
-  1. If _controller_ is *undefined* or _controller_.[[writing]] is *false* or _controller_.[[inClose]] is *false*,
+  1. _controller_.[[writing]] is *false* and _controller_.[[inClose]] is *false*,

Missing "If".

-- 
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/681#pullrequestreview-21437810

Received on Monday, 13 February 2017 05:04:23 UTC