OLD | NEW |
(Empty) | |
| 1 Verify replacement encoding behavior |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS new TextEncoder('replacement') threw exception TypeError: Failed to constru
ct 'TextEncoder': The encoding label provided ('replacement') is invalid.. |
| 7 PASS new TextDecoder('replacement') threw exception TypeError: Failed to constru
ct 'TextDecoder': The encoding label provided ('replacement') is invalid.. |
| 8 |
| 9 label: csiso2022kr |
| 10 |
| 11 PASS new TextEncoder('csiso2022kr') threw exception TypeError: Failed to constru
ct 'TextEncoder': The encoding provided ('csiso2022kr') is not one of 'utf-8', '
utf-16', or 'utf-16be'.. |
| 12 PASS new TextDecoder('csiso2022kr') threw exception TypeError: Failed to constru
ct 'TextDecoder': The encoding label provided ('csiso2022kr') is invalid.. |
| 13 |
| 14 label: iso-2022-cn |
| 15 |
| 16 PASS new TextEncoder('iso-2022-cn') threw exception TypeError: Failed to constru
ct 'TextEncoder': The encoding provided ('iso-2022-cn') is not one of 'utf-8', '
utf-16', or 'utf-16be'.. |
| 17 PASS new TextDecoder('iso-2022-cn') threw exception TypeError: Failed to constru
ct 'TextDecoder': The encoding label provided ('iso-2022-cn') is invalid.. |
| 18 |
| 19 label: iso-2022-cn-ext |
| 20 |
| 21 PASS new TextEncoder('iso-2022-cn-ext') threw exception TypeError: Failed to con
struct 'TextEncoder': The encoding provided ('iso-2022-cn-ext') is not one of 'u
tf-8', 'utf-16', or 'utf-16be'.. |
| 22 PASS new TextDecoder('iso-2022-cn-ext') threw exception TypeError: Failed to con
struct 'TextDecoder': The encoding label provided ('iso-2022-cn-ext') is invalid
.. |
| 23 |
| 24 label: iso-2022-kr |
| 25 |
| 26 PASS new TextEncoder('iso-2022-kr') threw exception TypeError: Failed to constru
ct 'TextEncoder': The encoding provided ('iso-2022-kr') is not one of 'utf-8', '
utf-16', or 'utf-16be'.. |
| 27 PASS new TextDecoder('iso-2022-kr') threw exception TypeError: Failed to constru
ct 'TextDecoder': The encoding label provided ('iso-2022-kr') is invalid.. |
| 28 PASS successfullyParsed is true |
| 29 |
| 30 TEST COMPLETE |
| 31 |
OLD | NEW |