OLD | NEW |
1 Test the Encoding API's use of encoding names | 1 Test the Encoding API's use of encoding names |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 | 6 |
7 name = "utf-8" | 7 name = "utf-8" |
8 PASS new TextDecoder("unicode-1-1-utf-8").encoding is "utf-8" | 8 PASS new TextDecoder("unicode-1-1-utf-8").encoding is "utf-8" |
9 PASS new TextDecoder("utf-8").encoding is "utf-8" | 9 PASS new TextDecoder("utf-8").encoding is "utf-8" |
10 PASS new TextDecoder("utf8").encoding is "utf-8" | 10 PASS new TextDecoder("utf8").encoding is "utf-8" |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 PASS new TextDecoder("csksc56011987").encoding is "euc-kr" | 279 PASS new TextDecoder("csksc56011987").encoding is "euc-kr" |
280 PASS new TextDecoder("euc-kr").encoding is "euc-kr" | 280 PASS new TextDecoder("euc-kr").encoding is "euc-kr" |
281 PASS new TextDecoder("iso-ir-149").encoding is "euc-kr" | 281 PASS new TextDecoder("iso-ir-149").encoding is "euc-kr" |
282 PASS new TextDecoder("korean").encoding is "euc-kr" | 282 PASS new TextDecoder("korean").encoding is "euc-kr" |
283 PASS new TextDecoder("ks_c_5601-1987").encoding is "euc-kr" | 283 PASS new TextDecoder("ks_c_5601-1987").encoding is "euc-kr" |
284 PASS new TextDecoder("ks_c_5601-1989").encoding is "euc-kr" | 284 PASS new TextDecoder("ks_c_5601-1989").encoding is "euc-kr" |
285 PASS new TextDecoder("ksc5601").encoding is "euc-kr" | 285 PASS new TextDecoder("ksc5601").encoding is "euc-kr" |
286 PASS new TextDecoder("ksc_5601").encoding is "euc-kr" | 286 PASS new TextDecoder("ksc_5601").encoding is "euc-kr" |
287 PASS new TextDecoder("windows-949").encoding is "euc-kr" | 287 PASS new TextDecoder("windows-949").encoding is "euc-kr" |
288 | 288 |
289 name = "iso-2022-kr" | |
290 PASS new TextDecoder("csiso2022kr").encoding is "iso-2022-kr" | |
291 PASS new TextDecoder("iso-2022-kr").encoding is "iso-2022-kr" | |
292 | |
293 name = "replacement" | |
294 FAIL new TextDecoder("iso-2022-cn").encoding should be replacement. Was iso-2022
-cn. | |
295 FAIL new TextDecoder("iso-2022-cn-ext").encoding should be replacement. Was iso-
2022-cn-ext. | |
296 | |
297 name = "utf-16be" | 289 name = "utf-16be" |
298 PASS new TextDecoder("utf-16be").encoding is "utf-16be" | 290 PASS new TextDecoder("utf-16be").encoding is "utf-16be" |
299 | 291 |
300 name = "utf-16le" | 292 name = "utf-16le" |
301 PASS new TextDecoder("utf-16").encoding is "utf-16le" | 293 PASS new TextDecoder("utf-16").encoding is "utf-16le" |
302 PASS new TextDecoder("utf-16le").encoding is "utf-16le" | 294 PASS new TextDecoder("utf-16le").encoding is "utf-16le" |
303 | 295 |
304 name = "x-user-defined" | 296 name = "x-user-defined" |
305 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" | 297 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" |
306 PASS successfullyParsed is true | 298 PASS successfullyParsed is true |
307 | 299 |
308 TEST COMPLETE | 300 TEST COMPLETE |
309 | 301 |
OLD | NEW |