Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/streams/piping/flow-control.any.txt
Timothy Flynn eb0a51faf0 LibWeb: Implement ReadableStreamPipeTo according to spec
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.
2025-04-11 12:10:46 -04:00

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