Timothy Flynn
3e8c6dbaff
LibWeb: Move TransformStream AOs into their own file
...
The main streams AO file has gotten very large, and is a bit difficult
to navigate. In an effort to improve DX, this migrates TransformStream
AOs to their own file.
2025-04-18 06:55:40 -04:00
Andreas Kling
de424d6879
LibJS: Make Completion.[[Value]] non-optional
...
Instead, just use js_undefined() whenever the [[Value]] field is unused.
This avoids a whole bunch of presence checks.
2025-04-05 11:20:26 +02:00
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
dafbe32626
LibCompress: Refactor zlib de/compressor using zlib
2025-03-19 13:46:50 +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
Timothy Flynn
638a8aecad
LibWeb: Implement the CompressionStream interface
2024-11-17 22:37:45 +01:00