1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

LibWeb: Implement ReadableStreamBYOBRequest.respondWithNewView

The AO behind this prototype was added in commit ed1076d9ca,
so we can now trivially expose the prototype as well.
This commit is contained in:
Timothy Flynn 2024-01-29 07:50:36 -05:00 committed by Tim Flynn
parent 3c11a1551d
commit 5a99a6afb4
5 changed files with 103 additions and 1 deletions

View file

@ -30,6 +30,7 @@ public:
void set_view(JS::GCPtr<WebIDL::ArrayBufferView> value) { m_view = value; }
WebIDL::ExceptionOr<void> respond(WebIDL::UnsignedLongLong bytes_written);
WebIDL::ExceptionOr<void> respond_with_new_view(JS::Handle<WebIDL::ArrayBufferView> const& view);
private:
explicit ReadableStreamBYOBRequest(JS::Realm&);