You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Body Mixin text() is supposed to return USVString #39804
just notice util.toUSVString came out in 16.8, good for ppl writing polyfills... got a side question: dose TextDecoder.decode() return a USVString? cuz that is what i have been using in some .text() methods.... This will also remove BOM
I also wonder what the diffrent is between USVString and a "normal" string is and doing String(val) or ${val} to convert them
Maybe stream-consumers text(iterable) should resolve with a USVString also?
Hi @ronag I am working on this issue. I could see the Blob contains the text() method. what is consumer helper here? can you please point the file or provide some more information about it?
Activity
[-]Body Mixin Text is supposed to return USVString[/-][+]Body Mixin `text()` is supposed to return `USVString`[/+]jasnell commentedon Aug 18, 2021
To be fully compliant, yes we likely need to.
PurnashisHazra commentedon Aug 23, 2021
Should I take this issue up?
jimmywarting commentedon Aug 27, 2021
just notice
util.toUSVStringcame out in 16.8, good for ppl writing polyfills... got a side question: doseTextDecoder.decode()return a USVString? cuz that is what i have been using in some.text()methods.... This will also remove BOMI also wonder what the diffrent is between USVString and a "normal" string is and doing
String(val)or${val}to convert themMaybe stream-consumers
text(iterable)should resolve with a USVString also?WenheLI commentedon Sep 1, 2021
Anyone currently working on this issue? If not, can I try to solve it?
git-srinivas commentedon Oct 3, 2021
Hi @ronag I am working on this issue. I could see the
Blobcontains thetext()method. what is consumer helper here? can you please point the file or provide some more information about it?Mesteery commentedon Oct 4, 2021
https://github.com/nodejs/node/blob/master/lib/stream/consumers.js