mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement FileReader.{readAsText,readAsDataUrl}. Fixes #6172
This commit is contained in:
parent
f44d75e5b2
commit
27e760e28d
20 changed files with 565 additions and 326 deletions
|
@ -9,9 +9,6 @@
|
|||
[A plain object with a length property should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[A String object should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[A Uint8Array object should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,9 +45,6 @@
|
|||
[Passing an element as the blobParts array should work.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an platform object that supports indexed properties as the blobParts array should work (window).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an platform object that supports indexed properties as the blobParts array should work (window with custom toString).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,45 +69,3 @@
|
|||
[Array with mixed types]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null (index 0) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null (index 0) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing undefined (index 1) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing undefined (index 1) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "[object Object\]" (index 2) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "[object Object\]" (index 2) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "[object Object\]" (index 3) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "[object Object\]" (index 3) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "/regex/" (index 4) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing object "/regex/" (index 4) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing function "function () {}" (index 5) for options should use the defaults.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing function "function () {}" (index 5) for options should use the defaults (with newlines).]
|
||||
expected: FAIL
|
||||
|
||||
[Newlines should not change when endings is 'transparent'.]
|
||||
expected: FAIL
|
||||
|
||||
[Newlines should not change when endings is 'native'.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,47 +1,8 @@
|
|||
[Blob-slice.html]
|
||||
type: testharness
|
||||
[no-argument Blob slice]
|
||||
expected: FAIL
|
||||
|
||||
[blob1.]
|
||||
expected: FAIL
|
||||
|
||||
[blob2.]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,1).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,2).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,4).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,5).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,6).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,7).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (0,8).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,1).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,2).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -60,9 +21,6 @@
|
|||
[Slicing test: slice (1,7).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (2,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (2,1).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -87,9 +45,6 @@
|
|||
[Slicing test: slice (3,4).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,5).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,0).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -150,9 +105,6 @@
|
|||
[Slicing test: slice (8,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("ÿ")]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("te(xt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -207,24 +159,3 @@
|
|||
[Invalid contentType ("te xt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("te\\txt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("te\\0xt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("te\\x1fxt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid contentType ("text/plain")]
|
||||
expected: FAIL
|
||||
|
||||
[Valid contentType ("TEXT/PLAIN")]
|
||||
expected: FAIL
|
||||
|
||||
[Valid contentType ("text/plain;charset = UTF-8")]
|
||||
expected: FAIL
|
||||
|
||||
[Valid contentType ("text/plain;charset=UTF-8")]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue