Show
Ignore:
Timestamp:
03/26/08 10:19:07 (8 months ago)
Author:
eric@webkit.org
Message:

Reviewed by darin.

Fix, makes us pass Test 70
XML documents should be strict about encoding checks
http://bugs.webkit.org/show_bug.cgi?id=17079

Test: fast/encoding/invalid-xml.html

  • WebCore.base.exp:
  • dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::write):
  • loader/CachedFont.cpp: (WebCore::CachedFont::ensureSVGFontData):
  • loader/TextResourceDecoder.cpp: (WebCore::TextResourceDecoder::TextResourceDecoder): (WebCore::TextResourceDecoder::decode):
  • loader/TextResourceDecoder.h:
  • platform/text/TextCodec.h: (WebCore::TextCodec::decode):
  • platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::decodeToBuffer): (WebCore::ErrorCallbackSetter::ErrorCallbackSetter): (WebCore::ErrorCallbackSetter::~ErrorCallbackSetter): (WebCore::TextCodecICU::decode):
  • platform/text/TextCodecICU.h:
  • platform/text/TextCodecLatin1.cpp:
  • platform/text/TextCodecLatin1.h:
  • platform/text/TextCodecUTF16.cpp:
  • platform/text/TextCodecUTF16.h:
  • platform/text/TextCodecUserDefined.cpp:
  • platform/text/TextCodecUserDefined.h:
  • platform/text/TextDecoder.cpp: (WebCore::TextDecoder::checkForBOM):
  • platform/text/TextDecoder.h: (WebCore::TextDecoder::decode):
  • platform/text/TextEncoding.cpp: (WebCore::TextEncoding::decode):
  • platform/text/TextEncoding.h: (WebCore::TextEncoding::decode):
  • platform/text/mac/TextCodecMac.cpp: (WebCore::TextCodecMac::decode):
  • platform/text/mac/TextCodecMac.h:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r31313 r31316  
     12008-03-26  Eric Seidel  <eric@webkit.org> 
     2 
     3        Reviewed by darin. 
     4 
     5        Fix, makes us pass Test 70 
     6        XML documents should be strict about encoding checks 
     7        http://bugs.webkit.org/show_bug.cgi?id=17079 
     8 
     9        * fast/encoding/invalid-xml-expected.txt: Added. 
     10        * fast/encoding/invalid-xml.html: Copied from LayoutTests/fast/dom/resources/TEMPLATE.html. 
     11        * fast/encoding/resources/invalid-xml-shift-jis.xml: Added. 
     12        * fast/encoding/resources/invalid-xml-utf16.xml: Added. 
     13        * fast/encoding/resources/invalid-xml-utf8.xml: Added. 
     14        * fast/encoding/resources/invalid-xml-x-mac-thai.xml: Added. 
     15        * fast/encoding/resources/invalid-xml.js: Added. 
     16 
    1172008-03-26  Dan Bernstein  <mitz@apple.com> 
    218