Re: [whatwg/encoding] Use new Streams algorithm and mixins (#224)

@andreubotella commented on this pull request.



> @@ -1660,20 +1631,16 @@ constructor steps are:
      <li><p>Let <var>outputChunk</var> be the result of running <a>serialize stream</a> with
      <var>decoder</var> and <var>output</var>.
 
-     <li><p>if <var>outputChunk</var> is non-empty, call
-     <a abstract-op>TransformStreamDefaultControllerEnqueue</a>(<var>controller</var>,
-     <var>outputChunk</var>).
-
-     <li><p>Return a new promise resolved with undefined.
+     <li><p>If <var>outputChunk</var> is non-empty, then <a for=TransformStream>enqueue</a>
+     <var>outputChunk</var> in <var>decoder</var>'s <a for=GenericTransformStream>transform</a>.

```suggestion
     <var>outputChunk</var> in <var>decoder</var>'s <a for=GenericTransformStream>transform</a>.

     <li><p>Return.
```

Needed to break the endless loop.

-- 
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/encoding/pull/224#pullrequestreview-477055370

Received on Thursday, 27 August 2020 20:26:35 UTC