[whatwg/streams] TransformStream: test enqueue(), close(), error() in bad states (#793)

Add tests to very that controller.enqueue() and controller.close() throw
exceptions when the stream is already closed.

Also test that controller.error() throws when the stream is already errored.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * TransformStream: test enqueue(), close(), error() in bad states

-- File Changes --

    M reference-implementation/to-upstream-wpts/transform-streams/errors.js (48)
    M reference-implementation/to-upstream-wpts/transform-streams/general.js (44)

-- Patch Links --

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

Received on Friday, 8 September 2017 06:23:21 UTC