diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.h b/Userland/Libraries/LibWeb/FileAPI/Blob.h index 40b01498e9..064e75275d 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.h +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.h @@ -40,7 +40,9 @@ public: static DOM::ExceptionOr> create(Optional> const& blob_parts = {}, Optional const& options = {}); static DOM::ExceptionOr> create_with_global_object(Bindings::WindowObject&, Optional> const& blob_parts = {}, Optional const& options = {}); + // https://w3c.github.io/FileAPI/#dfn-size u64 size() const { return m_byte_buffer.size(); } + // https://w3c.github.io/FileAPI/#dfn-type String const& type() const { return m_type; } DOM::ExceptionOr> slice(Optional start = {}, Optional end = {}, Optional const& content_type = {});