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

Side by Side Diff: LayoutTests/fast/encoding/api/legacy-encode-expected.txt

Issue 15901002: Implement Encoding API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline webexposed global constructor tests Created 7 years, 4 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 Non-UTF encodings supported only for decode, not encode
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS new TextDecoder('utf-8').encoding is "utf-8"
7 PASS new TextEncoder('utf-8').encoding is "utf-8"
8 FAIL new TextDecoder('utf-16').encoding should be utf-16. Was utf-16le.
9 FAIL new TextEncoder('utf-16').encoding should be utf-16. Was utf-16le.
10 PASS new TextDecoder('utf-16be').encoding is "utf-16be"
11 PASS new TextEncoder('utf-16be').encoding is "utf-16be"
12 PASS new TextDecoder('ibm864').encoding is "ibm864"
13 PASS new TextEncoder('ibm864').encoding threw exception TypeError: Type error.
14 FAIL new TextDecoder('ibm866').encoding should be ibm866. Threw exception TypeEr ror: Type error
15 PASS new TextEncoder('ibm866').encoding threw exception TypeError: Type error.
16 PASS new TextDecoder('iso-8859-2').encoding is "iso-8859-2"
17 PASS new TextEncoder('iso-8859-2').encoding threw exception TypeError: Type erro r.
18 PASS new TextDecoder('iso-8859-3').encoding is "iso-8859-3"
19 PASS new TextEncoder('iso-8859-3').encoding threw exception TypeError: Type erro r.
20 PASS new TextDecoder('iso-8859-4').encoding is "iso-8859-4"
21 PASS new TextEncoder('iso-8859-4').encoding threw exception TypeError: Type erro r.
22 PASS new TextDecoder('iso-8859-5').encoding is "iso-8859-5"
23 PASS new TextEncoder('iso-8859-5').encoding threw exception TypeError: Type erro r.
24 PASS new TextDecoder('iso-8859-6').encoding is "iso-8859-6"
25 PASS new TextEncoder('iso-8859-6').encoding threw exception TypeError: Type erro r.
26 PASS new TextDecoder('iso-8859-7').encoding is "iso-8859-7"
27 PASS new TextEncoder('iso-8859-7').encoding threw exception TypeError: Type erro r.
28 PASS new TextDecoder('iso-8859-8').encoding is "iso-8859-8"
29 PASS new TextEncoder('iso-8859-8').encoding threw exception TypeError: Type erro r.
30 PASS new TextDecoder('iso-8859-10').encoding is "iso-8859-10"
31 PASS new TextEncoder('iso-8859-10').encoding threw exception TypeError: Type err or.
32 PASS new TextDecoder('iso-8859-13').encoding is "iso-8859-13"
33 PASS new TextEncoder('iso-8859-13').encoding threw exception TypeError: Type err or.
34 PASS new TextDecoder('iso-8859-14').encoding is "iso-8859-14"
35 PASS new TextEncoder('iso-8859-14').encoding threw exception TypeError: Type err or.
36 PASS new TextDecoder('iso-8859-15').encoding is "iso-8859-15"
37 PASS new TextEncoder('iso-8859-15').encoding threw exception TypeError: Type err or.
38 PASS new TextDecoder('iso-8859-16').encoding is "iso-8859-16"
39 PASS new TextEncoder('iso-8859-16').encoding threw exception TypeError: Type err or.
40 PASS new TextDecoder('koi8-r').encoding is "koi8-r"
41 PASS new TextEncoder('koi8-r').encoding threw exception TypeError: Type error.
42 PASS new TextDecoder('koi8-u').encoding is "koi8-u"
43 PASS new TextEncoder('koi8-u').encoding threw exception TypeError: Type error.
44 PASS new TextDecoder('macintosh').encoding is "macintosh"
45 PASS new TextEncoder('macintosh').encoding threw exception TypeError: Type error .
46 PASS new TextDecoder('windows-874').encoding is "windows-874"
47 PASS new TextEncoder('windows-874').encoding threw exception TypeError: Type err or.
48 PASS new TextDecoder('windows-1250').encoding is "windows-1250"
49 PASS new TextEncoder('windows-1250').encoding threw exception TypeError: Type er ror.
50 PASS new TextDecoder('windows-1251').encoding is "windows-1251"
51 PASS new TextEncoder('windows-1251').encoding threw exception TypeError: Type er ror.
52 PASS new TextDecoder('windows-1252').encoding is "windows-1252"
53 PASS new TextEncoder('windows-1252').encoding threw exception TypeError: Type er ror.
54 PASS new TextDecoder('windows-1253').encoding is "windows-1253"
55 PASS new TextEncoder('windows-1253').encoding threw exception TypeError: Type er ror.
56 PASS new TextDecoder('windows-1254').encoding is "windows-1254"
57 PASS new TextEncoder('windows-1254').encoding threw exception TypeError: Type er ror.
58 PASS new TextDecoder('windows-1255').encoding is "windows-1255"
59 PASS new TextEncoder('windows-1255').encoding threw exception TypeError: Type er ror.
60 PASS new TextDecoder('windows-1256').encoding is "windows-1256"
61 PASS new TextEncoder('windows-1256').encoding threw exception TypeError: Type er ror.
62 PASS new TextDecoder('windows-1257').encoding is "windows-1257"
63 PASS new TextEncoder('windows-1257').encoding threw exception TypeError: Type er ror.
64 PASS new TextDecoder('windows-1258').encoding is "windows-1258"
65 PASS new TextEncoder('windows-1258').encoding threw exception TypeError: Type er ror.
66 PASS new TextDecoder('x-mac-cyrillic').encoding is "x-mac-cyrillic"
67 PASS new TextEncoder('x-mac-cyrillic').encoding threw exception TypeError: Type error.
68 PASS new TextDecoder('gbk').encoding is "gbk"
69 PASS new TextEncoder('gbk').encoding threw exception TypeError: Type error.
70 PASS new TextDecoder('gb18030').encoding is "gb18030"
71 PASS new TextEncoder('gb18030').encoding threw exception TypeError: Type error.
72 PASS new TextDecoder('hz-gb-2312').encoding is "hz-gb-2312"
73 PASS new TextEncoder('hz-gb-2312').encoding threw exception TypeError: Type erro r.
74 PASS new TextDecoder('big5').encoding is "big5"
75 PASS new TextEncoder('big5').encoding threw exception TypeError: Type error.
76 PASS new TextDecoder('euc-jp').encoding is "euc-jp"
77 PASS new TextEncoder('euc-jp').encoding threw exception TypeError: Type error.
78 PASS new TextDecoder('iso-2022-jp').encoding is "iso-2022-jp"
79 PASS new TextEncoder('iso-2022-jp').encoding threw exception TypeError: Type err or.
80 PASS new TextDecoder('shift_jis').encoding is "shift_jis"
81 PASS new TextEncoder('shift_jis').encoding threw exception TypeError: Type error .
82 FAIL new TextDecoder('euc-kr').encoding should be euc-kr. Was windows-949.
83 PASS new TextEncoder('euc-kr').encoding threw exception TypeError: Type error.
84 PASS new TextDecoder('iso-2022-kr').encoding is "iso-2022-kr"
85 PASS new TextEncoder('iso-2022-kr').encoding threw exception TypeError: Type err or.
86 PASS successfullyParsed is true
87
88 TEST COMPLETE
89
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/legacy-encode.html ('k') | LayoutTests/fast/encoding/api/resources/shared.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698