Re: [whatwg/streams] alert underlyingSink when [[strategySize]]() fails (#628)

It's worth noting that for TransformStreams, the strategy author and the sink author aren't the same.

Even if you try to wrap `strategy.size()` inside another `size()` that does try-catch and rethrows the error, it, unlike with `write()`, also has to duplicate the error checking in `EnqueueValueWithSize`, in which case the `RangeError` it produces on its own won't be equal to the `RangeError` thrown by `EnqueueValueWithSize`.

-- 
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/issues/628#issuecomment-266817382

Received on Tuesday, 13 December 2016 18:17:43 UTC