mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Implement Blob::bytes()
Implements https://w3c.github.io/FileAPI/#dom-blob-bytes.
This commit is contained in:
committed by
Andreas Kling
parent
1ce9bbdd6d
commit
c5f1e47883
@@ -611,7 +611,7 @@ URL::URL parse(StringView input, Optional<URL::URL> const& base_url)
|
||||
if (blob_url_entry.has_value()) {
|
||||
url.set_blob_url_entry(URL::BlobURLEntry {
|
||||
.type = blob_url_entry->object->type(),
|
||||
.byte_buffer = MUST(ByteBuffer::copy(blob_url_entry->object->bytes())),
|
||||
.byte_buffer = MUST(ByteBuffer::copy(blob_url_entry->object->raw_bytes())),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user