mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +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
|
@ -1,3 +1,4 @@
|
|||
#import <FileAPI/Blob.idl>
|
||||
#import <URL/URLSearchParams.idl>
|
||||
|
||||
// https://url.spec.whatwg.org/#url
|
||||
|
@ -21,4 +22,7 @@ interface URL {
|
|||
attribute USVString hash;
|
||||
|
||||
USVString toJSON();
|
||||
|
||||
static DOMString createObjectURL(Blob obj); // FIXME: Should be (Blob or MediaSource).
|
||||
static undefined revokeObjectURL(DOMString url);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue