mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Add a couple ad-hoc BufferSource AOs
These helpers will be used by CompressionStream/DecompressionStream.
This commit is contained in:
parent
35ba7c7e00
commit
c0da3e356a
Notes:
github-actions[bot]
2024-11-17 22:22:07 +00:00
Author: https://github.com/trflynn89
Commit: c0da3e356a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2370
2 changed files with 23 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue