| OLD | NEW |
| 1 Test the Blob constructor. | 1 Test the Blob constructor. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS (new Blob()) instanceof window.Blob is true | 6 PASS (new Blob()) instanceof window.Blob is true |
| 7 PASS (new Blob(undefined)) instanceof window.Blob is true |
| 7 PASS (new Blob([])) instanceof window.Blob is true | 8 PASS (new Blob([])) instanceof window.Blob is true |
| 8 PASS (new Blob(['hello'])) instanceof window.Blob is true | 9 PASS (new Blob(['hello'])) instanceof window.Blob is true |
| 9 PASS (new Blob(['hello'], {})) instanceof window.Blob is true | 10 PASS (new Blob(['hello'], {})) instanceof window.Blob is true |
| 10 PASS (new Blob(['hello'], {type:'text/html'})) instanceof window.Blob is true | 11 PASS (new Blob(['hello'], {type:'text/html'})) instanceof window.Blob is true |
| 11 PASS (new Blob(['hello'], {type:'text/html', endings:'native'})) instanceof wind
ow.Blob is true | 12 PASS (new Blob(['hello'], {type:'text/html', endings:'native'})) instanceof wind
ow.Blob is true |
| 12 PASS (new Blob(['hello'], {type:'text/html', endings:'transparent'})) instanceof
window.Blob is true | 13 PASS (new Blob(['hello'], {type:'text/html', endings:'transparent'})) instanceof
window.Blob is true |
| 14 PASS (new Blob()).size is 0 |
| 15 PASS (new Blob(undefined)).size is 0 |
| 16 PASS (new Blob()).type is "" |
| 17 PASS (new Blob(undefined)).type is "" |
| 13 PASS new Blob('hello') threw exception TypeError: Failed to construct 'Blob': Th
e 1st argument is neither an array, nor does it have indexed properties.. | 18 PASS new Blob('hello') threw exception TypeError: Failed to construct 'Blob': Th
e 1st argument is neither an array, nor does it have indexed properties.. |
| 14 PASS new Blob(0) threw exception TypeError: Failed to construct 'Blob': The 1st
argument is neither an array, nor does it have indexed properties.. | 19 PASS new Blob(0) threw exception TypeError: Failed to construct 'Blob': The 1st
argument is neither an array, nor does it have indexed properties.. |
| 15 PASS new Blob(null) threw exception TypeError: Failed to construct 'Blob': The 1
st argument is neither an array, nor does it have indexed properties.. | 20 PASS new Blob(null) threw exception TypeError: Failed to construct 'Blob': The 1
st argument is neither an array, nor does it have indexed properties.. |
| 16 PASS (new Blob([])) instanceof window.Blob is true | 21 PASS (new Blob([])) instanceof window.Blob is true |
| 17 PASS (new Blob(['stringPrimitive'])) instanceof window.Blob is true | 22 PASS (new Blob(['stringPrimitive'])) instanceof window.Blob is true |
| 18 PASS (new Blob([String('stringObject')])) instanceof window.Blob is true | 23 PASS (new Blob([String('stringObject')])) instanceof window.Blob is true |
| 19 PASS (new Blob([new Blob])) instanceof window.Blob is true | 24 PASS (new Blob([new Blob])) instanceof window.Blob is true |
| 20 PASS (new Blob([new Blob([new Blob])])) instanceof window.Blob is true | 25 PASS (new Blob([new Blob([new Blob])])) instanceof window.Blob is true |
| 21 PASS (new Blob([12])).size is 2 | 26 PASS (new Blob([12])).size is 2 |
| 22 PASS (new Blob([[]])).size is 0 | 27 PASS (new Blob([[]])).size is 0 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 PASS new Blob([(new Float64Array(100)).buffer, (new Int32Array(100)).buffer, (ne
w Uint8Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is
1400 | 78 PASS new Blob([(new Float64Array(100)).buffer, (new Int32Array(100)).buffer, (ne
w Uint8Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is
1400 |
| 74 PASS new Blob([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).b
uffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buff
er]).size is 1000 | 79 PASS new Blob([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).b
uffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buff
er]).size is 1000 |
| 75 PASS new Blob({length: 0}).size is 0 | 80 PASS new Blob({length: 0}).size is 0 |
| 76 PASS new Blob({length: 1, 0: 'string'}).size is 6 | 81 PASS new Blob({length: 1, 0: 'string'}).size is 6 |
| 77 PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79 | 82 PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79 |
| 78 PASS reader.result.charCodeAt(0) is 0x1F79 | 83 PASS reader.result.charCodeAt(0) is 0x1F79 |
| 79 PASS successfullyParsed is true | 84 PASS successfullyParsed is true |
| 80 | 85 |
| 81 TEST COMPLETE | 86 TEST COMPLETE |
| 82 | 87 |
| OLD | NEW |