Matthew Olsson
48b67e41f0
LibWeb: Accept a JS::Value for size in enqueue_value instead of a double
...
This matches what the spec does, and consolidates all of the size-
related errors in one spot instead of distributing them throughout the
various uses of enqueue_value_with_size()
2023-04-10 00:45:03 +02:00
Matthew Olsson
6bbd920008
LibWeb: Implement WritableStreamDefaultWriter.releaseLock()
2023-04-09 21:45:39 +02:00
Matthew Olsson
5f4da20a56
LibWeb: Implement WritableStreamDefaultWriter.close()
2023-04-09 21:45:39 +02:00
Matthew Olsson
0c441fa7af
LibWeb: Implement WritableStreamDefaultWriter.abort()
2023-04-09 21:45:39 +02:00
Matthew Olsson
c421b6113c
LibWeb: Implement WritableStream.abort()
2023-04-09 21:45:39 +02:00
Matthew Olsson
ae2d67c28b
LibWeb: Implement WritableStream.getWriter()
2023-04-09 21:45:39 +02:00
Matthew Olsson
5faa0014f2
LibWeb: Implement WritableStream.close()
2023-04-09 18:37:34 +02:00
Matthew Olsson
868cd95069
LibWeb: Add the WritableStreamDefaultController
2023-04-09 17:14:48 +02:00
Matthew Olsson
bdab61ad93
LibWeb: Add the WritableStreamDefaultWriter interface
2023-04-06 22:54:58 +02:00
Matthew Olsson
e93560b769
LibWeb: Add the WritableStream interface
2023-04-06 22:54:58 +02:00
Matthew Olsson
78feba401d
LibWeb: Move property_to_callback to Streams/AbstractOperations
...
This will be necessary for UnderlyingSink, which is WritableStream's
equivalent of UnderlyingSource, and functions in much the same way.
2023-04-06 22:54:58 +02:00
Matthew Olsson
36ca1386e8
LibWeb: Add ReadableStream.locked/cancel()/getReader()
2023-04-01 23:43:07 +01:00
Matthew Olsson
d8710aa604
LibWeb: Implement ReadableStream's constructor
2023-04-01 23:43:07 +01:00
Matthew Olsson
bc9919178e
LibWeb: Add ReadableStreamDefaultController
2023-04-01 23:43:07 +01:00
Matthew Olsson
222e3c32cd
LibWeb: Add ReadableStreamDefaultReader
2023-04-01 23:43:07 +01:00
Matthew Olsson
fe69d66a4e
LibWeb: Add the ReadableStreamGenericReader mixin interface
2023-04-01 23:43:07 +01:00
Linus Groh
87654f5b51
LibWeb: Start fleshing out the ReadableStream interface
...
This is so we can just assume it exists in Fetch APIs (while still
skipping functionality that relies on a full implementation, of
course).
2022-09-22 21:01:13 +01:00