2 Received files in worker
4 Test reading a non-existent file as array buffer
8 error name: NotFoundError
10 Received loadend event
11 Test reading a non-existent file as binary string
15 error name: NotFoundError
17 Received loadend event
18 Test reading a non-existent file as text
22 error name: NotFoundError
24 Received loadend event
25 Test reading a non-existent file as data URL
29 error name: NotFoundError
31 Received loadend event
32 Test reading an empty file as array buffer
34 Received loadstart event
40 Received loadend event
41 Test reading an empty file as binary string
43 Received loadstart event
49 Received loadend event
50 Test reading an empty file as text
52 Received loadstart event
58 Received loadend event
59 Test reading an empty file as data URL
61 Received loadstart event
67 Received loadend event
68 Test reading a UTF-8 file as array buffer
70 Received loadstart event
76 Received loadend event
77 Test reading a UTF-8 file as binary string
79 Received loadstart event
85 Received loadend event
86 Test reading a binary file as array buffer
88 Received loadstart event
93 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
94 Received loadend event
95 Test reading a binary file as binary string
97 Received loadstart event
102 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
103 Received loadend event
104 Test reading a UTF-8 file as text
106 Received loadstart event
112 Received loadend event
113 Test reading a UTF-16BE BOM file as text
115 Received loadstart event
121 Received loadend event
122 Test reading a UTF-16LE BOM file as text
124 Received loadstart event
130 Received loadend event
131 Test reading a UTF-8 BOM file as text
133 Received loadstart event
139 Received loadend event
140 Test reading a UTF-16BE file as text with UTF-16BE encoding
142 Received loadstart event
148 Received loadend event
149 Test reading a UTF-16BE BOM file as text with UTF8 encoding
151 Received loadstart event
157 Received loadend event
158 Test reading a UTF-16BE BOM file as text with invalid encoding
160 Received loadstart event
166 Received loadend event
167 Test reading a UTF-8 file as data URL
169 Received loadstart event
174 result: data:text/plain;base64,SGVsbG8=
175 Received loadend event
176 Test calling multiple concurrent read methods
178 Received exception, code: 11, name: InvalidStateError, message: Failed to execute 'readAsArrayBuffer' on 'FileReader': The object is already busy reading Blobs.
179 Received exception, code: 11, name: InvalidStateError, message: Failed to execute 'readAsBinaryString' on 'FileReader': The object is already busy reading Blobs.
180 Received exception, code: 11, name: InvalidStateError, message: Failed to execute 'readAsText' on 'FileReader': The object is already busy reading Blobs.
181 Received exception, code: 11, name: InvalidStateError, message: Failed to execute 'readAsDataURL' on 'FileReader': The object is already busy reading Blobs.
182 Received loadstart event
187 result: data:text/plain;base64,SGVsbG8=
188 Received loadend event
189 Test reading again after successful read
191 Received loadstart event
197 Received loadend event
198 readyState after recalling read method: 1
199 result after recalling read method:
200 error after recalling read method: null
201 Received loadstart event
206 result: data:text/plain;base64,SGVsbG8=
207 Received loadend event
208 Test reading again after failed read
212 error name: NotFoundError
214 Received loadend event
215 readyState after recalling read method: 1
216 result after recalling read method:
217 error after recalling read method: null
218 Received loadstart event
223 result: data:text/plain;base64,SGVsbG8=
224 Received loadend event
225 Test result before reading method
227 result before reading method: null
228 Received loadstart event
234 Received loadend event