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