File tree Expand file tree Collapse file tree
main/java/org/htmlunit/javascript/host/intl
test/java/org/htmlunit/javascript/host/intl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717import java .time .ZoneId ;
1818import java .time .chrono .Chronology ;
19- import java .time .chrono .HijrahChronology ;
2019import java .time .chrono .JapaneseChronology ;
2120import java .time .chrono .ThaiBuddhistChronology ;
2221import java .time .format .DateTimeFormatter ;
@@ -151,7 +150,6 @@ public class DateTimeFormat extends HtmlUnitScriptable {
151150 commonFormats .put ("ga" , mmSlash );
152151 commonFormats .put ("is" , mmSlash );
153152 commonFormats .put ("mk" , mmSlash );
154- commonFormats .put ("ar-SA" , "d\u200F /M\u200F /YYYY هـ" );
155153
156154 EDGE_FORMATS_ .putAll (commonFormats );
157155
@@ -165,8 +163,6 @@ public class DateTimeFormat extends HtmlUnitScriptable {
165163
166164 FF_CHRONOLOGIES_ .putAll (commonChronologies );
167165 FF_ESR_CHRONOLOGIES_ .putAll (commonChronologies );
168-
169- commonChronologies .put ("ar-SA" , HijrahChronology .INSTANCE );
170166 CHROME_CHRONOLOGIES_ .putAll (commonChronologies );
171167 EDGE_CHRONOLOGIES_ .putAll (commonChronologies );
172168 }
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ public class NumberFormat extends HtmlUnitScriptable {
9191 FF_ESR_FORMATS_ .putAll (commonFormats );
9292
9393 commonFormats .put ("be" , ",." );
94- commonFormats .put ("en-ZA" , ",." );
9594 commonFormats .put ("mk" , ",." );
9695 commonFormats .put ("is" , ",." );
9796
Original file line number Diff line number Diff line change @@ -433,9 +433,7 @@ public void format_ar_qa() throws Exception {
433433 * @throws Exception if the test fails
434434 */
435435 @ Test
436- @ Alerts (DEFAULT = "\u0661 \u0667 \u200f /\u0662 \u200f /\u0661 \u0664 \u0663 \u0665 \u0647 \u0640 " ,
437- FF = "\u0662 \u0660 \u200f /\u0661 \u0662 \u200f /\u0662 \u0660 \u0661 \u0663 " ,
438- FF_ESR = "\u0662 \u0660 \u200f /\u0661 \u0662 \u200f /\u0662 \u0660 \u0661 \u0663 " )
436+ @ Alerts ("\u0662 \u0660 \u200f /\u0661 \u0662 \u200f /\u0662 \u0660 \u0661 \u0663 " )
439437 public void format_ar_sa () throws Exception {
440438 test ("new Intl.DateTimeFormat('ar-SA').format(date)" );
441439 }
Original file line number Diff line number Diff line change @@ -582,9 +582,7 @@ public void format_en_us() throws Exception {
582582 * @throws Exception if the test fails
583583 */
584584 @ Test
585- @ Alerts (DEFAULT = "31\u00a0 415,927" ,
586- CHROME = "31,415.927" ,
587- EDGE = "31,415.927" )
585+ @ Alerts ("31\u00a0 415,927" )
588586 public void format_en_za () throws Exception {
589587 test ("new Intl.NumberFormat('en-ZA').format(number)" );
590588 }
You can’t perform that action at this time.
0 commit comments