| Index: LayoutTests/fast/encoding/api/replacement-encoding-expected.txt
|
| diff --git a/LayoutTests/fast/encoding/api/replacement-encoding-expected.txt b/LayoutTests/fast/encoding/api/replacement-encoding-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8e330ae40a0fe25df09b6fadd465a4b225b41165
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/encoding/api/replacement-encoding-expected.txt
|
| @@ -0,0 +1,31 @@
|
| +Verify replacement encoding behavior
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS new TextEncoder('replacement') threw exception TypeError: Failed to construct 'TextEncoder': The encoding label provided ('replacement') is invalid..
|
| +PASS new TextDecoder('replacement') threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('replacement') is invalid..
|
| +
|
| +label: csiso2022kr
|
| +
|
| +PASS new TextEncoder('csiso2022kr') threw exception TypeError: Failed to construct 'TextEncoder': The encoding provided ('csiso2022kr') is not one of 'utf-8', 'utf-16', or 'utf-16be'..
|
| +PASS new TextDecoder('csiso2022kr') threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('csiso2022kr') is invalid..
|
| +
|
| +label: iso-2022-cn
|
| +
|
| +PASS new TextEncoder('iso-2022-cn') threw exception TypeError: Failed to construct 'TextEncoder': The encoding provided ('iso-2022-cn') is not one of 'utf-8', 'utf-16', or 'utf-16be'..
|
| +PASS new TextDecoder('iso-2022-cn') threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('iso-2022-cn') is invalid..
|
| +
|
| +label: iso-2022-cn-ext
|
| +
|
| +PASS new TextEncoder('iso-2022-cn-ext') threw exception TypeError: Failed to construct 'TextEncoder': The encoding provided ('iso-2022-cn-ext') is not one of 'utf-8', 'utf-16', or 'utf-16be'..
|
| +PASS new TextDecoder('iso-2022-cn-ext') threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('iso-2022-cn-ext') is invalid..
|
| +
|
| +label: iso-2022-kr
|
| +
|
| +PASS new TextEncoder('iso-2022-kr') threw exception TypeError: Failed to construct 'TextEncoder': The encoding provided ('iso-2022-kr') is not one of 'utf-8', 'utf-16', or 'utf-16be'..
|
| +PASS new TextDecoder('iso-2022-kr') threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('iso-2022-kr') is invalid..
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|