mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Our existing implementation of stream piping was extremely ad-hoc. It did nothing to handle closed/errored streams, and did not read from or write to streams in a way required by the spec. This new implementation uses a custom JS::Cell to drive the read/write loop.
12 lines
454 B
Plaintext
12 lines
454 B
Plaintext
Harness status: OK
|
|
|
|
Found 6 tests
|
|
|
|
1 Pass
|
|
5 Fail
|
|
Pass a chunk that cannot be converted to a string should error the streams
|
|
Fail input of type undefined should be converted correctly to string
|
|
Fail input of type null should be converted correctly to string
|
|
Fail input of type numeric should be converted correctly to string
|
|
Fail input of type object should be converted correctly to string
|
|
Fail input of type array should be converted correctly to string |