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