Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: Source/core/fileapi/File.idl

Issue 80983002: File constructor understands lastModified. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added isolate to v8::Date::New to avoid deprecation warning. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/custom/V8FileCustom.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/File.idl
diff --git a/Source/core/fileapi/File.idl b/Source/core/fileapi/File.idl
index a7eab6e478fb920cd4e12003d1b16cbe6f39ba35..2a7fff421750d98c2e88224a451127c5eaf7032e 100644
--- a/Source/core/fileapi/File.idl
+++ b/Source/core/fileapi/File.idl
@@ -28,7 +28,7 @@
CustomConstructor(sequence<any> blobParts, DOMString fileName, optional BlobPropertyBag options)
] interface File : Blob {
readonly attribute DOMString name;
- [MeasureAs=FileGetLastModifiedDate] 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;
};
-
« no previous file with comments | « Source/bindings/v8/custom/V8FileCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698