Changeset 65211 in webkit


Ignore:
Timestamp:
Aug 11, 2010 7:37:44 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-08-11 Adam Barth <abarth@webkit.org>

Reviewed by Alexey Proskuryakov.

fast/encoding/japanese-encoding-mix.html fails on Tiger after enabling HTML5 Lexer
https://bugs.webkit.org/show_bug.cgi?id=40725

Qt and Tiger seem to have encoding problems that swallow the --
characters that terminate the comment. We can avoid those problems by
inserting a space before the -->. We're losing coverage of these
issues, but I'm not sure we should be in the business of debugging
these encoders unless there's a security problem.

Thanks to ap for investigating and finding this workaround.

  • fast/encoding/japanese-encoding-mix.html:
  • platform/mac-tiger/Skipped:
  • platform/qt/Skipped:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r65208 r65211  
     12010-08-11  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        fast/encoding/japanese-encoding-mix.html fails on Tiger after enabling HTML5 Lexer
     6        https://bugs.webkit.org/show_bug.cgi?id=40725
     7
     8        Qt and Tiger seem to have encoding problems that swallow the --
     9        characters that terminate the comment.  We can avoid those problems by
     10        inserting a space before the -->.  We're losing coverage of these
     11        issues, but I'm not sure we should be in the business of debugging
     12        these encoders unless there's a security problem.
     13
     14        Thanks to ap for investigating and finding this workaround.
     15
     16        * fast/encoding/japanese-encoding-mix.html:
     17        * platform/mac-tiger/Skipped:
     18        * platform/qt/Skipped:
     19
    1202010-08-11  Ryosuke Niwa  <rniwa@webkit.org>
    221
  • trunk/LayoutTests/fast/encoding/japanese-encoding-mix.html

    r47986 r65211  
    33<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
    44<p>Some text here is encoded as EUC-JP, and some (in comment) as Shift_JIS. Since there is an explicit encoding declaration, auto-detection shouldn't change the encoding.</p><p>¥Ë¥Ã¥Ý¥ó¥Æ¥ì¥Ó</p>
    5 <!--‰EƒJƒ‰ƒ€ƒRƒƒ“ƒgƒAƒEƒg ‚±‚±‚©‚ç-->
     5<!--‰EƒJƒ‰ƒ€ƒRƒƒ“ƒgƒAƒEƒg ‚±‚±‚©‚ç -->
    66<script>
    77if (window.layoutTestController)
  • trunk/LayoutTests/platform/mac-tiger/Skipped

    r63381 r65211  
    200200http/tests/inspector/resource-parameters.html
    201201
    202 # Tiger's TextDecoder doesn't correctly pass --> to the HTML Parser
    203 # at the end of a Shift_JIS comment, causing this test to fail.
    204 # https://bugs.webkit.org/show_bug.cgi?id=40725
    205 fast/encoding/japanese-encoding-mix.html
    206 
    207202# New modal dialog tests fail on Tiger.
    208203# Tests introduced in http://trac.webkit.org/changeset/61599.
  • trunk/LayoutTests/platform/qt/Skipped

    r64845 r65211  
    53745374fast/dom/HTMLLinkElement/prefetch.html
    53755375
    5376 # Failing after enabling HTML5 parser in r61234
    5377 # https://bugs.webkit.org/show_bug.cgi?id=40661
    5378 fast/encoding/japanese-encoding-mix.html
    5379 
    53805376# https://bugs.webkit.org/show_bug.cgi?id=35350
    53815377fast/events/show-modal-dialog-onblur-onfocus.html
Note: See TracChangeset for help on using the changeset viewer.