js-compute-runtime
js-compute-runtime copied to clipboard
Response.prototype.text() should support lossy decoding
We currently implement this as throwing on invalid UTF8 bytes, but per https://encoding.spec.whatwg.org/#utf-8-decode we should handle lossy string conversion.