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

Unified Diff: core/fileapi/File.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/fileapi/BlobPropertyBag.idl ('k') | core/fileapi/FileError.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fileapi/File.idl
diff --git a/core/fileapi/File.idl b/core/fileapi/File.idl
index c338fa2948e5d1b8cf2edd1a60af626a647a46bc..666b073d82c8315f63bdbbca46fdff93aebeb7be 100644
--- a/core/fileapi/File.idl
+++ b/core/fileapi/File.idl
@@ -23,12 +23,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/FileAPI/#file
+
[
- CustomConstructor(sequence<any> blobParts, DOMString fileName, optional BlobPropertyBag options),
+ // 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;
- [MeasureAs=FileGetLastModifiedDate] readonly attribute Date lastModifiedDate;
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 | « core/fileapi/BlobPropertyBag.idl ('k') | core/fileapi/FileError.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698