Definition
File API defines File
[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;
};
This interface is extended in the following specifications:
- File and Directory Entries API
partial interface File { readonly attribute USVString webkitRelativePath; };
Consolidated IDL (across mixin and partials)
[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;
readonly attribute USVString webkitRelativePath;
};
Methods and attributes that return objects implementing File
Referring IDL interfaces/dictionaries
Referring specifications
- File System Standard refers to
File
- HTML Standard refers to
File
- File and Directory Entries API refers to
File
- Web Share API refers to
File
- XMLHttpRequest Standard refers to
File