Re: [whatwg/streams] Factor out condition to check pending operation (#672)

tyoshino commented on this pull request.



> @@ -407,23 +426,33 @@ class WritableStreamDefaultWriter {
 
     const state = stream._state;
 
-    if (state === 'writable' || state === 'closing') {
+    if (state === 'writable') {
+      if (stream._pendingAbortRequest !== undefined) {
+        // TODO(tyoshino): Test this

Added a test

-- 
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/672#discussion_r105105382

Received on Thursday, 9 March 2017 08:10:08 UTC