Shannon Booth
a8caa3edbc
LibWeb/Tests: Add a test to cover byte stream enqueue and respond
2023-12-03 20:26:14 +01:00
Shannon Booth
673329e1bd
LibWeb: Use ArrayBufferView for ReadableStreamBYOBReader
...
Which means that we now have support for DataViews.
Using the ArrayBufferView class also seems to make this read a whole
bunch nicer as well.
2023-11-24 08:43:35 +01:00
Shannon Booth
1daded768d
LibWeb: Implement ReadableStreamBYOBReader::read
...
Similiarly to the underlying AO's, currently only TypedArrays are
supported.
2023-11-19 18:53:17 +01:00
Kenneth Myhra
1f4f750052
Tests/LibWeb: Verify setting {readable,writable}Type throws RangeError
...
This test proves that setting transformer.{readable,writable}Type to a
value throws a RangeError.
2023-07-15 11:59:39 +02:00
Kenneth Myhra
221f18f72e
Tests/LibWeb: Add TransformStream flush callback test
...
This test proves the ability of TransformStream to execute
caller supplied code in the flush callback, and have access to
TransformStreamDefaultController.
2023-07-15 11:59:39 +02:00
Kenneth Myhra
5c6125c92b
Tests/LibWeb: Add TransformStream start callback test
...
This test proves the ability of TransformStream to execute
caller supplied code in the start callback, and have access to
TransformStreamDefaultController.
2023-07-15 11:59:39 +02:00
Kenneth Myhra
74fdf59941
Tests/LibWeb: Add TransformStream transform callback test
...
This test proves the ability of TransformStream to execute to execute
caller supplied code in the transform callback that can transform
incoming chunks, and have access to TransformStreamDefaultController.
2023-07-15 11:59:39 +02:00
Kenneth Myhra
1faca5ed9f
Tests/LibWeb: Add TransformStream Identity Transform test
...
This test proves the ability of TransformStream to convert between
writable and readable streams.
2023-07-15 11:59:39 +02:00
Shannon Booth
a92d94f4e9
LibWeb/Tests: Add basic test for ByteLengthQueuingStrategy
2023-06-23 13:27:29 +02:00
Shannon Booth
b2a51e86e5
LibWeb/Tests: Add basic test for CountQueuingStrategy
2023-06-23 13:27:29 +02:00
Shannon Booth
464e428e94
LibWeb/Tests: Add basic tests for {ByteLength,Counting}QueuingStrategy
2023-06-21 12:27:04 +02:00