mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Introduce the File interface from the FileAPI spec
This commit is contained in:
parent
df91dbfbb6
commit
890514a057
9 changed files with 139 additions and 0 deletions
|
@ -52,6 +52,11 @@ Blob::Blob(ByteBuffer byte_buffer, String type)
|
|||
{
|
||||
}
|
||||
|
||||
Blob::Blob(ByteBuffer byte_buffer)
|
||||
: m_byte_buffer(move(byte_buffer))
|
||||
{
|
||||
}
|
||||
|
||||
// https://w3c.github.io/FileAPI/#ref-for-dom-blob-blob
|
||||
DOM::ExceptionOr<NonnullRefPtr<Blob>> Blob::create(Optional<Vector<BlobPart>> const& blob_parts, Optional<BlobPropertyBag> const& options)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue