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

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

Issue 240283013: Convert Encoding API tests to W3C testharness.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move UTF-16 surrogate tests to separate file Created 6 years, 7 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
1 // Only these encodings are supported for encoding (vs. decoding) 1 // Only these encodings are supported for encoding (vs. decoding)
2 utf_encodings = ["utf-8", "utf-16le", "utf-16be"]; 2 utf_encodings = ["utf-8", "utf-16le", "utf-16be"];
3 3
4 // From non-normative encodings.json resource referenced by http://encoding.spec .whatwg.org/ 4 // From non-normative encodings.json resource referenced by http://encoding.spec .whatwg.org/
5 encodings_table = [ 5 encodings_table = [
6 { 6 {
7 "encodings": [ 7 "encodings": [
8 { 8 {
9 "labels": [ 9 "labels": [
10 "unicode-1-1-utf-8", 10 "unicode-1-1-utf-8",
11 "utf-8", 11 "utf-8",
12 "utf8" 12 "utf8"
13 ], 13 ],
14 "name": "utf-8" 14 "name": "utf-8"
15 } 15 }
16 ], 16 ],
17 "heading": "The Encoding" 17 "heading": "The Encoding"
18 }, 18 },
19 { 19 {
20 "encodings": [ 20 "encodings": [
21 /* FIXME: Support ibm866 (crbug.com/277023)
21 { 22 {
22 "labels": [ 23 "labels": [
23 "866", 24 "866",
24 "cp866", 25 "cp866",
25 "csibm866", 26 "csibm866",
26 "ibm866" 27 "ibm866"
27 ], 28 ],
28 "name": "ibm866" 29 "name": "ibm866"
29 }, 30 },
31 */
30 { 32 {
31 "labels": [ 33 "labels": [
32 "csisolatin2", 34 "csisolatin2",
33 "iso-8859-2", 35 "iso-8859-2",
34 "iso-ir-101", 36 "iso-ir-101",
35 "iso8859-2", 37 "iso8859-2",
36 "iso88592", 38 "iso88592",
37 "iso_8859-2", 39 "iso_8859-2",
38 "iso_8859-2:1987", 40 "iso_8859-2:1987",
39 "l2", 41 "l2",
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 { 460 {
459 "labels": [ 461 "labels": [
460 "x-user-defined" 462 "x-user-defined"
461 ], 463 ],
462 "name": "x-user-defined" 464 "name": "x-user-defined"
463 } 465 }
464 ], 466 ],
465 "heading": "Legacy miscellaneous encodings" 467 "heading": "Legacy miscellaneous encodings"
466 } 468 }
467 ]; 469 ];
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/legacy-encode-expected.txt ('k') | LayoutTests/fast/encoding/api/streaming-decode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698