Commit 272aab37 authored by kmccullo's avatar kmccullo

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.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bfdc50b6
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.
......@@ -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
......
......@@ -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('');
......
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: "ÆÆ".
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment