[whatwg/streams] Add a local variable to TransformStreamDefaultSink abort() (#828)

In standard text it is awkward to create an exception object and pass it to an
internal operation in a single step. Add a local to abort() in which the
newly-created TypeError will be placed. This will make the standard text clearer.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add a local variable to TransformStreamDefaultSink abort()

-- File Changes --

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

-- Patch Links --

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

Received on Friday, 6 October 2017 11:28:32 UTC