OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS Blob interface object | 2 PASS Blob interface object |
3 PASS Blob constructor with no arguments | 3 PASS Blob constructor with no arguments |
4 PASS Blob constructor with no arguments, without 'new' | 4 PASS Blob constructor with no arguments, without 'new' |
5 PASS Blob constructor without brackets | 5 PASS Blob constructor without brackets |
6 PASS Blob constructor with undefined as first argument | 6 PASS Blob constructor with undefined as first argument |
7 FAIL Passing non-objects, Dates and RegExps for blobParts should throw a TypeErr
or. assert_throws: Should throw for argument object "[object Object]". function
"function () { | 7 FAIL Passing non-objects, Dates and RegExps for blobParts should throw a TypeErr
or. assert_throws: Should throw for argument object "[object Object]". function
"function () { |
8 new Blob(arg); | 8 new Blob(arg); |
9 }" did not throw | 9 }" did not throw |
10 FAIL A plain object with @@iterator should be treated as a sequence for the blob
Parts argument. Failed to construct 'Blob': The 1st argument is neither an array
, nor does it have indexed properties. | 10 FAIL A plain object with @@iterator should be treated as a sequence for the blob
Parts argument. Failed to construct 'Blob': The 1st argument is neither an array
, nor does it have indexed properties. |
11 PASS A plain object with @@iterator and a length property should be treated as a
sequence for the blobParts argument. | 11 PASS A plain object with @@iterator and a length property should be treated as a
sequence for the blobParts argument. |
12 PASS A String object should be treated as a sequence for the blobParts argument.
| 12 PASS A String object should be treated as a sequence for the blobParts argument.
|
13 PASS A Uint8Array object should be treated as a sequence for the blobParts argum
ent. | 13 PASS A Uint8Array object should be treated as a sequence for the blobParts argum
ent. |
14 PASS The length getter should be invoked and any exceptions should be propagated
. | 14 PASS The length getter should be invoked and any exceptions should be propagated
. |
15 PASS A platform object that supports indexed properties should be treated as a s
equence for the blobParts argument (overwritten 'length'.) | 15 PASS A platform object that supports indexed properties should be treated as a s
equence for the blobParts argument (overwritten 'length'.) |
16 PASS ToUint32 should be applied to the length and any exceptions should be propa
gated. | 16 PASS ToUint32 should be applied to the length and any exceptions should be propa
gated. |
17 FAIL Getters and value conversions should happen in order until an exception is
thrown. assert_array_equals: lengths differ, expected 8 got 5 | 17 FAIL Getters and value conversions should happen in order until an exception is
thrown. assert_array_equals: lengths differ, expected 8 got 5 |
18 PASS ToString should be called on elements of the blobParts array and any except
ions should be propagated. | 18 PASS ToString should be called on elements of the blobParts array and any except
ions should be propagated. |
19 FAIL Changes to the blobParts array should be reflected in the returned Blob (po
p). assert_equals: expected 4 but got 13 | 19 FAIL Changes to the blobParts array should be reflected in the returned Blob (po
p). assert_equals: expected 4 but got 13 |
20 FAIL Changes to the blobParts array should be reflected in the returned Blob (un
shift). assert_equals: expected 4 but got 2 | 20 FAIL Changes to the blobParts array should be reflected in the returned Blob (un
shift). assert_equals: expected 4 but got 2 |
21 PASS ToString should be called on elements of the blobParts array. | 21 PASS ToString should be called on elements of the blobParts array. |
22 PASS ArrayBuffer elements of the blobParts array should be supported. | 22 PASS ArrayBuffer elements of the blobParts array should be supported. |
23 PASS Passing typed arrays as elements of the blobParts array should work. | 23 PASS Passing typed arrays as elements of the blobParts array should work. |
24 PASS Passing a Float64Array as element of the blobParts array should work. | 24 PASS Passing a Float64Array as element of the blobParts array should work. |
25 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (select). | 25 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (select). |
26 PASS Passing a platform array object as the blobParts array should work (Message
Port[]). | 26 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (attributes). |
27 PASS Passing a platform array object as the blobParts array should work (Attr[])
. | 27 PASS Passing a FrozenArray as the blobParts array should work (FrozenArray<Messa
gePort>). |
28 PASS Array with two blobs | 28 PASS Array with two blobs |
29 PASS Array with two buffers | 29 PASS Array with two buffers |
30 PASS Array with two bufferviews | 30 PASS Array with two bufferviews |
31 PASS Array with mixed types | 31 PASS Array with mixed types |
32 FAIL The 'endings' property should be ignored. Failed to construct 'Blob': The p
rovided value 'invalidEnumValue' is not a valid enum value of type NormalizeLine
Endings. | 32 FAIL The 'endings' property should be ignored. Failed to construct 'Blob': The p
rovided value 'invalidEnumValue' is not a valid enum value of type NormalizeLine
Endings. |
33 PASS options properties should be accessed in lexicographic order. | 33 PASS options properties should be accessed in lexicographic order. |
34 PASS Arguments should be evaluated from left to right. | 34 PASS Arguments should be evaluated from left to right. |
35 PASS Passing null (index 0) for options should use the defaults. | 35 PASS Passing null (index 0) for options should use the defaults. |
36 PASS Passing null (index 0) for options should use the defaults (with newlines).
| 36 PASS Passing null (index 0) for options should use the defaults (with newlines).
|
37 PASS Passing undefined (index 1) for options should use the defaults. | 37 PASS Passing undefined (index 1) for options should use the defaults. |
(...skipping 19 matching lines...) Expand all Loading... |
57 PASS Blob with type "\timage/gif\t" | 57 PASS Blob with type "\timage/gif\t" |
58 PASS Blob with type "image/gif;" | 58 PASS Blob with type "image/gif;" |
59 FAIL Blob with type "İmage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. | 59 FAIL Blob with type "İmage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. |
60 FAIL Blob with type "ımage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. | 60 FAIL Blob with type "ımage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. |
61 PASS Blob with type "image/gif\0" | 61 PASS Blob with type "image/gif\0" |
62 PASS Blob with type "unknown/unknown" | 62 PASS Blob with type "unknown/unknown" |
63 PASS Blob with type "text/plain" | 63 PASS Blob with type "text/plain" |
64 PASS Blob with type "image/png" | 64 PASS Blob with type "image/png" |
65 Harness: the test ran to completion. | 65 Harness: the test ran to completion. |
66 | 66 |
OLD | NEW |