| 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. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 an platform object that supports indexed properties as the blobPart
s array should work (attributes). | 26 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (attributes). |
| 27 PASS Passing a FrozenArray as the blobParts array should work (FrozenArray<Messa
gePort>). | 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 PASS The 'endings' property should be ignored. |
| 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. |
| 38 PASS Passing undefined (index 1) for options should use the defaults (with newli
nes). | 38 PASS Passing undefined (index 1) for options should use the defaults (with newli
nes). |
| 39 PASS Passing object "[object Object]" (index 2) for options should use the defau
lts. | 39 PASS Passing object "[object Object]" (index 2) for options should use the defau
lts. |
| 40 PASS Passing object "[object Object]" (index 2) for options should use the defau
lts (with newlines). | 40 PASS Passing object "[object Object]" (index 2) for options should use the defau
lts (with newlines). |
| 41 PASS Passing object "[object Object]" (index 3) for options should use the defau
lts. | 41 PASS Passing object "[object Object]" (index 3) for options should use the defau
lts. |
| 42 PASS Passing object "[object Object]" (index 3) for options should use the defau
lts (with newlines). | 42 PASS Passing object "[object Object]" (index 3) for options should use the defau
lts (with newlines). |
| 43 PASS Passing object "/regex/" (index 4) for options should use the defaults. | 43 PASS Passing object "/regex/" (index 4) for options should use the defaults. |
| 44 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit
h newlines). | 44 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit
h newlines). |
| 45 PASS Passing function "function () {}" (index 5) for options should use the defa
ults. | 45 PASS Passing function "function () {}" (index 5) for options should use the defa
ults. |
| 46 PASS Passing function "function () {}" (index 5) for options should use the defa
ults (with newlines). | 46 PASS Passing function "function () {}" (index 5) for options should use the defa
ults (with newlines). |
| 47 PASS Newlines should not change when endings is 'transparent'. | 47 PASS Newlines should not change when endings is 'transparent'. |
| 48 FAIL Newlines should not change when endings is 'native'. assert_equals: expecte
d 9 but got 8 | 48 PASS Newlines should not change when endings is 'native'. |
| 49 PASS Blob with type "" | 49 PASS Blob with type "" |
| 50 PASS Blob with type "a" | 50 PASS Blob with type "a" |
| 51 PASS Blob with type "A" | 51 PASS Blob with type "A" |
| 52 PASS Blob with type "text/html" | 52 PASS Blob with type "text/html" |
| 53 PASS Blob with type "TEXT/HTML" | 53 PASS Blob with type "TEXT/HTML" |
| 54 FAIL Blob with type "å" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. | 54 FAIL Blob with type "å" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. |
| 55 FAIL Blob with type "𐑾" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. | 55 FAIL Blob with type "𐑾" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. |
| 56 PASS Blob with type " image/gif " | 56 PASS Blob with type " image/gif " |
| 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 |