LibWeb: Add AO initialize_writable_stream()

This commit is contained in:
Kenneth Myhra 2023-07-08 06:48:25 +02:00 committed by Andreas Kling
commit 7d8f24c227
Notes: sideshowbarker 2024-07-16 23:08:48 +09:00
2 changed files with 25 additions and 0 deletions

View file

@ -90,6 +90,8 @@ WebIDL::ExceptionOr<void> readable_byte_stream_controller_handle_queue_drain(Rea
void readable_byte_stream_controller_invalidate_byob_request(ReadableByteStreamController&);
bool readable_byte_stream_controller_should_call_pull(ReadableByteStreamController const&);
void initialize_writable_stream(WritableStream&);
WebIDL::ExceptionOr<JS::NonnullGCPtr<WritableStreamDefaultWriter>> acquire_writable_stream_default_writer(WritableStream&);
bool is_writable_stream_locked(WritableStream const&);
WebIDL::ExceptionOr<void> set_up_writable_stream_default_writer(WritableStreamDefaultWriter&, WritableStream&);