summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2023-04-02 15:14:21 -0700
committerLinus Groh <mail@linusgroh.de>2023-04-06 22:54:58 +0200
commit78feba401d05966e4339169d0afa48d5f44d9829 (patch)
treec5002aab2f4ec55b908afae6c000b7007bf39671 /Userland/Libraries/LibWeb/Streams/AbstractOperations.h
parent2b6c44852c6cb8127d870ec72b5d4c82df7825e0 (diff)
downloadserenity-78feba401d05966e4339169d0afa48d5f44d9829.zip
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/Streams/AbstractOperations.h')
-rw-r--r--Userland/Libraries/LibWeb/Streams/AbstractOperations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Streams/AbstractOperations.h b/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
index 593188fca6..15a47f6ad4 100644
--- a/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
+++ b/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
@@ -50,4 +50,6 @@ bool readable_stream_default_controller_can_close_or_enqueue(ReadableStreamDefau
WebIDL::ExceptionOr<void> set_up_readable_stream_default_controller(ReadableStream&, ReadableStreamDefaultController&, StartAlgorithm&&, PullAlgorithm&&, CancelAlgorithm&&, double high_water_mark, SizeAlgorithm&&);
WebIDL::ExceptionOr<void> set_up_readable_stream_default_controller_from_underlying_source(ReadableStream&, JS::Value underlying_source_value, UnderlyingSource, double high_water_mark, SizeAlgorithm&&);
+JS::ThrowCompletionOr<JS::Handle<WebIDL::CallbackType>> property_to_callback(JS::VM& vm, JS::Value value, JS::PropertyKey const& property_key);
+
}