mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add a couple ad-hoc BufferSource AOs
These helpers will be used by CompressionStream/DecompressionStream.
This commit is contained in:
committed by
Andreas Kling
parent
35ba7c7e00
commit
c0da3e356a
Notes:
github-actions[bot]
2024-11-17 22:22:07 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c0da3e356ae Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2370
@@ -17,6 +17,8 @@
|
||||
|
||||
namespace Web::WebIDL {
|
||||
|
||||
bool is_buffer_source_type(JS::Value);
|
||||
GC::Ptr<JS::ArrayBuffer> underlying_buffer_source(JS::Object& buffer_source);
|
||||
ErrorOr<ByteBuffer> get_buffer_source_copy(JS::Object const& buffer_source);
|
||||
|
||||
JS::Completion call_user_object_operation(WebIDL::CallbackType& callback, String const& operation_name, Optional<JS::Value> this_argument, GC::MarkedVector<JS::Value> args);
|
||||
|
||||
Reference in New Issue
Block a user