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

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

Issue 1153543012: Sync the File API interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months 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/core/fileapi/BlobPropertyBag.idl ('k') | Source/core/fileapi/FileError.idl » ('j') | 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 17d299c6072a0f2fbeeb3cab158cbaea05028246..666b073d82c8315f63bdbbca46fdff93aebeb7be 100644
--- a/Source/core/fileapi/File.idl
+++ b/Source/core/fileapi/File.idl
@@ -23,16 +23,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// TODO(jsbell): fileName parameter has [EnsureUTF16] in the spec; use USVString?
+// https://w3c.github.io/FileAPI/#file
-// http://dev.w3.org/2006/webapi/FileAPI/#dfn-file
[
+ // TODO(jsbell): fileName parameter has [EnsureUTF16] in the spec; use
+ // USVString? https://github.com/w3c/FileAPI/issues/9
Constructor(sequence<(Blob or DOMString or ArrayBufferView or ArrayBuffer)> fileBits, DOMString fileName, optional FilePropertyBag options),
RaisesException=Constructor,
Exposed=(Window,Worker),
] interface File : Blob {
readonly attribute DOMString name;
readonly attribute long long lastModified;
+
+ // Non-standard APIs
[MeasureAs=FileGetLastModifiedDate] readonly attribute Date lastModifiedDate;
[MeasureAs=PrefixedFileRelativePath] readonly attribute DOMString webkitRelativePath;
};
« no previous file with comments | « Source/core/fileapi/BlobPropertyBag.idl ('k') | Source/core/fileapi/FileError.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698