Received files in worker
Test reading a blob containing non-existent file
result size: 0
result:
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing existent and non-existent file
result size: 5
result: Hello
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing empty file
result size: 0
result:
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing empty text
result size: 0
result:
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing empty files and empty texts
result size: 0
result:
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing single file
result size: 5
result: Hello
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing single text
result size: 5
result: First
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing single text as data URL
result size: 45
result: data:application/octet-stream;base64,Rmlyc3Q=
Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing single text as data URL (optional content type provided)
result size: 29
result: data:type/foo;base64,Rmlyc3Q=
Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing single ArrayBuffer
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing sliced file
result size: 5
result: onder
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing sliced text
result size: 4
result: irst
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing sliced ArrayBuffer
result size: 8
result: 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing multiple files
result size: 19
result: HelloWonderfulWorld
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing multiple texts
result size: 16
result: FirstSecondThird
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a blob containing multiple ArrayBuffer
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a hybrid blob
result size: 38
result: FirstHelloSecondWonderfulWorldThird012
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a sliced hybrid blob
result size: 12
result: lloSecondWon
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
Test reading a triple-sliced hybrid blob
result size: 30
result: ondWonderfulWorldThird012Foolo
Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
DONE