diff --git a/source b/source index fd018b599ac..e582316ad7a 100644 --- a/source +++ b/source @@ -83918,6 +83918,61 @@ callback FunctionObjectCallback = undefined (any data);--> +
FileList
interfaceThis interface is a list of File
objects.
[Exposed=(Window,Worker), Serializable]
+interface FileList {
+ getter File? item(unsigned long index);
+ readonly attribute unsigned long length;
+};
+
+
+ A FileList
object has an associated files list, which is a
+ list of File
objects.
FileList
objects are serializable objects.
Their serialization steps, given value and serialized, + are:
+ +Set serialized.[[Files]] to an empty list.
+ +For each file in value, append + the sub-serialization of file to serialized.[[Files]].
Their deserialization steps, given serialized and value, + are:
+ +For each file of + serialized.[[Files]], add the sub-deserialization of file to + value.
The length
+ attribute must return the size of this's files
+ list.
The item(index)
method must run the following
+ steps:
Let files be this's files list.
If index is greater than or equal to the size + of files, return null.
Return files[index].
DragEvent
interface