1 Test the Blob.close() method, basic functionality.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS blob instanceof window.Blob is true
8 PASS blob.close(); blob.size is 0
9 PASS blob.type is "text/plain"
10 PASS sliced1.size is 3
11 PASS blob.close(); blob.size is 0
12 PASS blob.type is "text/plain"
13 PASS sliced1.size is 3
14 PASS sliced2.size is 1
15 PASS blob.slice(2) threw exception InvalidStateError: Failed to execute 'slice' on 'Blob': Blob has been closed..
16 PASS blob.close() threw exception InvalidStateError: Failed to execute 'close' on 'Blob': Blob has been closed..
17 PASS successfullyParsed is true