Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / workers / worker-read-file-async-expected.txt
blob805f572038ac8c6ba2c2e1706b6834638a789311
2 Received files in worker
3 Received a FileList
4 Test reading a non-existent file as array buffer
5 readyState: 0
6 Received error event
7 readyState: 2
8 error name: NotFoundError
9 result: null
10 Received loadend event
11 Test reading a non-existent file as binary string
12 readyState: 0
13 Received error event
14 readyState: 2
15 error name: NotFoundError
16 result: null
17 Received loadend event
18 Test reading a non-existent file as text
19 readyState: 0
20 Received error event
21 readyState: 2
22 error name: NotFoundError
23 result: null
24 Received loadend event
25 Test reading a non-existent file as data URL
26 readyState: 0
27 Received error event
28 readyState: 2
29 error name: NotFoundError
30 result: null
31 Received loadend event
32 Test reading an empty file as array buffer
33 readyState: 0
34 Received loadstart event
35 readyState: 1
36 Received load event
37 readyState: 2
38 result size: 0
39 result: 
40 Received loadend event
41 Test reading an empty file as binary string
42 readyState: 0
43 Received loadstart event
44 readyState: 1
45 Received load event
46 readyState: 2
47 result size: 0
48 result: 
49 Received loadend event
50 Test reading an empty file as text
51 readyState: 0
52 Received loadstart event
53 readyState: 1
54 Received load event
55 readyState: 2
56 result size: 0
57 result: 
58 Received loadend event
59 Test reading an empty file as data URL
60 readyState: 0
61 Received loadstart event
62 readyState: 1
63 Received load event
64 readyState: 2
65 result size: 5
66 result: data:
67 Received loadend event
68 Test reading a UTF-8 file as array buffer
69 readyState: 0
70 Received loadstart event
71 readyState: 1
72 Received load event
73 readyState: 2
74 result size: 5
75 result: Hello
76 Received loadend event
77 Test reading a UTF-8 file as binary string
78 readyState: 0
79 Received loadstart event
80 readyState: 1
81 Received load event
82 readyState: 2
83 result size: 5
84 result: Hello
85 Received loadend event
86 Test reading a binary file as array buffer
87 readyState: 0
88 Received loadstart event
89 readyState: 1
90 Received load event
91 readyState: 2
92 result size: 9
93 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
94 Received loadend event
95 Test reading a binary file as binary string
96 readyState: 0
97 Received loadstart event
98 readyState: 1
99 Received load event
100 readyState: 2
101 result size: 9
102 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
103 Received loadend event
104 Test reading a UTF-8 file as text
105 readyState: 0
106 Received loadstart event
107 readyState: 1
108 Received load event
109 readyState: 2
110 result size: 5
111 result: Hello
112 Received loadend event
113 Test reading a UTF-16BE BOM file as text
114 readyState: 0
115 Received loadstart event
116 readyState: 1
117 Received load event
118 readyState: 2
119 result size: 5
120 result: Hello
121 Received loadend event
122 Test reading a UTF-16LE BOM file as text
123 readyState: 0
124 Received loadstart event
125 readyState: 1
126 Received load event
127 readyState: 2
128 result size: 5
129 result: Hello
130 Received loadend event
131 Test reading a UTF-8 BOM file as text
132 readyState: 0
133 Received loadstart event
134 readyState: 1
135 Received load event
136 readyState: 2
137 result size: 5
138 result: Hello
139 Received loadend event
140 Test reading a UTF-16BE file as text with UTF-16BE encoding
141 readyState: 0
142 Received loadstart event
143 readyState: 1
144 Received load event
145 readyState: 2
146 result size: 5
147 result: Hello
148 Received loadend event
149 Test reading a UTF-16BE BOM file as text with UTF8 encoding
150 readyState: 0
151 Received loadstart event
152 readyState: 1
153 Received load event
154 readyState: 2
155 result size: 5
156 result: Hello
157 Received loadend event
158 Test reading a UTF-16BE BOM file as text with invalid encoding
159 readyState: 0
160 Received loadstart event
161 readyState: 1
162 Received load event
163 readyState: 2
164 result size: 5
165 result: Hello
166 Received loadend event
167 Test reading a UTF-8 file as data URL
168 readyState: 0
169 Received loadstart event
170 readyState: 1
171 Received load event
172 readyState: 2
173 result size: 31
174 result: data:text/plain;base64,SGVsbG8=
175 Received loadend event
176 Test calling multiple concurrent read methods
177 readyState: 0
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
183 readyState: 1
184 Received load event
185 readyState: 2
186 result size: 31
187 result: data:text/plain;base64,SGVsbG8=
188 Received loadend event
189 Test reading again after successful read
190 readyState: 0
191 Received loadstart event
192 readyState: 1
193 Received load event
194 readyState: 2
195 result size: 5
196 result: Hello
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
202 readyState: 1
203 Received load event
204 readyState: 2
205 result size: 31
206 result: data:text/plain;base64,SGVsbG8=
207 Received loadend event
208 Test reading again after failed read
209 readyState: 0
210 Received error event
211 readyState: 2
212 error name: NotFoundError
213 result: null
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
219 readyState: 1
220 Received load event
221 readyState: 2
222 result size: 31
223 result: data:text/plain;base64,SGVsbG8=
224 Received loadend event
225 Test result before reading method
226 readyState: 0
227 result before reading method: null
228 Received loadstart event
229 readyState: 1
230 Received load event
231 readyState: 2
232 result size: 0
233 result: 
234 Received loadend event
235 DONE