[whatwg/streams] Remove TransformStreamDefaultSinkDefaultTransform (#823)

TransformStreamDefaultSinkDefaultTransform was confusing and not very
useful. Replace it with TransformStreamDefaultSinkInvokeTransform, which
replaces the functionality of both that and
PromiseInvokeOrPerformFallback. Modify
TransformStreamDefaultSinkTransform to call the new function inside a try
block.

Remove PromiseInvokeOrPerformFallback as it no longer has any callers.

No semantic changes.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove TransformStreamDefaultSinkDefaultTransform

-- File Changes --

    M reference-implementation/lib/helpers.js (26)
    M reference-implementation/lib/transform-stream.js (40)

-- Patch Links --

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

Received on Tuesday, 3 October 2017 14:45:11 UTC