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:
parent
df91dbfbb6
commit
890514a057
9 changed files with 139 additions and 0 deletions
13
Userland/Libraries/LibWeb/FileAPI/File.idl
Normal file
13
Userland/Libraries/LibWeb/FileAPI/File.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue