Unicode 6.1 was release 31-Jan-2012. It includes 5 new lower case / upper case mappings that will impact String.prototype.toLowerCase() & String.prototype.toUpperCase(). In addition, there is one mapping added in Unicode 5.2 that may not appear in tests. The relevant changes in UnicodeData.txt are: -- Added in 5.2 -- 0265;LATIN SMALL LETTER TURNED H;Ll;0;L;;;;;N;;;A78D;;A78D A78D;LATIN CAPITAL LETTER TURNED H;Lu;0;L;;;;;N;;;;0265; -- Added in 6.1 -- 0266;LATIN SMALL LETTER H WITH HOOK;Ll;0;L;;;;;N;LATIN SMALL LETTER H HOOK;;A7AA;;A7AA 10C7;GEORGIAN CAPITAL LETTER YN;Lu;0;L;;;;;N;;;;2D27; 10CD;GEORGIAN CAPITAL LETTER AEN;Lu;0;L;;;;;N;;;;2D2D; 2CF2;COPTIC CAPITAL LETTER BOHAIRIC KHEI;Lu;0;L;;;;;N;;;;2CF3; 2CF3;COPTIC SMALL LETTER BOHAIRIC KHEI;Ll;0;L;;;;;N;;;2CF2;;2CF2 2D27;GEORGIAN SMALL LETTER YN;Ll;0;L;;;;;N;;;10C7;;10C7 2D2D;GEORGIAN SMALL LETTER AEN;Ll;0;L;;;;;N;;;10CD;;10CD A792;LATIN CAPITAL LETTER C WITH BAR;Lu;0;L;;;;;N;;;;A793; A793;LATIN SMALL LETTER C WITH BAR;Ll;0;L;;;;;N;;;A792;;A792 A7AA;LATIN CAPITAL LETTER H WITH HOOK;Lu;0;L;;;;;N;;;;0266; JavaScript tests should be updated to test for these changes. Given that these mappings are likely implemented in platform dependent OS code and various platforms have different adoption timelines, the tests should accept results compliant for Unicode 5 through Unicode 6.1. For example, the existing JavaScriptCore test JavaScriptCore/tests/mozilla/ecma/String/15.5.4.11-2.js accepts either Unicode 4 or Unicode 5 results. Maybe the 4.0 expectations can be replaced with acceptance of 5.2 and 6.1 mappings.
Created attachment 127685 [details] Patch
<rdar://problem/10717057>
Comment on attachment 127685 [details] Patch Attachment 127685 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11536769 New failing tests: fast/js/string-capitalization.html
Committed r108252: <http://trac.webkit.org/changeset/108252>