summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/FileAPI/File.idl
blob: 4f5712fb9e51a92d1ee90c60d55ac9caf76d1fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
};