1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibWeb: Add support for XHR response type Blob

This commit is contained in:
Kenneth Myhra 2022-07-14 14:32:04 +02:00 committed by Linus Groh
parent df8c49f6bf
commit 5806eeec08
3 changed files with 13 additions and 2 deletions

View file

@ -47,6 +47,8 @@ public:
JS::Promise* text();
JS::Promise* array_buffer();
virtual JS::Object* create_wrapper(JS::GlobalObject&);
private:
Blob() = default;
static DOM::ExceptionOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts);