[whatwg/streams] Make rejections from transformAlgorithm error the readable (#948)

Currently rejections from transformAlgorithm error the writable side of
a transform stream but don't error the readable side. This is an
unexpected difference from the behaviour of transformer.transform.

Make the behaviour consistent so a rejection from transformAlgorithm
errors both sides.

This only affects other standards which create TransformStream objects.
The change is not visible to user JavaScript or web platform tests.

Fixes #946.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Make rejections from transformAlgorithm error the readable

-- File Changes --

    M index.bs (21)
    M reference-implementation/lib/transform-stream.js (20)

-- Patch Links --

https://github.com/whatwg/streams/pull/948.patch
https://github.com/whatwg/streams/pull/948.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/948

Received on Tuesday, 31 July 2018 13:31:06 UTC