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

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

Issue 403793003: Encoding API: Enable test of ibm866 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « LayoutTests/fast/encoding/api/ascii-supersets-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file is based on non-normative encodings.json resource referenced by 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 2 // http://encoding.spec.whatwg.org/ - a reference copy is saved in this
3 // directory and can be updated via: 3 // directory and can be updated via:
4 // curl -O http://encoding.spec.whatwg.org/encodings.json 4 // curl -O http://encoding.spec.whatwg.org/encodings.json
5 // 5 //
6 // Changes made to this file are: 6 // Changes made to this file are:
7 // * whitespace 7 // * whitespace
8 // * encodings.json data assigned to `encodings_table` (for tests) 8 // * encodings.json data assigned to `encodings_table` (for tests)
9 // * UTF encodings listed in `utf_encodings` (for tests) 9 // * UTF encodings listed in `utf_encodings` (for tests)
10 // * 'ibm866' not yet supported - crbug.com/277023
11 // * 'gb18030' distinct from 'gbk' - crbug.com/339862 10 // * 'gb18030' distinct from 'gbk' - crbug.com/339862
12 // * 'big5-hkscs' distinct from 'big5' - crbug.com/277040 11 // * 'big5-hkscs' distinct from 'big5' - crbug.com/277040
13 // * 'hz-gb-2312' is replacement label - w3.org/Bugs/Public/show_bug.cgi?id=25 339 12 // * 'hz-gb-2312' is replacement label - w3.org/Bugs/Public/show_bug.cgi?id=25 339
14 13
15 // Only these encodings are supported for encoding (vs. decoding) 14 // Only these encodings are supported for encoding (vs. decoding)
16 var utf_encodings = ["utf-8", "utf-16le", "utf-16be"]; 15 var utf_encodings = ["utf-8", "utf-16le", "utf-16be"];
17 16
18 var encodings_table = [ 17 var encodings_table = [
19 { 18 {
20 "encodings": [ 19 "encodings": [
21 { 20 {
22 "labels": [ 21 "labels": [
23 "unicode-1-1-utf-8", 22 "unicode-1-1-utf-8",
24 "utf-8", 23 "utf-8",
25 "utf8" 24 "utf8"
26 ], 25 ],
27 "name": "utf-8" 26 "name": "utf-8"
28 } 27 }
29 ], 28 ],
30 "heading": "The Encoding" 29 "heading": "The Encoding"
31 }, 30 },
32 { 31 {
33 "encodings": [ 32 "encodings": [
34 /* FIXME: Support ibm866 (crbug.com/277023)
35 { 33 {
36 "labels": [ 34 "labels": [
37 "866", 35 "866",
38 "cp866", 36 "cp866",
39 "csibm866", 37 "csibm866",
40 "ibm866" 38 "ibm866"
41 ], 39 ],
42 "name": "ibm866" 40 "name": "ibm866"
43 }, 41 },
44 */
45 { 42 {
46 "labels": [ 43 "labels": [
47 "csisolatin2", 44 "csisolatin2",
48 "iso-8859-2", 45 "iso-8859-2",
49 "iso-ir-101", 46 "iso-ir-101",
50 "iso8859-2", 47 "iso8859-2",
51 "iso88592", 48 "iso88592",
52 "iso_8859-2", 49 "iso_8859-2",
53 "iso_8859-2:1987", 50 "iso_8859-2:1987",
54 "l2", 51 "l2",
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 { 462 {
466 "labels": [ 463 "labels": [
467 "x-user-defined" 464 "x-user-defined"
468 ], 465 ],
469 "name": "x-user-defined" 466 "name": "x-user-defined"
470 } 467 }
471 ], 468 ],
472 "heading": "Legacy miscellaneous encodings" 469 "heading": "Legacy miscellaneous encodings"
473 } 470 }
474 ]; 471 ];
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/ascii-supersets-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698