Add FileReaderSync skeleton

This commit is contained in:
Zhen Zhang 2016-07-31 00:23:56 +02:00
parent 1ce4be8f6d
commit 47a7d465fd
9 changed files with 54 additions and 25 deletions

View file

@ -1,9 +1,5 @@
[FileReaderSync.worker]
type: testharness
expected: ERROR
[Interface]
expected: FAIL
[readAsText]
expected: FAIL

View file

@ -12,18 +12,6 @@
[FileReader interface: calling readAsArrayBuffer(Blob) on new FileReader() with too few arguments must throw TypeError]
expected: FAIL
[FileReaderSync interface: existence and properties of interface object]
expected: FAIL
[FileReaderSync interface object length]
expected: FAIL
[FileReaderSync interface: existence and properties of interface prototype object]
expected: FAIL
[FileReaderSync interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[FileReaderSync interface: operation readAsArrayBuffer(Blob)]
expected: FAIL
@ -33,12 +21,6 @@
[FileReaderSync interface: operation readAsDataURL(Blob)]
expected: FAIL
[FileReaderSync must be primary interface of new FileReaderSync()]
expected: FAIL
[Stringification of new FileReaderSync()]
expected: FAIL
[FileReaderSync interface: new FileReaderSync() must inherit property "readAsArrayBuffer" with the proper type (0)]
expected: FAIL
@ -57,9 +39,6 @@
[FileReaderSync interface: calling readAsDataURL(Blob) on new FileReaderSync() with too few arguments must throw TypeError]
expected: FAIL
[FileReaderSync interface object name]
expected: FAIL
[Window interface: existence and properties of interface object]
expected: FAIL

View file

@ -41,3 +41,4 @@
[Check forEach method]
expected: FAIL

View file

@ -5,3 +5,4 @@
[Headers forEach loop should stop if callback is throwing exception]
expected: FAIL

View file

@ -9,3 +9,4 @@
[Headers has values method]
expected: FAIL

View file

@ -41,6 +41,7 @@ test_interfaces([
"File",
"FileList",
"FileReader",
"FileReaderSync",
"FocusEvent",
"FormData",
"HashChangeEvent",