OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Blob interface object |
| 3 PASS no-argument Blob constructor |
| 4 FAIL no-argument Blob constructor without 'new' Failed to construct 'Blob': Plea
se use the 'new' operator, this DOM object constructor cannot be called as a fun
ction. |
| 5 PASS no-argument Blob constructor without brackets |
| 6 PASS Passing non-objects, Dates and RegExps for blobParts should throw a TypeErr
or. |
| 7 FAIL A plain object should be treated as a sequence for the blobParts argument.
Failed to construct 'Blob': The 1st argument is neither an array, nor does it ha
ve indexed properties. |
| 8 PASS A plain object with a length property should be treated as a sequence for t
he blobParts argument. |
| 9 PASS A String object should be treated as a sequence for the blobParts argument.
|
| 10 PASS A Uint8Array object should be treated as a sequence for the blobParts argum
ent. |
| 11 PASS The length getter should be invoked and any exceptions should be propagated
. |
| 12 FAIL A platform object that supports indexed properties should be treated as a s
equence for the blobParts argument (overwritten 'length'.) undefined |
| 13 PASS ToUint32 should be applied to the length and any exceptions should be propa
gated. |
| 14 PASS Getters and value conversions should happen in order until an exception is
thrown. |
| 15 PASS ToString should be called on elements of the blobParts array and any except
ions should be propagated. |
| 16 PASS Changes to the blobParts array should be reflected in the returned Blob (po
p). |
| 17 PASS Changes to the blobParts array should be reflected in the returned Blob (un
shift). |
| 18 PASS ToString should be called on elements of the blobParts array. |
| 19 PASS ArrayBuffer elements of the blobParts array should be supported. |
| 20 PASS Passing typed arrays as elements of the blobParts array should work. |
| 21 PASS Passing a Float64Array as element of the blobParts array should work. |
| 22 FAIL Passing an element as the blobParts array should work. Failed to construct
'Blob': The 1st argument is neither an array, nor does it have indexed propertie
s. |
| 23 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (window). |
| 24 PASS Passing an platform object that supports indexed properties as the blobPart
s array should work (window with custom toString). |
| 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[]). |
| 27 PASS Passing a platform array object as the blobParts array should work (Attr[])
. |
| 28 PASS Array with two blobs |
| 29 PASS Array with two buffers |
| 30 PASS Array with two bufferviews |
| 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. |
| 33 PASS options properties should be accessed in lexicographic order. |
| 34 PASS Arguments should be evaluated from left to right. |
| 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).
|
| 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). |
| 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). |
| 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). |
| 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). |
| 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). |
| 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 |
| 49 PASS Blob with type "" |
| 50 PASS Blob with type "a" |
| 51 PASS Blob with type "A" |
| 52 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. |
| 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 " |
| 57 PASS Blob with type "\timage/gif\t" |
| 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. |
| 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" |
| 62 PASS Blob with type "unknown/unknown" |
| 63 PASS Blob with type "text/plain" |
| 64 PASS Blob with type "image/png" |
| 65 Harness: the test ran to completion. |
| 66 |
OLD | NEW |