mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Add AO CanCopyDataBlockBytes()
This commit is contained in:
parent
4152870b85
commit
5a9f602fef
Notes:
github-actions[bot]
2024-12-05 18:21:38 +00:00
Author: https://github.com/kennethmyhra
Commit: 5a9f602fef
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2694
Reviewed-by: https://github.com/shannonbooth ✅
2 changed files with 33 additions and 0 deletions
|
@ -188,6 +188,7 @@ void transform_stream_set_up(TransformStream&, GC::Ref<TransformAlgorithm>, GC::
|
|||
void transform_stream_unblock_write(TransformStream&);
|
||||
|
||||
bool is_non_negative_number(JS::Value);
|
||||
bool can_copy_data_block_bytes_buffer(JS::ArrayBuffer const& to_buffer, u64 to_index, JS::ArrayBuffer const& from_buffer, u64 from_index, u64 count);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue