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.
19 lines
1.2 KiB
Plaintext
19 lines
1.2 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 14 tests
|
|
|
|
14 Pass
|
|
Pass Piping must lock both the ReadableStream and WritableStream
|
|
Pass Piping finishing must unlock both the ReadableStream and WritableStream
|
|
Pass pipeTo must check the brand of its ReadableStream this value
|
|
Pass pipeTo must check the brand of its WritableStream argument
|
|
Pass pipeTo must fail if the ReadableStream is locked, and not lock the WritableStream
|
|
Pass pipeTo must fail if the WritableStream is locked, and not lock the ReadableStream
|
|
Pass Piping from a ReadableStream from which lots of chunks are synchronously readable
|
|
Pass Piping from a ReadableStream for which a chunk becomes asynchronously readable after the pipeTo
|
|
Pass an undefined rejection from pull should cause pipeTo() to reject when preventAbort is true
|
|
Pass an undefined rejection from pull should cause pipeTo() to reject when preventAbort is false
|
|
Pass an undefined rejection from write should cause pipeTo() to reject when preventCancel is true
|
|
Pass an undefined rejection from write should cause pipeTo() to reject when preventCancel is false
|
|
Pass pipeTo() should reject if an option getter grabs a writer
|
|
Pass pipeTo() promise should resolve if null is passed |