mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
LibWeb: Implement URL.createObjectURL and URL.revokeObjectURL
This commit is contained in:
parent
dd36a0c12d
commit
9957d48f48
3 changed files with 40 additions and 0 deletions
|
@ -24,6 +24,9 @@ public:
|
|||
|
||||
virtual ~URL() override;
|
||||
|
||||
static WebIDL::ExceptionOr<String> create_object_url(JS::VM&, JS::NonnullGCPtr<FileAPI::Blob> object);
|
||||
static WebIDL::ExceptionOr<void> revoke_object_url(JS::VM&, StringView url);
|
||||
|
||||
static bool can_parse(JS::VM&, String const& url, Optional<String> const& base = {});
|
||||
|
||||
WebIDL::ExceptionOr<String> href() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue