mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
ReadLoop requests require the chunks to be Uint8Array objects, however, TextEncoderStream requires a String (Convertible) value. This is fixed by implementing read_all_chunks as a loop of DefaultReader requests instead, which is an identity transformation. This should be okay to do, as stream chunk steps expect a JS::Value, and convert it to the type they want.
10 KiB
10 KiB