mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +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.
10 lines
664 B
Plaintext
10 lines
664 B
Plaintext
Harness status: OK
|
|
|
|
Found 5 tests
|
|
|
|
5 Pass
|
|
Pass Piping from a non-empty ReadableStream into a WritableStream that does not desire chunks
|
|
Pass Piping from a non-empty ReadableStream into a WritableStream that does not desire chunks, but then does
|
|
Pass Piping from an empty ReadableStream into a WritableStream that does not desire chunks, but then the readable stream becomes non-empty and the writable stream starts desiring chunks
|
|
Pass Piping from a ReadableStream to a WritableStream that desires more chunks before finishing with previous ones
|
|
Pass Piping to a WritableStream that does not consume the writes fast enough exerts backpressure on the ReadableStream |