mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
LibWeb: Implement Web::FileAPI::Blob::array_buffer to spec
This commit is contained in:
parent
b0bc8f2282
commit
501b698385
2 changed files with 25 additions and 15 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> stream();
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> text();
|
||||
JS::Promise* array_buffer();
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> array_buffer();
|
||||
|
||||
ReadonlyBytes bytes() const { return m_byte_buffer.bytes(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue