Index: core/fileapi/File.idl |
diff --git a/core/fileapi/File.idl b/core/fileapi/File.idl |
index 56be7fcc6740aca782d455f172a30659619e4ee7..2daf799c2ca3be5391c77c312f85191b8f89d479 100644 |
--- a/core/fileapi/File.idl |
+++ b/core/fileapi/File.idl |
@@ -23,9 +23,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface File : Blob { |
+[ |
+ CustomConstructor(sequence<any> blobParts, DOMString fileName, optional BlobPropertyBag options), |
+ GlobalContext=Window&WorkerGlobalScope, |
+] interface File : Blob { |
readonly attribute DOMString name; |
- readonly attribute Date lastModifiedDate; |
+ [Custom=Getter, MeasureAs=FileGetLastModifiedDate] readonly attribute Date lastModifiedDate; |
+ [Custom=Getter, RuntimeEnabled=FileConstructor] readonly attribute long long lastModified; |
[RuntimeEnabled=DirectoryUpload] readonly attribute DOMString webkitRelativePath; |
}; |
- |