| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 61 tests; 50 PASS, 11 FAIL, 0 TIMEOUT, 0 NOTRUN. | 2 Found 61 tests; 54 PASS, 7 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| 3 PASS Blob interface object | 3 PASS Blob interface object |
| 4 PASS Blob constructor with no arguments | 4 PASS Blob constructor with no arguments |
| 5 PASS Blob constructor with no arguments, without 'new' | 5 PASS Blob constructor with no arguments, without 'new' |
| 6 PASS Blob constructor without brackets | 6 PASS Blob constructor without brackets |
| 7 PASS Blob constructor with undefined as first argument | 7 PASS Blob constructor with undefined as first argument |
| 8 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 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 () { |
| 9 new Blob(arg); | 9 new Blob(arg); |
| 10 }" did not throw | 10 }" did not throw |
| 11 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 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. |
| 12 PASS A plain object with @@iterator and a length property should be treated as a
sequence for the blobParts argument. | 12 PASS A plain object with @@iterator and a length property should be treated as a
sequence for the blobParts argument. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit
h newlines). | 45 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit
h newlines). |
| 46 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. |
| 47 PASS Passing function "function () {}" (index 5) for options should use the defa
ults (with newlines). | 47 PASS Passing function "function () {}" (index 5) for options should use the defa
ults (with newlines). |
| 48 PASS Newlines should not change when endings is 'transparent'. | 48 PASS Newlines should not change when endings is 'transparent'. |
| 49 FAIL Newlines should not change when endings is 'native'. assert_equals: expecte
d 9 but got 8 | 49 FAIL Newlines should not change when endings is 'native'. assert_equals: expecte
d 9 but got 8 |
| 50 PASS Blob with type "" | 50 PASS Blob with type "" |
| 51 PASS Blob with type "a" | 51 PASS Blob with type "a" |
| 52 PASS Blob with type "A" | 52 PASS Blob with type "A" |
| 53 PASS Blob with type "text/html" | 53 PASS Blob with type "text/html" |
| 54 PASS Blob with type "TEXT/HTML" | 54 PASS Blob with type "TEXT/HTML" |
| 55 FAIL Blob with type "å" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. | 55 PASS Blob with type "å" |
| 56 FAIL Blob with type "𐑾" Failed to construct 'Blob': The 'type' property must con
sist of ASCII characters. | 56 PASS Blob with type "𐑾" |
| 57 PASS Blob with type " image/gif " | 57 PASS Blob with type " image/gif " |
| 58 PASS Blob with type "\timage/gif\t" | 58 PASS Blob with type "\timage/gif\t" |
| 59 PASS Blob with type "image/gif;" | 59 PASS Blob with type "image/gif;" |
| 60 FAIL Blob with type "İmage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. | 60 PASS Blob with type "İmage/gif" |
| 61 FAIL Blob with type "ımage/gif" Failed to construct 'Blob': The 'type' property
must consist of ASCII characters. | 61 PASS Blob with type "ımage/gif" |
| 62 PASS Blob with type "image/gif\0" | 62 PASS Blob with type "image/gif\0" |
| 63 PASS Blob with type "unknown/unknown" | 63 PASS Blob with type "unknown/unknown" |
| 64 PASS Blob with type "text/plain" | 64 PASS Blob with type "text/plain" |
| 65 PASS Blob with type "image/png" | 65 PASS Blob with type "image/png" |
| 66 Harness: the test ran to completion. | 66 Harness: the test ran to completion. |
| 67 | 67 |
| OLD | NEW |