aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/File.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/File.webidl')
-rw-r--r--components/script/dom/webidls/File.webidl14
1 files changed, 9 insertions, 5 deletions
diff --git a/components/script/dom/webidls/File.webidl b/components/script/dom/webidls/File.webidl
index 7c0d4be7c29..6e7797c4d5e 100644
--- a/components/script/dom/webidls/File.webidl
+++ b/components/script/dom/webidls/File.webidl
@@ -2,13 +2,17 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-// http://dev.w3.org/2006/webapi/FileAPI/#dfn-file
+// https://w3c.github.io/FileAPI/#file
-// [Constructor(sequence<(Blob or DOMString or ArrayBufferView or ArrayBuffer)> fileBits,
-// [EnsureUTF16] DOMString fileName, optional FilePropertyBag options)]
+[Constructor(sequence<BlobPart> fileBits,
+ DOMString fileName,
+ optional FilePropertyBag options),
+ Exposed=Window/*,Worker*/]
interface File : Blob {
-
readonly attribute DOMString name;
- // readonly attribute Date lastModifiedDate;
+ readonly attribute long long lastModified;
+};
+dictionary FilePropertyBag : BlobPropertyBag {
+ long long lastModified;
};