mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Implement ReadableStreamBYOBReader::read
Similiarly to the underlying AO's, currently only TypedArrays are supported.
This commit is contained in:
parent
dcb7bb4a92
commit
1daded768d
Notes:
sideshowbarker
2024-07-16 22:54:10 +09:00
Author: https://github.com/shannonbooth
Commit: 1daded768d
Pull-request: https://github.com/SerenityOS/serenity/pull/21983
5 changed files with 138 additions and 1 deletions
|
@ -44,6 +44,8 @@ public:
|
|||
|
||||
virtual ~ReadableStreamBYOBReader() override = default;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> read(JS::Value);
|
||||
|
||||
void release_lock();
|
||||
|
||||
Vector<JS::NonnullGCPtr<ReadIntoRequest>>& read_into_requests() { return m_read_into_requests; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue