@@ -3463,4 +3463,52 @@ public void notification() throws Exception {
34633463 public void console () throws Exception {
34643464 testInstanceString ("" , "console" );
34653465 }
3466+
3467+ /**
3468+ * @throws Exception if the test fails
3469+ */
3470+ @ Test
3471+ @ Alerts (CHROME = "Symbol(Symbol.toStringTag) [C] [Intl]" ,
3472+ EDGE = "Symbol(Symbol.toStringTag) [C] [Intl]" ,
3473+ FF = "Symbol(Symbol.toStringTag) [C] [Intl]" ,
3474+ FF_ESR = "Symbol(Symbol.toStringTag) [C] [Intl]" )
3475+ public void intl () throws Exception {
3476+ testString ("" , "Intl" , false );
3477+ }
3478+
3479+ /**
3480+ * @throws Exception if the test fails
3481+ */
3482+ @ Test
3483+ @ Alerts (CHROME = "Symbol(Symbol.toStringTag) [C] [Intl.Collator]" ,
3484+ EDGE = "Symbol(Symbol.toStringTag) [C] [Intl.Collator]" ,
3485+ FF = "Symbol(Symbol.toStringTag) [C] [Intl.Collator]" ,
3486+ FF_ESR = "Symbol(Symbol.toStringTag) [C] [Intl.Collator]" )
3487+ public void intl_Collator () throws Exception {
3488+ testString ("" , "new Intl.Collator('de')" );
3489+ }
3490+
3491+ /**
3492+ * @throws Exception if the test fails
3493+ */
3494+ @ Test
3495+ @ Alerts (CHROME = "Symbol(Symbol.toStringTag) [C] [Intl.DateTimeFormat]" ,
3496+ EDGE = "Symbol(Symbol.toStringTag) [C] [Intl.DateTimeFormat]" ,
3497+ FF = "Symbol(Symbol.toStringTag) [C] [Intl.DateTimeFormat]" ,
3498+ FF_ESR = "Symbol(Symbol.toStringTag) [C] [Intl.DateTimeFormat]" )
3499+ public void intl_DateTimeFormat () throws Exception {
3500+ testString ("" , "new Intl.DateTimeFormat('en-US')" );
3501+ }
3502+
3503+ /**
3504+ * @throws Exception if the test fails
3505+ */
3506+ @ Test
3507+ @ Alerts (CHROME = "Symbol(Symbol.toStringTag) [C] [Intl.NumberFormat]" ,
3508+ EDGE = "Symbol(Symbol.toStringTag) [C] [Intl.NumberFormat]" ,
3509+ FF = "Symbol(Symbol.toStringTag) [C] [Intl.NumberFormat]" ,
3510+ FF_ESR = "Symbol(Symbol.toStringTag) [C] [Intl.NumberFormat]" )
3511+ public void intl_NumberFormat () throws Exception {
3512+ testString ("" , "new Intl.NumberFormat('de-DE')" );
3513+ }
34663514}
0 commit comments