Title: [233674] trunk/JSTests
Revision
233674
Author
[email protected]
Date
2018-07-09 18:18:39 -0700 (Mon, 09 Jul 2018)

Log Message

REGRESSION (ICU-62100.0.1): JSC test mozilla-tests.yaml/ecma/String/15.5.4.12-3.js is failing
https://bugs.webkit.org/show_bug.cgi?id=187495

Reviewed by Saam Barati.

Commented out the Georgian section of this toUpper() test since Unicode 11 added new upper case characters for
most of this range.

* mozilla/ecma/String/15.5.4.12-3.js:
(getTestCases):
(DecimalToHexString):

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (233673 => 233674)


--- trunk/JSTests/ChangeLog	2018-07-10 00:39:07 UTC (rev 233673)
+++ trunk/JSTests/ChangeLog	2018-07-10 01:18:39 UTC (rev 233674)
@@ -1,3 +1,17 @@
+2018-07-09  Michael Saboff  <[email protected]>
+
+        REGRESSION (ICU-62100.0.1): JSC test mozilla-tests.yaml/ecma/String/15.5.4.12-3.js is failing
+        https://bugs.webkit.org/show_bug.cgi?id=187495
+
+        Reviewed by Saam Barati.
+
+        Commented out the Georgian section of this toUpper() test since Unicode 11 added new upper case characters for
+        most of this range.
+
+        * mozilla/ecma/String/15.5.4.12-3.js:
+        (getTestCases):
+        (DecimalToHexString):
+
 2018-07-02  Sukolsak Sakshuwong  <[email protected]>
 
         RegExp.exec returns wrong value with a long integer quantifier

Modified: trunk/JSTests/mozilla/ecma/String/15.5.4.12-3.js (233673 => 233674)


--- trunk/JSTests/mozilla/ecma/String/15.5.4.12-3.js	2018-07-10 00:39:07 UTC (rev 233673)
+++ trunk/JSTests/mozilla/ecma/String/15.5.4.12-3.js	2018-07-10 01:18:39 UTC (rev 233674)
@@ -54,16 +54,18 @@
     var array = new Array();
     var item = 0;
 
+    /*
+     * Unicode 11.0 added special uppercase values for U+10A0..U+10FA & U+10FD..U+10FF and thus toUpper()
+     * support for the Georgian range.  It doesn't make sense to make the test adaptive based on what version of
+     * Unicode is installed.  The simplest thing to do is not test this range.
     // Georgian
     // Range: U+10A0 to U+10FF
     for ( var i = 0x10A0; i <= 0x10FF; i++ ) {
         var U = new Unicode( i );
-/*
         array[item++] = new TestCase(   SECTION,
                                         "var s = new String( String.fromCharCode("+i+") ); s.toUpperCase()",
                                         String.fromCharCode(U.upper),
                                         eval("var s = new String( String.fromCharCode("+i+") ); s.toUpperCase()") );
-*/
         array[item++] = new TestCase(   SECTION,
                                         "var s = new String( String.fromCharCode("+i+") ); s.toUpperCase().charCodeAt(0)",
                                         U.upper,
@@ -70,6 +72,7 @@
                                         eval("var s = new String( String.fromCharCode(i) ); s.toUpperCase().charCodeAt(0)") );
 
     }
+    */
 
     // Halfwidth and Fullwidth Forms
     // Range: U+FF00 to U+FFEF
@@ -553,4 +556,4 @@
     }
 
     return h;
-}
\ No newline at end of file
+}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to