| OLD | NEW |
| 1 Non-UTF encodings supported only for decode, not encode | 1 Non-UTF encodings supported only for decode, not encode |
| 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 PASS new TextDecoder("utf-8").encoding is "utf-8" | 6 PASS new TextDecoder("utf-8").encoding is "utf-8" |
| 7 PASS new TextEncoder("utf-8").encoding is "utf-8" | 7 PASS new TextEncoder("utf-8").encoding is "utf-8" |
| 8 FAIL new TextDecoder("ibm866").encoding should be ibm866. Threw exception TypeEr
ror: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') i
s invalid. | 8 FAIL new TextDecoder("ibm866").encoding should be ibm866. Threw exception TypeEr
ror: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') i
s invalid. |
| 9 PASS new TextEncoder("ibm866").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding label provided ('ibm866') is invalid.. | 9 PASS new TextEncoder("ibm866").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding label provided ('ibm866') is invalid.. |
| 10 PASS new TextDecoder("iso-8859-2").encoding is "iso-8859-2" | 10 PASS new TextDecoder("iso-8859-2").encoding is "iso-8859-2" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 PASS new TextDecoder("big5").encoding is "big5" | 70 PASS new TextDecoder("big5").encoding is "big5" |
| 71 PASS new TextEncoder("big5").encoding threw exception TypeError: Failed to const
ruct 'TextEncoder': The encoding provided ('big5') is not one of 'utf-8', 'utf-1
6', or 'utf-16be'.. | 71 PASS new TextEncoder("big5").encoding threw exception TypeError: Failed to const
ruct 'TextEncoder': The encoding provided ('big5') is not one of 'utf-8', 'utf-1
6', or 'utf-16be'.. |
| 72 PASS new TextDecoder("euc-jp").encoding is "euc-jp" | 72 PASS new TextDecoder("euc-jp").encoding is "euc-jp" |
| 73 PASS new TextEncoder("euc-jp").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding provided ('euc-jp') is not one of 'utf-8', 'u
tf-16', or 'utf-16be'.. | 73 PASS new TextEncoder("euc-jp").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding provided ('euc-jp') is not one of 'utf-8', 'u
tf-16', or 'utf-16be'.. |
| 74 PASS new TextDecoder("iso-2022-jp").encoding is "iso-2022-jp" | 74 PASS new TextDecoder("iso-2022-jp").encoding is "iso-2022-jp" |
| 75 PASS new TextEncoder("iso-2022-jp").encoding threw exception TypeError: Failed t
o construct 'TextEncoder': The encoding provided ('iso-2022-jp') is not one of '
utf-8', 'utf-16', or 'utf-16be'.. | 75 PASS new TextEncoder("iso-2022-jp").encoding threw exception TypeError: Failed t
o construct 'TextEncoder': The encoding provided ('iso-2022-jp') is not one of '
utf-8', 'utf-16', or 'utf-16be'.. |
| 76 PASS new TextDecoder("shift_jis").encoding is "shift_jis" | 76 PASS new TextDecoder("shift_jis").encoding is "shift_jis" |
| 77 PASS new TextEncoder("shift_jis").encoding threw exception TypeError: Failed to
construct 'TextEncoder': The encoding provided ('shift_jis') is not one of 'utf-
8', 'utf-16', or 'utf-16be'.. | 77 PASS new TextEncoder("shift_jis").encoding threw exception TypeError: Failed to
construct 'TextEncoder': The encoding provided ('shift_jis') is not one of 'utf-
8', 'utf-16', or 'utf-16be'.. |
| 78 PASS new TextDecoder("euc-kr").encoding is "euc-kr" | 78 PASS new TextDecoder("euc-kr").encoding is "euc-kr" |
| 79 PASS new TextEncoder("euc-kr").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding provided ('euc-kr') is not one of 'utf-8', 'u
tf-16', or 'utf-16be'.. | 79 PASS new TextEncoder("euc-kr").encoding threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding provided ('euc-kr') is not one of 'utf-8', 'u
tf-16', or 'utf-16be'.. |
| 80 PASS new TextDecoder("iso-2022-kr").encoding is "iso-2022-kr" | |
| 81 PASS new TextEncoder("iso-2022-kr").encoding threw exception TypeError: Failed t
o construct 'TextEncoder': The encoding provided ('iso-2022-kr') is not one of '
utf-8', 'utf-16', or 'utf-16be'.. | |
| 82 PASS new TextDecoder("utf-16be").encoding is "utf-16be" | 80 PASS new TextDecoder("utf-16be").encoding is "utf-16be" |
| 83 PASS new TextEncoder("utf-16be").encoding is "utf-16be" | 81 PASS new TextEncoder("utf-16be").encoding is "utf-16be" |
| 84 PASS new TextDecoder("utf-16le").encoding is "utf-16le" | 82 PASS new TextDecoder("utf-16le").encoding is "utf-16le" |
| 85 PASS new TextEncoder("utf-16le").encoding is "utf-16le" | 83 PASS new TextEncoder("utf-16le").encoding is "utf-16le" |
| 86 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" | 84 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" |
| 87 PASS new TextEncoder("x-user-defined").encoding threw exception TypeError: Faile
d to construct 'TextEncoder': The encoding provided ('x-user-defined') is not on
e of 'utf-8', 'utf-16', or 'utf-16be'.. | 85 PASS new TextEncoder("x-user-defined").encoding threw exception TypeError: Faile
d to construct 'TextEncoder': The encoding provided ('x-user-defined') is not on
e of 'utf-8', 'utf-16', or 'utf-16be'.. |
| 88 PASS successfullyParsed is true | 86 PASS successfullyParsed is true |
| 89 | 87 |
| 90 TEST COMPLETE | 88 TEST COMPLETE |
| 91 | 89 |
| OLD | NEW |