| 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: Type error | 8 FAIL new TextDecoder("ibm866").encoding should be ibm866. Threw exception TypeEr
ror: Type error |
| 9 PASS new TextEncoder("ibm866").encoding threw exception TypeError: Type error. | 9 PASS new TextEncoder("ibm866").encoding threw exception TypeError: Type error. |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 PASS new TextDecoder("hz-gb-2312").encoding is "hz-gb-2312" | 68 PASS new TextDecoder("hz-gb-2312").encoding is "hz-gb-2312" |
| 69 PASS new TextEncoder("hz-gb-2312").encoding threw exception TypeError: Type erro
r. | 69 PASS new TextEncoder("hz-gb-2312").encoding threw exception TypeError: Type erro
r. |
| 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: Type error. | 71 PASS new TextEncoder("big5").encoding threw exception TypeError: Type error. |
| 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: Type error. | 73 PASS new TextEncoder("euc-jp").encoding threw exception TypeError: Type error. |
| 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: Type err
or. | 75 PASS new TextEncoder("iso-2022-jp").encoding threw exception TypeError: Type err
or. |
| 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: Type error
. | 77 PASS new TextEncoder("shift_jis").encoding threw exception TypeError: Type error
. |
| 78 FAIL new TextDecoder("euc-kr").encoding should be euc-kr. Was windows-949. | 78 PASS new TextDecoder("euc-kr").encoding is "euc-kr" |
| 79 PASS new TextEncoder("euc-kr").encoding threw exception TypeError: Type error. | 79 PASS new TextEncoder("euc-kr").encoding threw exception TypeError: Type error. |
| 80 PASS new TextDecoder("iso-2022-kr").encoding is "iso-2022-kr" | 80 PASS new TextDecoder("iso-2022-kr").encoding is "iso-2022-kr" |
| 81 PASS new TextEncoder("iso-2022-kr").encoding threw exception TypeError: Type err
or. | 81 PASS new TextEncoder("iso-2022-kr").encoding threw exception TypeError: Type err
or. |
| 82 PASS new TextDecoder("utf-16be").encoding is "utf-16be" | 82 PASS new TextDecoder("utf-16be").encoding is "utf-16be" |
| 83 PASS new TextEncoder("utf-16be").encoding is "utf-16be" | 83 PASS new TextEncoder("utf-16be").encoding is "utf-16be" |
| 84 PASS new TextDecoder("utf-16le").encoding is "utf-16le" | 84 PASS new TextDecoder("utf-16le").encoding is "utf-16le" |
| 85 PASS new TextEncoder("utf-16le").encoding is "utf-16le" | 85 PASS new TextEncoder("utf-16le").encoding is "utf-16le" |
| 86 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" | 86 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" |
| 87 PASS new TextEncoder("x-user-defined").encoding threw exception TypeError: Type
error. | 87 PASS new TextEncoder("x-user-defined").encoding threw exception TypeError: Type
error. |
| 88 PASS successfullyParsed is true | 88 PASS successfullyParsed is true |
| 89 | 89 |
| 90 TEST COMPLETE | 90 TEST COMPLETE |
| 91 | 91 |
| OLD | NEW |