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

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

Issue 15901002: Implement Encoding API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline webexposed global constructor tests Created 7 years, 5 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
« no previous file with comments | « LayoutTests/fast/encoding/api/encoding-names.html ('k') | LayoutTests/fast/encoding/api/end-of-file.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/encoding/api/encoding-names-expected.txt
diff --git a/LayoutTests/fast/encoding/api/encoding-names-expected.txt b/LayoutTests/fast/encoding/api/encoding-names-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72a7aa115386b8bfbac99c43a913f63d2e00b5d2
--- /dev/null
+++ b/LayoutTests/fast/encoding/api/encoding-names-expected.txt
@@ -0,0 +1,27 @@
+Test the Encoding API's use of encoding names
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Encoding names are case insensitive
+PASS new TextDecoder('utf-8').encoding is "utf-8"
+PASS new TextDecoder('UTF-8').encoding is "utf-8"
+FAIL new TextDecoder('utf-16').encoding should be utf-16. Was utf-16le.
+FAIL new TextDecoder('UTF-16').encoding should be utf-16. Was utf-16le.
+FAIL new TextDecoder('utf-16le').encoding should be utf-16. Was utf-16le.
+FAIL new TextDecoder('UTF-16LE').encoding should be utf-16. Was utf-16le.
+PASS new TextDecoder('utf-16be').encoding is "utf-16be"
+PASS new TextDecoder('UTF-16BE').encoding is "utf-16be"
+FAIL new TextDecoder('ascii').encoding should be windows-1252. Was us-ascii.
+FAIL new TextDecoder('ASCII').encoding should be windows-1252. Was us-ascii.
+FAIL new TextDecoder('iso-8859-1').encoding should be windows-1252. Was iso-8859-1.
+FAIL new TextDecoder('ISO-8859-1').encoding should be windows-1252. Was iso-8859-1.
+PASS new TextDecoder('utf-8').encoding is "utf-8"
+FAIL new TextDecoder('UTF-16').encoding should be utf-16. Was utf-16le.
+PASS new TextDecoder('UTF-16BE').encoding is "utf-16be"
+FAIL new TextDecoder('iso8859-1').encoding should be windows-1252. Was iso-8859-1.
+FAIL new TextDecoder('iso-8859-1').encoding should be windows-1252. Was iso-8859-1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/encoding/api/encoding-names.html ('k') | LayoutTests/fast/encoding/api/end-of-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698