Reviewed by AP.
authorkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Apr 2007 20:05:06 +0000 (20:05 +0000)
committerkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Apr 2007 20:05:06 +0000 (20:05 +0000)
        - Consolidated encoding tests.

        * fast/encoding/char-decoding-expected.txt:
        * fast/encoding/char-decoding.html:
        * fast/encoding/charset-x-nextstep-expected.txt: Removed.
        * fast/encoding/charset-x-nextstep.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/encoding/char-decoding-expected.txt
LayoutTests/fast/encoding/char-decoding.html
LayoutTests/fast/encoding/charset-x-nextstep-expected.txt [deleted file]
LayoutTests/fast/encoding/charset-x-nextstep.html [deleted file]

index fee2ba6..3031f0f 100644 (file)
@@ -1,3 +1,14 @@
+2007-04-18  Kevin McCullough  <kmccullough@apple.com>
+
+        Reviewed by AP.
+
+        - Consolidated encoding tests.
+
+        * fast/encoding/char-decoding-expected.txt:
+        * fast/encoding/char-decoding.html:
+        * fast/encoding/charset-x-nextstep-expected.txt: Removed.
+        * fast/encoding/charset-x-nextstep.html: Removed.
+
 2007-04-17  Mitz Pettel  <mitz@webkit.org>
 
         Reviewed by Darin.
index 440f55f..7dcda1c 100644 (file)
@@ -6,6 +6,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 PASS decode('UTF-8', '%E2%88%9A') is 'U+221A'
 PASS decode('macintosh', '%C3') is 'U+221A'
 PASS decode('MacRoman', '%C3') is 'U+221A'
+PASS decode('x-nextstep', '%E1') is 'U+00C6'
+
+The x-nextstep test is meant to ensure that we still support legacy encodings that are not part of ICU - it is expected that it fails in other browsers, which do not support this particular encoding. See http://bugs.webkit.org/show_bug.cgi?id=4195 for more details.
 
 PASS successfullyParsed is true
 
index 5d78c6d..196130b 100644 (file)
@@ -39,6 +39,10 @@ function testDecode(charsetName, characterSequence, unicode)
 testDecode('UTF-8', '%E2%88%9A', 'U+221A');
 testDecode('macintosh', '%C3', 'U+221A');
 testDecode('MacRoman', '%C3', 'U+221A');
+testDecode('x-nextstep', '%E1', 'U+00C6');
+debug('');
+
+debug("The x-nextstep test is meant to ensure that we still support legacy encodings that are not part of ICU - it is expected that it fails in other browsers, which do not support this particular encoding. See <a href=\"http://bugs.webkit.org/show_bug.cgi?id=4195\">http://bugs.webkit.org/show_bug.cgi?id=4195</a> for more details.");
 
 debug('');
 
diff --git a/LayoutTests/fast/encoding/charset-x-nextstep-expected.txt b/LayoutTests/fast/encoding/charset-x-nextstep-expected.txt
deleted file mode 100644 (file)
index 8d41b8a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Test for bug 4195 - REGRESSION: KOI8-U encoding no longer supported.
-
-Testing for an encoding that's less likely to be in your version of ICU than KOI8-U. These two characters should look the same: "ÆÆ".
-
-
diff --git a/LayoutTests/fast/encoding/charset-x-nextstep.html b/LayoutTests/fast/encoding/charset-x-nextstep.html
deleted file mode 100644 (file)
index 7dd2250..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=x-nextstep">
-<title>x-nextstep</title>
-</head>
-<body>
-<script>
-if (window.layoutTestController)
-       layoutTestController.dumpAsText();
-</script>
-<p>Test for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=4195"> bug 4195</a> - 
-REGRESSION: KOI8-U encoding no longer supported.</p>
-<p>Testing for an encoding that's less likely to be in your version of ICU than KOI8-U. These two characters should look the same: "á&AElig;".</p>
-</body>
-</html>