1. 24 Mar, 2011 1 commit
    • ossy@webkit.org's avatar
      [Qt] Some Unicode tests fail with Qt version >= 4.7.0 · 46cf8492
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=46251
      
      Patch by Joe Wild <joseph.wild@nokia.com> on 2011-03-24
      Reviewed by Csaba Osztrogonác.
      
      Updated tests the print out character 0xFFFF for Qt Platform.
      QString.toUtf8() converts non-defined Unicode char values, like
      0xFFFF to a replacement character ('?') as documented.  Other
      platforms leave the character as 0xFFFF (but utf8 encoded).
      Converting to a real printable char seems reasonable and may
      be more reliable.
      
      * platform/qt/Skipped:
      * platform/qt/fast/js/regexp-range-bound-ffff-expected.txt: Added.
      * platform/qt/fast/js/switch-behaviour-expected.txt: Added.
      * platform/qt/fast/url: Added.
      * platform/qt/fast/url/anchor-expected.txt: Added.
      * platform/qt/fast/url/path-expected.txt: Added.
      * platform/qt/http/tests/websocket: Added.
      * platform/qt/http/tests/websocket/tests: Added.
      * platform/qt/http/tests/websocket/tests/bad-sub-protocol-non-ascii-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46cf8492
  2. 30 Apr, 2009 1 commit
    • barraclough@apple.com's avatar
      JavaScriptCore: · 33fd41d8
      barraclough@apple.com authored
      2009-04-30  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Geoff Garen.
      
              Bug fix for rdar:/68455379.  If a case-insensitive regex contains
              a character class containing a range with an upper bound of \uFFFF
              the parser will infinite-loop whist adding other-case characters
              for characters in the range that do have another case.
      
              * yarr/RegexCompiler.cpp:
              (JSC::Yarr::CharacterClassConstructor::putRange):
      
      LayoutTests:
      
      2009-04-30  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Geoff Garen.
      
              Add layout test for rdar:/68455379.
      
              * fast/js/regexp-range-bound-ffff-expected.txt: Added.
              * fast/js/regexp-range-bound-ffff.html: Added.
              * fast/js/resources/regexp-range-bound-ffff.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33fd41d8