From df91dbfbb631e032d5cacef8077709ee3f0303b7 Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Mon, 25 Jul 2022 23:08:55 +0200 Subject: [PATCH] LibWeb: Add missing spec links to the Blob interface --- Userland/Libraries/LibWeb/FileAPI/Blob.h | 2 ++ 1 file changed, 2 insertions(+) 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 = {});