Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: LayoutTests/fast/encoding/api/resources/shared.js

Issue 1196733003: Remove duplicate Encoding API tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // This file is based on non-normative encodings.json resource referenced by
2 // http://encoding.spec.whatwg.org/ - a reference copy is saved in this
3 // directory and can be updated via:
4 // wget https://encoding.spec.whatwg.org/encodings.json
5 //
6 // Changes made to this file are:
7 // * UTF encodings listed in `utf_encodings` (for tests)
8 // * encodings.json data assigned to `encodings_table` (for tests)
9
10 // Only these encodings are supported for encoding (vs. decoding)
11 var utf_encodings = ["utf-8", "utf-16le", "utf-16be"];
12
13 var encodings_table = [
14 {
15 "encodings": [
16 {
17 "labels": [
18 "unicode-1-1-utf-8",
19 "utf-8",
20 "utf8"
21 ],
22 "name": "utf-8"
23 }
24 ],
25 "heading": "The Encoding"
26 },
27 {
28 "encodings": [
29 {
30 "labels": [
31 "866",
32 "cp866",
33 "csibm866",
34 "ibm866"
35 ],
36 "name": "ibm866"
37 },
38 {
39 "labels": [
40 "csisolatin2",
41 "iso-8859-2",
42 "iso-ir-101",
43 "iso8859-2",
44 "iso88592",
45 "iso_8859-2",
46 "iso_8859-2:1987",
47 "l2",
48 "latin2"
49 ],
50 "name": "iso-8859-2"
51 },
52 {
53 "labels": [
54 "csisolatin3",
55 "iso-8859-3",
56 "iso-ir-109",
57 "iso8859-3",
58 "iso88593",
59 "iso_8859-3",
60 "iso_8859-3:1988",
61 "l3",
62 "latin3"
63 ],
64 "name": "iso-8859-3"
65 },
66 {
67 "labels": [
68 "csisolatin4",
69 "iso-8859-4",
70 "iso-ir-110",
71 "iso8859-4",
72 "iso88594",
73 "iso_8859-4",
74 "iso_8859-4:1988",
75 "l4",
76 "latin4"
77 ],
78 "name": "iso-8859-4"
79 },
80 {
81 "labels": [
82 "csisolatincyrillic",
83 "cyrillic",
84 "iso-8859-5",
85 "iso-ir-144",
86 "iso8859-5",
87 "iso88595",
88 "iso_8859-5",
89 "iso_8859-5:1988"
90 ],
91 "name": "iso-8859-5"
92 },
93 {
94 "labels": [
95 "arabic",
96 "asmo-708",
97 "csiso88596e",
98 "csiso88596i",
99 "csisolatinarabic",
100 "ecma-114",
101 "iso-8859-6",
102 "iso-8859-6-e",
103 "iso-8859-6-i",
104 "iso-ir-127",
105 "iso8859-6",
106 "iso88596",
107 "iso_8859-6",
108 "iso_8859-6:1987"
109 ],
110 "name": "iso-8859-6"
111 },
112 {
113 "labels": [
114 "csisolatingreek",
115 "ecma-118",
116 "elot_928",
117 "greek",
118 "greek8",
119 "iso-8859-7",
120 "iso-ir-126",
121 "iso8859-7",
122 "iso88597",
123 "iso_8859-7",
124 "iso_8859-7:1987",
125 "sun_eu_greek"
126 ],
127 "name": "iso-8859-7"
128 },
129 {
130 "labels": [
131 "csiso88598e",
132 "csisolatinhebrew",
133 "hebrew",
134 "iso-8859-8",
135 "iso-8859-8-e",
136 "iso-ir-138",
137 "iso8859-8",
138 "iso88598",
139 "iso_8859-8",
140 "iso_8859-8:1988",
141 "visual"
142 ],
143 "name": "iso-8859-8"
144 },
145 {
146 "labels": [
147 "csiso88598i",
148 "iso-8859-8-i",
149 "logical"
150 ],
151 "name": "iso-8859-8-i"
152 },
153 {
154 "labels": [
155 "csisolatin6",
156 "iso-8859-10",
157 "iso-ir-157",
158 "iso8859-10",
159 "iso885910",
160 "l6",
161 "latin6"
162 ],
163 "name": "iso-8859-10"
164 },
165 {
166 "labels": [
167 "iso-8859-13",
168 "iso8859-13",
169 "iso885913"
170 ],
171 "name": "iso-8859-13"
172 },
173 {
174 "labels": [
175 "iso-8859-14",
176 "iso8859-14",
177 "iso885914"
178 ],
179 "name": "iso-8859-14"
180 },
181 {
182 "labels": [
183 "csisolatin9",
184 "iso-8859-15",
185 "iso8859-15",
186 "iso885915",
187 "iso_8859-15",
188 "l9"
189 ],
190 "name": "iso-8859-15"
191 },
192 {
193 "labels": [
194 "iso-8859-16"
195 ],
196 "name": "iso-8859-16"
197 },
198 {
199 "labels": [
200 "cskoi8r",
201 "koi",
202 "koi8",
203 "koi8-r",
204 "koi8_r"
205 ],
206 "name": "koi8-r"
207 },
208 {
209 "labels": [
210 "koi8-u"
211 ],
212 "name": "koi8-u"
213 },
214 {
215 "labels": [
216 "csmacintosh",
217 "mac",
218 "macintosh",
219 "x-mac-roman"
220 ],
221 "name": "macintosh"
222 },
223 {
224 "labels": [
225 "dos-874",
226 "iso-8859-11",
227 "iso8859-11",
228 "iso885911",
229 "tis-620",
230 "windows-874"
231 ],
232 "name": "windows-874"
233 },
234 {
235 "labels": [
236 "cp1250",
237 "windows-1250",
238 "x-cp1250"
239 ],
240 "name": "windows-1250"
241 },
242 {
243 "labels": [
244 "cp1251",
245 "windows-1251",
246 "x-cp1251"
247 ],
248 "name": "windows-1251"
249 },
250 {
251 "labels": [
252 "ansi_x3.4-1968",
253 "ascii",
254 "cp1252",
255 "cp819",
256 "csisolatin1",
257 "ibm819",
258 "iso-8859-1",
259 "iso-ir-100",
260 "iso8859-1",
261 "iso88591",
262 "iso_8859-1",
263 "iso_8859-1:1987",
264 "l1",
265 "latin1",
266 "us-ascii",
267 "windows-1252",
268 "x-cp1252"
269 ],
270 "name": "windows-1252"
271 },
272 {
273 "labels": [
274 "cp1253",
275 "windows-1253",
276 "x-cp1253"
277 ],
278 "name": "windows-1253"
279 },
280 {
281 "labels": [
282 "cp1254",
283 "csisolatin5",
284 "iso-8859-9",
285 "iso-ir-148",
286 "iso8859-9",
287 "iso88599",
288 "iso_8859-9",
289 "iso_8859-9:1989",
290 "l5",
291 "latin5",
292 "windows-1254",
293 "x-cp1254"
294 ],
295 "name": "windows-1254"
296 },
297 {
298 "labels": [
299 "cp1255",
300 "windows-1255",
301 "x-cp1255"
302 ],
303 "name": "windows-1255"
304 },
305 {
306 "labels": [
307 "cp1256",
308 "windows-1256",
309 "x-cp1256"
310 ],
311 "name": "windows-1256"
312 },
313 {
314 "labels": [
315 "cp1257",
316 "windows-1257",
317 "x-cp1257"
318 ],
319 "name": "windows-1257"
320 },
321 {
322 "labels": [
323 "cp1258",
324 "windows-1258",
325 "x-cp1258"
326 ],
327 "name": "windows-1258"
328 },
329 {
330 "labels": [
331 "x-mac-cyrillic",
332 "x-mac-ukrainian"
333 ],
334 "name": "x-mac-cyrillic"
335 }
336 ],
337 "heading": "Legacy single-byte encodings"
338 },
339 {
340 "encodings": [
341 {
342 "labels": [
343 "chinese",
344 "csgb2312",
345 "csiso58gb231280",
346 "gb2312",
347 "gb_2312",
348 "gb_2312-80",
349 "gbk",
350 "iso-ir-58",
351 "x-gbk"
352 ],
353 "name": "gbk"
354 },
355 {
356 "labels": [
357 "gb18030"
358 ],
359 "name": "gb18030"
360 }
361 ],
362 "heading": "Legacy multi-byte Chinese (simplified) encodings"
363 },
364 {
365 "encodings": [
366 {
367 "labels": [
368 "big5",
369 "big5-hkscs",
370 "cn-big5",
371 "csbig5",
372 "x-x-big5"
373 ],
374 "name": "big5"
375 }
376 ],
377 "heading": "Legacy multi-byte Chinese (traditional) encodings"
378 },
379 {
380 "encodings": [
381 {
382 "labels": [
383 "cseucpkdfmtjapanese",
384 "euc-jp",
385 "x-euc-jp"
386 ],
387 "name": "euc-jp"
388 },
389 {
390 "labels": [
391 "csiso2022jp",
392 "iso-2022-jp"
393 ],
394 "name": "iso-2022-jp"
395 },
396 {
397 "labels": [
398 "csshiftjis",
399 "ms_kanji",
400 "shift-jis",
401 "shift_jis",
402 "sjis",
403 "windows-31j",
404 "x-sjis"
405 ],
406 "name": "shift_jis"
407 }
408 ],
409 "heading": "Legacy multi-byte Japanese encodings"
410 },
411 {
412 "encodings": [
413 {
414 "labels": [
415 "cseuckr",
416 "csksc56011987",
417 "euc-kr",
418 "iso-ir-149",
419 "korean",
420 "ks_c_5601-1987",
421 "ks_c_5601-1989",
422 "ksc5601",
423 "ksc_5601",
424 "windows-949"
425 ],
426 "name": "euc-kr"
427 }
428 ],
429 "heading": "Legacy multi-byte Korean encodings"
430 },
431 {
432 "encodings": [
433 {
434 "labels": [
435 "csiso2022kr",
436 "hz-gb-2312",
437 "iso-2022-cn",
438 "iso-2022-cn-ext",
439 "iso-2022-kr"
440 ],
441 "name": "replacement"
442 },
443 {
444 "labels": [
445 "utf-16be"
446 ],
447 "name": "utf-16be"
448 },
449 {
450 "labels": [
451 "utf-16",
452 "utf-16le"
453 ],
454 "name": "utf-16le"
455 },
456 {
457 "labels": [
458 "x-user-defined"
459 ],
460 "name": "x-user-defined"
461 }
462 ],
463 "heading": "Legacy miscellaneous encodings"
464 }
465 ];
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/resources/encodings.js ('k') | LayoutTests/fast/encoding/api/streaming-decode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698