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

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

Issue 240283013: Convert Encoding API tests to W3C testharness.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/latin-1-expected.txt
diff --git a/LayoutTests/fast/encoding/api/latin-1-expected.txt b/LayoutTests/fast/encoding/api/latin-1-expected.txt
index a32132ca3fd8db5f7b843b69e6f92900894810e4..fef6a76406dec86d68a86290d0832173ea0d874e 100644
--- a/LayoutTests/fast/encoding/api/latin-1-expected.txt
+++ b/LayoutTests/fast/encoding/api/latin-1-expected.txt
@@ -1,44 +1,4 @@
-Verify that Latin-1 decoders (windows-1252, iso-8859-1, us-ascii, etc) decode identically.
+This is a testharness.js-based test.
+PASS Latin-1 decoders (windows-1252, iso-8859-1, us-ascii, etc) decode identically.
+Harness: the test ran to completion.
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-array = new Uint8Array(256)
-initialize array to 0...255
-windows1252 = new TextDecoder('windows-1252')
-decoder = new TextDecoder("ansi_x3.4-1968")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("ascii")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("cp1252")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("cp819")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("csisolatin1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("ibm819")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso-8859-1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso-ir-100")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso8859-1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso88591")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso_8859-1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("iso_8859-1:1987")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("l1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("latin1")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("us-ascii")
-PASS decoder.decode(array) is windows1252.decode(array)
-decoder = new TextDecoder("x-cp1252")
-PASS decoder.decode(array) is windows1252.decode(array)
-PASS successfullyParsed is true
-
-TEST COMPLETE
-B

Powered by Google App Engine
This is Rietveld 408576698