- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 11 Oct 2016 18:47:32 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Message-ID: <whatwg/streams/pull/528/review/3797008@github.com>
domenic commented on this pull request. > @@ -782,14 +769,11 @@ ReadableStreamTee pull function <var>F</var> is called, it performs the followin 1. Perform ! ReadableStreamDefaultControllerClose(_branch2_). 1. Set _teeState_.[[closedOrErrored]] to *true*. 1. If _teeState_.[[closedOrErrored]] is *true*, return *undefined*. - 1. If _teeState_.[[canceled1]] is *false*, - 1. Let _value1_ be _value_. - 1. If _shouldClone_ is *true*, set _value1_ to ? <a abstract-op>StructuredClone</a>(_value_). - 1. Perform ? ReadableStreamDefaultControllerEnqueue(_branch1_, _value1_). - 1. If _teeState_.[[canceled2]] is *false*, - 1. Let _value2_ be _value_. - 1. If _shouldClone_ is *true*, set _value2_ to ? <a abstract-op>StructuredClone</a>(_value_). - 1. Perform ? ReadableStreamDefaultControllerEnqueue(_branch2_, _value2_). + 1. Let _value1_ and _value2_ be _value_. + 1. If _teeState_.[[canceled2]] is *false* and _cloneForBranch2_ is *true*, set _value2_ to ? <a + abstract-op>StructuredClone</a>(_value2_). + 1. If _teeState_.[[canceled1]] is *false*, perform ? ReadableStreamDefaultControllerEnqueue(_branch1_, _value1_). + 1. If _teeState_.[[canceled2]] is *false*, perform ? ReadableStreamDefaultControllerEnqueue(_branch1_, _value2_). Thanks, fixed -- 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/528
Received on Wednesday, 12 October 2016 01:48:02 UTC