Implement the FileList interface. Fixes #6708

This commit is contained in:
Bogdan Cuza 2015-07-23 19:52:39 +03:00 committed by Bogdan
parent effb17b336
commit 8bc66f97f8
9 changed files with 65 additions and 45 deletions

View file

@ -1,11 +1,5 @@
[filelist.html]
type: testharness
[Check if window has a FileList property]
expected: FAIL
[Check if FileList.length is 0]
expected: FAIL
[Check if item is a instanceof Function]
expected: FAIL

View file

@ -48,24 +48,6 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
expected: FAIL
[FileList interface: existence and properties of interface object]
expected: FAIL
[FileList interface object length]
expected: FAIL
[FileList interface: existence and properties of interface prototype object]
expected: FAIL
[FileList interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[FileList interface: operation item(unsigned long)]
expected: FAIL
[FileList interface: attribute length]
expected: FAIL
[FileList must be primary interface of file_input.files]
expected: FAIL

View file

@ -48,24 +48,6 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
expected: FAIL
[FileList interface: existence and properties of interface object]
expected: FAIL
[FileList interface object length]
expected: FAIL
[FileList interface: existence and properties of interface prototype object]
expected: FAIL
[FileList interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[FileList interface: operation item(unsigned long)]
expected: FAIL
[FileList interface: attribute length]
expected: FAIL
[FileReader interface: existence and properties of interface object]
expected: FAIL

View file

@ -9,9 +9,6 @@
[The MessageChannel interface object should be exposed.]
expected: FAIL
[The FileList interface object should be exposed.]
expected: FAIL
[The CanvasProxy interface object should be exposed.]
expected: FAIL

View file

@ -99,6 +99,7 @@ var interfaceNamesInGlobalScope = [
"Event",
"EventTarget",
"File",
"FileList",
"FileReader",
"FormData",
"HTMLAnchorElement",