| 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 FAIL new TextDecoder("unicode-1-1-utf-8").encoding should be utf-8. Threw except
ion TypeError: Type error | 8 FAIL new TextDecoder("unicode-1-1-utf-8").encoding should be utf-8. Threw except
ion TypeError: Type error |
| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 PASS new TextDecoder("cp1250").encoding is "windows-1250" | 164 PASS new TextDecoder("cp1250").encoding is "windows-1250" |
| 165 PASS new TextDecoder("windows-1250").encoding is "windows-1250" | 165 PASS new TextDecoder("windows-1250").encoding is "windows-1250" |
| 166 PASS new TextDecoder("x-cp1250").encoding is "windows-1250" | 166 PASS new TextDecoder("x-cp1250").encoding is "windows-1250" |
| 167 | 167 |
| 168 name = "windows-1251" | 168 name = "windows-1251" |
| 169 PASS new TextDecoder("cp1251").encoding is "windows-1251" | 169 PASS new TextDecoder("cp1251").encoding is "windows-1251" |
| 170 PASS new TextDecoder("windows-1251").encoding is "windows-1251" | 170 PASS new TextDecoder("windows-1251").encoding is "windows-1251" |
| 171 PASS new TextDecoder("x-cp1251").encoding is "windows-1251" | 171 PASS new TextDecoder("x-cp1251").encoding is "windows-1251" |
| 172 | 172 |
| 173 name = "windows-1252" | 173 name = "windows-1252" |
| 174 FAIL new TextDecoder("ansi_x3.4-1968").encoding should be windows-1252. Was us-a
scii. | 174 PASS new TextDecoder("ansi_x3.4-1968").encoding is "windows-1252" |
| 175 FAIL new TextDecoder("ascii").encoding should be windows-1252. Was us-ascii. | 175 PASS new TextDecoder("ascii").encoding is "windows-1252" |
| 176 PASS new TextDecoder("cp1252").encoding is "windows-1252" | 176 PASS new TextDecoder("cp1252").encoding is "windows-1252" |
| 177 FAIL new TextDecoder("cp819").encoding should be windows-1252. Was iso-8859-1. | 177 PASS new TextDecoder("cp819").encoding is "windows-1252" |
| 178 FAIL new TextDecoder("csisolatin1").encoding should be windows-1252. Was iso-885
9-1. | 178 PASS new TextDecoder("csisolatin1").encoding is "windows-1252" |
| 179 FAIL new TextDecoder("ibm819").encoding should be windows-1252. Was iso-8859-1. | 179 PASS new TextDecoder("ibm819").encoding is "windows-1252" |
| 180 FAIL new TextDecoder("iso-8859-1").encoding should be windows-1252. Was iso-8859
-1. | 180 PASS new TextDecoder("iso-8859-1").encoding is "windows-1252" |
| 181 FAIL new TextDecoder("iso-ir-100").encoding should be windows-1252. Was iso-8859
-1. | 181 PASS new TextDecoder("iso-ir-100").encoding is "windows-1252" |
| 182 FAIL new TextDecoder("iso8859-1").encoding should be windows-1252. Was iso-8859-
1. | 182 PASS new TextDecoder("iso8859-1").encoding is "windows-1252" |
| 183 FAIL new TextDecoder("iso88591").encoding should be windows-1252. Threw exceptio
n TypeError: Type error | 183 FAIL new TextDecoder("iso88591").encoding should be windows-1252. Threw exceptio
n TypeError: Type error |
| 184 FAIL new TextDecoder("iso_8859-1").encoding should be windows-1252. Threw except
ion TypeError: Type error | 184 FAIL new TextDecoder("iso_8859-1").encoding should be windows-1252. Threw except
ion TypeError: Type error |
| 185 FAIL new TextDecoder("iso_8859-1:1987").encoding should be windows-1252. Was iso
-8859-1. | 185 PASS new TextDecoder("iso_8859-1:1987").encoding is "windows-1252" |
| 186 FAIL new TextDecoder("l1").encoding should be windows-1252. Was iso-8859-1. | 186 PASS new TextDecoder("l1").encoding is "windows-1252" |
| 187 FAIL new TextDecoder("latin1").encoding should be windows-1252. Was iso-8859-1. | 187 PASS new TextDecoder("latin1").encoding is "windows-1252" |
| 188 FAIL new TextDecoder("us-ascii").encoding should be windows-1252. Was us-ascii. | 188 PASS new TextDecoder("us-ascii").encoding is "windows-1252" |
| 189 PASS new TextDecoder("windows-1252").encoding is "windows-1252" | 189 PASS new TextDecoder("windows-1252").encoding is "windows-1252" |
| 190 FAIL new TextDecoder("x-cp1252").encoding should be windows-1252. Threw exceptio
n TypeError: Type error | 190 FAIL new TextDecoder("x-cp1252").encoding should be windows-1252. Threw exceptio
n TypeError: Type error |
| 191 | 191 |
| 192 name = "windows-1253" | 192 name = "windows-1253" |
| 193 PASS new TextDecoder("cp1253").encoding is "windows-1253" | 193 PASS new TextDecoder("cp1253").encoding is "windows-1253" |
| 194 PASS new TextDecoder("windows-1253").encoding is "windows-1253" | 194 PASS new TextDecoder("windows-1253").encoding is "windows-1253" |
| 195 FAIL new TextDecoder("x-cp1253").encoding should be windows-1253. Threw exceptio
n TypeError: Type error | 195 FAIL new TextDecoder("x-cp1253").encoding should be windows-1253. Threw exceptio
n TypeError: Type error |
| 196 | 196 |
| 197 name = "windows-1254" | 197 name = "windows-1254" |
| 198 PASS new TextDecoder("cp1254").encoding is "windows-1254" | 198 PASS new TextDecoder("cp1254").encoding is "windows-1254" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 name = "utf-16le" | 300 name = "utf-16le" |
| 301 PASS new TextDecoder("utf-16").encoding is "utf-16le" | 301 PASS new TextDecoder("utf-16").encoding is "utf-16le" |
| 302 PASS new TextDecoder("utf-16le").encoding is "utf-16le" | 302 PASS new TextDecoder("utf-16le").encoding is "utf-16le" |
| 303 | 303 |
| 304 name = "x-user-defined" | 304 name = "x-user-defined" |
| 305 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" | 305 PASS new TextDecoder("x-user-defined").encoding is "x-user-defined" |
| 306 PASS successfullyParsed is true | 306 PASS successfullyParsed is true |
| 307 | 307 |
| 308 TEST COMPLETE | 308 TEST COMPLETE |
| 309 | 309 |
| OLD | NEW |