1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibWeb: Implement the CloneAsUint8Array AO

This commit is contained in:
Timothy Flynn 2024-01-28 12:20:55 -05:00 committed by Andreas Kling
parent debfe996d7
commit 5e5b42730c
2 changed files with 22 additions and 0 deletions

View file

@ -178,6 +178,7 @@ WebIDL::ExceptionOr<void> transform_stream_set_backpressure(TransformStream&, bo
bool is_non_negative_number(JS::Value);
bool can_transfer_array_buffer(JS::ArrayBuffer const& array_buffer);
WebIDL::ExceptionOr<JS::Value> clone_as_uint8_array(JS::Realm&, WebIDL::ArrayBufferView&);
WebIDL::ExceptionOr<JS::Value> structured_clone(JS::Realm&, JS::Value value);
JS::Value create_close_sentinel();