mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00: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.
27 lines
No EOL
1.4 KiB
Text
27 lines
No EOL
1.4 KiB
Text
Harness status: OK
|
|
|
|
Found 21 tests
|
|
|
|
15 Pass
|
|
6 Fail
|
|
Pass chunk of type undefined should error the stream for gzip
|
|
Pass chunk of type undefined should error the stream for deflate
|
|
Pass chunk of type undefined should error the stream for deflate-raw
|
|
Pass chunk of type null should error the stream for gzip
|
|
Pass chunk of type null should error the stream for deflate
|
|
Pass chunk of type null should error the stream for deflate-raw
|
|
Pass chunk of type numeric should error the stream for gzip
|
|
Pass chunk of type numeric should error the stream for deflate
|
|
Pass chunk of type numeric should error the stream for deflate-raw
|
|
Pass chunk of type object, not BufferSource should error the stream for gzip
|
|
Pass chunk of type object, not BufferSource should error the stream for deflate
|
|
Pass chunk of type object, not BufferSource should error the stream for deflate-raw
|
|
Pass chunk of type array should error the stream for gzip
|
|
Pass chunk of type array should error the stream for deflate
|
|
Pass chunk of type array should error the stream for deflate-raw
|
|
Fail chunk of type SharedArrayBuffer should error the stream for gzip
|
|
Fail chunk of type SharedArrayBuffer should error the stream for deflate
|
|
Fail chunk of type SharedArrayBuffer should error the stream for deflate-raw
|
|
Fail chunk of type shared Uint8Array should error the stream for gzip
|
|
Fail chunk of type shared Uint8Array should error the stream for deflate
|
|
Fail chunk of type shared Uint8Array should error the stream for deflate-raw |