devgianlu
033ba43faf
LibWeb: Use get_buffer_source_copy
for getting the actual byte buffer
...
`WebIDL::underlying_buffer_source` gets the underlying buffer source
which is not resized according to, for example, `subarray`.
2025-03-19 13:46:50 +01:00
devgianlu
e02521911a
LibWeb: Refactor {Dec,C}ompressionStream
to handle split chunks
2025-03-19 13:46:50 +01:00
devgianlu
1c2b373e9c
LibCompress: Refactor deflate de/compressor using zlib
...
Also remove two crash tests that are not relevant anymore because the
implementation changed substantially.
2025-03-19 13:46:50 +01:00
devgianlu
2baa7977a4
LibCompress: Refactor gzip de/compressor using zlib
2025-03-19 13:46:50 +01:00
Shannon Booth
5f2b75852f
LibWeb: Add an 'enqueue' helper method on TransformStream
2024-12-25 12:00:54 +01:00
Shannon Booth
19bbfb023a
LibWeb/Streams: Move "set up transform stream" to TransformStream
...
This is not marked as an AO in the spec, and is a publically exported
API exposed on TransformStream.
2024-12-11 15:11:21 +01:00
Jelle Raaijmakers
1514197e36
LibWeb: Remove dom_
from dom_exception_to_throw_completion
...
We're not converting `WebIDL::DOMException`, but `WebIDL::Exception`
instead.
2024-12-09 20:02:51 -07:00
Valtteri Koskivuori
135daeb8bb
LibCompress: Don't assume zlib header is available right away
...
Instead of checking the header in ZlibDecompressor::create(), we now
check it in read_some() when it is called for the first time. This
resolves a FIXME in the new DecompressionStream implementation.
2024-11-18 19:55:46 -05:00
Timothy Flynn
5bcba896c2
LibWeb: Implement the DecompressionStream interface
2024-11-17 22:37:45 +01:00