blob: 26001d212dde7dc9dc7cc80660bce73a5f55f1b6 [file] [log] [blame]
Received files in worker
Test reading a blob containing non-existent file
readyState: 0
Received error event
readyState: 2
error code: 8
result: null
Received loadend event
Test reading a blob containing existent and non-existent file
readyState: 0
Received error event
readyState: 2
error code: 8
result: null
Received loadend event
Test reading a blob containing empty file
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 0
result:
Received loadend event
Test reading a blob containing empty text
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 0
result:
Received loadend event
Test reading a blob containing empty files and empty texts
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 0
result:
Received loadend event
Test reading a blob containing single file
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 5
result: Hello
Received loadend event
Test reading a blob containing single text
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 5
result: First
Received loadend event
Test reading a blob containing single text as data URL
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 45
result: data:application/octet-stream;base64,Rmlyc3Q=
Received loadend event
Test reading a blob containing single text as data URL (optional content type provided)
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 29
result: data:type/foo;base64,Rmlyc3Q=
Received loadend event
Test reading a blob containing single ArrayBuffer
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received loadend event
Test reading a blob containing sliced file
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 5
result: onder
Received loadend event
Test reading a blob containing sliced text
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 4
result: irst
Received loadend event
Test reading a blob containing sliced ArrayBuffer
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 8
result: 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received loadend event
Test reading a blob containing multiple files
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 19
result: HelloWonderfulWorld
Received loadend event
Test reading a blob containing multiple texts
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 16
result: FirstSecondThird
Received loadend event
Test reading a blob containing multiple ArrayBuffer
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
Received loadend event
Test reading a hybrid blob
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 38
result: FirstHelloSecondWonderfulWorldThird012
Received loadend event
Test reading a sliced hybrid blob
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 12
result: lloSecondWon
Received loadend event
Test reading a triple-sliced hybrid blob
readyState: 0
Received loadstart event
readyState: 1
Received load event
readyState: 2
result size: 30
result: ondWonderfulWorldThird012Foolo
Received loadend event
DONE