Re: [whatwg/encoding] Need to define global used to create the ArrayBuffer and Uint8Array in TextEncoder's encode() (#150)

For what it's worth, the TextEncoderStream test expects the Uint8Array to be created in the realm of the constructor: https://github.com/GoogleChromeLabs/text-encode-transform-prollyfill/blob/master/tests/realms.html#L190

For the algorithm for TextEncoderStream I've just copied the equivalent text from TextEncoder.

-- 
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/issues/150#issuecomment-410929708

Received on Tuesday, 7 August 2018 04:29:47 UTC