[whatwg/streams] Remove the check of the resolved value of _backpressurePromise (#816)

TransformStreamSetBackpressure would resolve _backpressurePromise with the
new value of `backpressure`, then a fulfillment handler would verify that this
is not equal to the old value. Since this is already guaranteed by the other
logic inside of TransformStreamSetBackpressure the benefit of this check is
small. On the other hand, the cost, in terms of having an additional fulfillment
handler, is high.

Remove this redundant sanity check.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/816

-- Commit Summary --

  * Remove the check of the resolved value of _backpressurePromise

-- File Changes --

    M reference-implementation/lib/transform-stream.js (8)

-- Patch Links --

https://github.com/whatwg/streams/pull/816.patch
https://github.com/whatwg/streams/pull/816.diff

-- 
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/816

Received on Monday, 2 October 2017 09:59:55 UTC