LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 May 2006 06:51:09 +0000 (06:51 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 May 2006 06:51:09 +0000 (06:51 +0000)
commit7da3833e85c3b9b5f97fa91a2d5273a5ba794115
tree14a8d288a18ad8772e28ef8c32d4c80de63eaa69
parent779494abf27567aadc759fb75cc904ccd0ea2d91
LayoutTests:

        Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8951
          AtomicString hash corrupted by high-bit Latin-1

        * fast/encoding/high-bit-latin1-expected.txt: Added.
        * fast/encoding/high-bit-latin1.html: Added.

WebCore:

        Reviewed by Maciej, tweaked by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8951
          AtomicString hash corrupted by high-bit Latin-1

        Test: fast/encoding/high-bit-latin1.html

        * platform/AtomicString.cpp: (WebCore::CStringTranslator::equal): Use an
        unsigned char local.
        * platform/StringImpl.cpp: (WebCore::StringImpl::init): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/encoding/high-bit-latin1-expected.txt [new file with mode: 0644]
LayoutTests/fast/encoding/high-bit-latin1.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/AtomicString.cpp
WebCore/platform/StringImpl.cpp