| OLD | NEW |
| 1 Supersets of ASCII decode ASCII correctly | 1 Supersets of ASCII decode ASCII correctly |
| 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 decoder = new TextDecoder("ibm866") | 6 decoder = new TextDecoder("ibm866") |
| 7 FAIL decoder = new TextDecoder("ibm866") threw exception TypeError: Type error | 7 FAIL decoder = new TextDecoder("ibm866") threw exception TypeError: Failed to co
nstruct 'TextDecoder': The encoding label provided ('ibm866') is invalid. |
| 8 decoder = new TextDecoder("iso-8859-2") | 8 decoder = new TextDecoder("iso-8859-2") |
| 9 decoded = decoder.decode(new Uint8Array(bytes)) | 9 decoded = decoder.decode(new Uint8Array(bytes)) |
| 10 PASS encodeURIComponent(string) is encodeURIComponent(decoded) | 10 PASS encodeURIComponent(string) is encodeURIComponent(decoded) |
| 11 decoder = new TextDecoder("iso-8859-3") | 11 decoder = new TextDecoder("iso-8859-3") |
| 12 decoded = decoder.decode(new Uint8Array(bytes)) | 12 decoded = decoder.decode(new Uint8Array(bytes)) |
| 13 PASS encodeURIComponent(string) is encodeURIComponent(decoded) | 13 PASS encodeURIComponent(string) is encodeURIComponent(decoded) |
| 14 decoder = new TextDecoder("iso-8859-4") | 14 decoder = new TextDecoder("iso-8859-4") |
| 15 decoded = decoder.decode(new Uint8Array(bytes)) | 15 decoded = decoder.decode(new Uint8Array(bytes)) |
| 16 PASS encodeURIComponent(string) is encodeURIComponent(decoded) | 16 PASS encodeURIComponent(string) is encodeURIComponent(decoded) |
| 17 decoder = new TextDecoder("iso-8859-5") | 17 decoder = new TextDecoder("iso-8859-5") |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 decoder = new TextDecoder("iso-2022-kr") | 113 decoder = new TextDecoder("iso-2022-kr") |
| 114 decoded = decoder.decode(new Uint8Array(bytes)) | 114 decoded = decoder.decode(new Uint8Array(bytes)) |
| 115 PASS encodeURIComponent(string) is encodeURIComponent(decoded) | 115 PASS encodeURIComponent(string) is encodeURIComponent(decoded) |
| 116 decoder = new TextDecoder("x-user-defined") | 116 decoder = new TextDecoder("x-user-defined") |
| 117 decoded = decoder.decode(new Uint8Array(bytes)) | 117 decoded = decoder.decode(new Uint8Array(bytes)) |
| 118 PASS encodeURIComponent(string) is encodeURIComponent(decoded) | 118 PASS encodeURIComponent(string) is encodeURIComponent(decoded) |
| 119 PASS successfullyParsed is true | 119 PASS successfullyParsed is true |
| 120 | 120 |
| 121 TEST COMPLETE | 121 TEST COMPLETE |
| 122 | 122 |
| OLD | NEW |