Commit 63ac2eb7 authored by ap@apple.com's avatar ap@apple.com

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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bfa3b26c
2014-01-22 Alexey Proskuryakov <ap@apple.com>
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.
2014-01-21 Mark Hahnenberg <mhahnenberg@apple.com>
Registers used in writeBarrierOnOperand can cause clobbering on some platforms
......
......@@ -164,6 +164,7 @@ bool isStrWhiteSpace(UChar c)
case 0x000D:
case 0x0020:
case 0x00A0:
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.
case 0x2028:
case 0x2029:
case 0xFEFF:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment