Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: LayoutTests/fast/encoding/api/replacement-encoding-expected.txt

Issue 145973021: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replacement codec should emit U+FFFD Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+

Powered by Google App Engine
This is Rietveld 408576698