1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

LibWeb: Introduce the File interface from the FileAPI spec

This commit is contained in:
Kenneth Myhra 2022-07-24 21:32:18 +02:00 committed by Linus Groh
parent df91dbfbb6
commit 890514a057
9 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#import <FileAPI/Blob.idl>
[Exposed=(Window,Worker), Serializable]
interface File : Blob {
constructor(sequence<BlobPart> fileBits, USVString fileName, optional FilePropertyBag options = {});
readonly attribute DOMString name;
readonly attribute long long lastModified;
};
dictionary FilePropertyBag : BlobPropertyBag {
long long lastModified;
};