Auto merge of #6714 - boghison:filelist, r=jdm

Implement a FileList



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6714)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-01 20:16:14 -06:00
commit b7261a2073
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",