| |
| Received files in worker |
| Test reading a non-existent file as array buffer |
| readyState: 0 |
| Received error event |
| readyState: 2 |
| error code: 8 |
| result: null |
| Received loadend event |
| Test reading a non-existent file as binary string |
| readyState: 0 |
| Received error event |
| readyState: 2 |
| error code: 8 |
| result: null |
| Received loadend event |
| Test reading a non-existent file as text |
| readyState: 0 |
| Received error event |
| readyState: 2 |
| error code: 8 |
| result: null |
| Received loadend event |
| Test reading a non-existent file as data URL |
| readyState: 0 |
| Received error event |
| readyState: 2 |
| error code: 8 |
| result: null |
| Received loadend event |
| Test reading an empty file as array buffer |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 0 |
| result: |
| Received loadend event |
| Test reading an empty file as binary string |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 0 |
| result: |
| Received loadend event |
| Test reading an empty file as text |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 0 |
| result: |
| Received loadend event |
| Test reading an empty file as data URL |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: data: |
| Received loadend event |
| Test reading a UTF-8 file as array buffer |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-8 file as binary string |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a binary file as array buffer |
| 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 binary file as binary string |
| 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 UTF-8 file as text |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-16BE BOM file as text |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-16LE BOM file as text |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-8 BOM file as text |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-16BE file as text with UTF-16BE encoding |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-16BE BOM file as text with UTF8 encoding |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-16BE BOM file as text with invalid encoding |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| Test reading a UTF-8 file as data URL |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 31 |
| result: data:text/plain;base64,SGVsbG8= |
| Received loadend event |
| Test calling multiple concurrent read methods |
| readyState: 0 |
| Received exception 11: InvalidStateError |
| Received exception 11: InvalidStateError |
| Received exception 11: InvalidStateError |
| Received exception 11: InvalidStateError |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 31 |
| result: data:text/plain;base64,SGVsbG8= |
| Received loadend event |
| Test reading again after successful read |
| readyState: 0 |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 5 |
| result: Hello |
| Received loadend event |
| readyState after recalling read method: 1 |
| result after recalling read method: null |
| error after recalling read method: null |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 31 |
| result: data:text/plain;base64,SGVsbG8= |
| Received loadend event |
| Test reading again after failed read |
| readyState: 0 |
| Received error event |
| readyState: 2 |
| error code: 8 |
| result: null |
| Received loadend event |
| readyState after recalling read method: 1 |
| result after recalling read method: null |
| error after recalling read method: null |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 31 |
| result: data:text/plain;base64,SGVsbG8= |
| Received loadend event |
| Test result before reading method |
| readyState: 0 |
| result before reading method: null |
| Received loadstart event |
| readyState: 1 |
| Received load event |
| readyState: 2 |
| result size: 0 |
| result: |
| Received loadend event |
| DONE |
| |