summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Streams/AbstractOperations.cpp
AgeCommit message (Collapse)Author
2023-05-27LibWeb: Throw the correct object when enqueuing to a readable streamMatthew Olsson
2023-05-27LibWeb: Do not clear stream algorithms (and add corresponding FIXMEs)Matthew Olsson
2023-05-27LibWeb: Use doubles for Stream's high_water_mark and queue_total_sizeMatthew Olsson
This matches the IDL types
2023-05-27LibWeb: Use TRY() to convert invoke_callback result to an ExceptionOrMatthew Olsson
Otherwise, the JS::Completion is always interpretted as an error by ExceptionOr.
2023-05-27LibWeb: Capture stack values by copy in async lambdas in Stream AOsMatthew Olsson
2023-04-27LibWeb: Implement ReadableByteStreamController.close()Matthew Olsson
2023-04-27LibWeb: Add missing AOs for ReadableByteStreamController.[[PullSteps]]Matthew Olsson
2023-04-27LibWeb: Add ReadableStreamBYOBReader to ReadableStreamReader typeMatthew Olsson
2023-04-17LibWeb: Make StartAlgorithm return a Value instead of a PromiseMatthew Olsson
2023-04-17LibWeb: Remove outdated FIXMEs around WebIDL::invoke_callback usagesMatthew Olsson
2023-04-17LibWeb: Properly reject abrupt completion in clean_up_on_returnMatthew Olsson
2023-04-14LibWeb/Streams: Rename one instance of 'e' to 'exception'Linus Groh
This is what we call it everywhere else.
2023-04-14LibWeb/Streams: Add FIXMEs to incorrect invoke_callback() invocationsLinus Groh
2023-04-14LibWeb/Streams: Use MUST_OR_THROW_OOM() when creating JS exceptionsLinus Groh
This cannot throw unless we OOM.
2023-04-14LibWeb/Streams: Make most algorithms return a NonnullGCPtrLinus Groh
Only the 'start algorithm' ever returns undefined (as a null GCPtr), so let's type the others more strictly.
2023-04-14LibWeb: Propogate OOM errors from readable_stream_reader_generic_cancelMatthew Olsson
2023-04-14LibWeb: Add ByteStreamController to ReadableStreamController typeMatthew Olsson
2023-04-14LibWeb: Mostly implement ReadableByteStreamController.[[PullSteps]]Matthew Olsson
2023-04-14LibWeb: Implement ReadableByteStreamController.[[CancelSteps]]Matthew Olsson
2023-04-14LibWeb: Expose ReadableStream::m_state and use in AOsMatthew Olsson
This allows us to be a bit closer to the spec phrasing and matches what we do with WritableStream
2023-04-13LibWeb/Streams: Fix inconsistent uses of realm() and vm()Linus Groh
This is not documented yet, but the preferred style is getting both upfront instead of inlining various kinds of calls in places that use the realm and vm.
2023-04-12LibWeb: Add ReadableStreamByteController interfaceMatthew Olsson
2023-04-10LibWeb: Set up the DefaultController when constructing a WritableStreamMatthew Olsson
2023-04-10LibWeb: Implement WritableStreamDefaultWriter.write()Matthew Olsson
2023-04-10LibWeb: Accept a JS::Value for size in enqueue_value instead of a doubleMatthew Olsson
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-09LibWeb: Implement WritableStreamDefaultWriter.releaseLock()Matthew Olsson
2023-04-09LibWeb: Implement WritableStreamDefaultWriter.close()Matthew Olsson
2023-04-09LibWeb: Implement WritableStreamDefaultWriter.abort()Matthew Olsson
2023-04-09LibWeb: Implement WritableStream.abort()Matthew Olsson
2023-04-09LibWeb: Implement WritableStream.getWriter()Matthew Olsson
2023-04-09LibWeb: Implement WritableStream.close()Matthew Olsson
2023-04-09LibWeb: Add the WritableStreamDefaultControllerMatthew Olsson
2023-04-06LibWeb: Add the WritableStreamDefaultWriter interfaceMatthew Olsson
2023-04-06LibWeb: Add the WritableStream interfaceMatthew Olsson
2023-04-06LibWeb: Move property_to_callback to Streams/AbstractOperationsMatthew Olsson
This will be necessary for UnderlyingSink, which is WritableStream's equivalent of UnderlyingSource, and functions in much the same way.
2023-04-01LibWeb: Add ReadableStream.locked/cancel()/getReader()Matthew Olsson
2023-04-01LibWeb: Implement ReadableStream's constructorMatthew Olsson
2023-04-01LibWeb: Add ReadableStreamDefaultControllerMatthew Olsson
2023-04-01LibWeb: Add ReadableStreamDefaultReaderMatthew Olsson
2023-04-01LibWeb: Add the ReadableStreamGenericReader mixin interfaceMatthew Olsson
2022-09-22LibWeb: Start fleshing out the ReadableStream interfaceLinus Groh
This is so we can just assume it exists in Fetch APIs (while still skipping functionality that relies on a full implementation, of course).