Changeset 162575 in webkit


Ignore:
Timestamp:
Jan 22, 2014 5:35:51 PM (10 years ago)
Author:
ap@apple.com
Message:

Update JS whitespace definition for changes in Unicode 6.3
https://bugs.webkit.org/show_bug.cgi?id=127450
<rdar://15863457>

Reviewed by Oliver Hunt.

Covered by existing tests when running against a Unicode back-end that supports
Unicode 6.3 or higher.

  • runtime/JSGlobalObjectFunctions.cpp: (JSC::isStrWhiteSpace): Explicitly allow

U+180E MONGOLIAN VOWEL SEPARATOR, because we need to keep recognizing all characters
that used to be whitespace.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r162460 r162575  
     12014-01-22  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Update JS whitespace definition for changes in Unicode 6.3
     4        https://bugs.webkit.org/show_bug.cgi?id=127450
     5        <rdar://15863457>
     6
     7        Reviewed by Oliver Hunt.
     8
     9        Covered by existing tests when running against a Unicode back-end that supports
     10        Unicode 6.3 or higher.
     11
     12        * runtime/JSGlobalObjectFunctions.cpp: (JSC::isStrWhiteSpace): Explicitly allow
     13        U+180E MONGOLIAN VOWEL SEPARATOR, because we need to keep recognizing all characters
     14        that used to be whitespace.
     15
    1162014-01-21  Mark Hahnenberg  <mhahnenberg@apple.com>
    217
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp

    r161851 r162575  
    165165        case 0x0020:
    166166        case 0x00A0:
     167        case 0x180E: // This character used to be in Zs category before Unicode 6.3, and EcmaScript says that we should keep treating it as such.
    167168        case 0x2028:
    168169        case 0x2029:
Note: See TracChangeset for help on using the changeset viewer.