Re: [whatwg/encoding] Make TextEncoder and TextDecoder be transform streams (#127)

> Which means we're doing error handling.

Well, but not any different than IDL always did, right? We're just changing the layering a bit. I'm not necessarily convinced String -> USVString conversion needs to be subject to fatal the same way that bytes <> scalar values needs to be. Note that the reason we have it in the latter case is primarily XML, which is the only format I know of that demands such handling. We exposed it to the API as a nicety mostly.

-- 
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/encoding/pull/127#issuecomment-351706438

Received on Thursday, 14 December 2017 13:11:44 UTC