Skip to content

Commit 5aa9687

Browse files
[wasm] Bump chrome for testing - linux: 125.0.6422.141, windows: 126.0.6478.36 (#103204)
* Automated bump of chrome version * Fix: NodeJS behaves like FF. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ilona Tomkowicz <[email protected]>
1 parent 13737d2 commit 5aa9687

16 files changed

+34
-34
lines changed

eng/testing/BrowserVersions.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<linux_ChromeRevision>1287751</linux_ChromeRevision>
55
<linux_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1287757</linux_ChromeBaseSnapshotUrl>
66
<linux_V8Version>12.5.227</linux_V8Version>
7-
<win_ChromeVersion>125.0.6422.60</win_ChromeVersion>
8-
<win_ChromeRevision>1287751</win_ChromeRevision>
9-
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1287751</win_ChromeBaseSnapshotUrl>
10-
<win_V8Version>12.5.227</win_V8Version>
7+
<win_ChromeVersion>126.0.6478.36</win_ChromeVersion>
8+
<win_ChromeRevision>1300313</win_ChromeRevision>
9+
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1300320</win_ChromeBaseSnapshotUrl>
10+
<win_V8Version>12.6.228</win_V8Version>
1111
<linux_FirefoxRevision>125.0.1</linux_FirefoxRevision>
1212
<linux_GeckoDriverRevision>0.34.0</linux_GeckoDriverRevision>
1313
<win_FirefoxRevision>125.0.1</win_FirefoxRevision>

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoAMDesignator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static IEnumerable<object[]> AMDesignator_Get_TestData_HybridGlobalizatio
137137
yield return new object[] { "en-ZA", "am" };
138138
yield return new object[] { "en-ZM", "am" };
139139
yield return new object[] { "en-ZW", "am" };
140-
string latinAmericaSpanishAMDesignator = PlatformDetection.IsFirefox ? "a.\u00A0m." : "a.m.";
140+
string latinAmericaSpanishAMDesignator = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "a.\u00A0m." : "a.m.";
141141
yield return new object[] { "es-419", latinAmericaSpanishAMDesignator };
142142
yield return new object[] { "es-ES", "a.\u00A0m." };
143143
yield return new object[] { "es-MX", latinAmericaSpanishAMDesignator };
@@ -189,7 +189,7 @@ public static IEnumerable<object[]> AMDesignator_Get_TestData_HybridGlobalizatio
189189
yield return new object[] { "sw-KE", "AM" };
190190
yield return new object[] { "sw-TZ", "AM" };
191191
yield return new object[] { "sw-UG", "AM" };
192-
string tamilAMDesignator = PlatformDetection.IsFirefox ? "முற்பகல்" : "AM"; // முற்பகல்
192+
string tamilAMDesignator = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "முற்பகல்" : "AM"; // முற்பகல்
193193
yield return new object[] { "ta-IN", tamilAMDesignator };
194194
yield return new object[] { "ta-LK", tamilAMDesignator };
195195
yield return new object[] { "ta-MY", tamilAMDesignator };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoAbbreviatedMonthGenitiveNames.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static IEnumerable<object[]> AbbreviatedMonthGenitiveNames_Get_TestData_H
1212
{
1313
// see the comments on the right to check the non-Hybrid result, if it differs
1414
yield return new object[] { "ar-SA", new string[] { "محرم", "صفر", "ربيع الأول", "ربيع الآخر", "جمادى الأولى", "جمادى الآخرة", "رجب", "شعبان", "رمضان", "شوال", "ذو القعدة", "ذو الحجة", "" } };
15-
if (PlatformDetection.IsFirefox)
15+
if (PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS)
1616
{
1717
yield return new object[] { "am-ET", new string[] { "ጃንዩ", "ፌብሩ", "ማርች", "ኤፕሪ", "ሜይ", "ጁን", "ጁላይ", "ኦገስ", "ሴፕቴ", "ኦክቶ", "ኖቬም", "ዲሴም", "" } };
1818
yield return new object[] { "es-MX", new string[] { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sept", "oct", "nov", "dic", "" } }; // "ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""
@@ -200,7 +200,7 @@ public static IEnumerable<object[]> AbbreviatedMonthGenitiveNames_Get_TestData_H
200200
yield return new object[] { "tr-CY", new string[] { "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", "" } };
201201
yield return new object[] { "tr-TR", new string[] { "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", "" } };
202202
yield return new object[] { "uk-UA", new string[] { "січ.", "лют.", "бер.", "квіт.", "трав.", "черв.", "лип.", "серп.", "вер.", "жовт.", "лист.", "груд.", "" } };
203-
string vietnameseAbbrMonth = PlatformDetection.IsFirefox ? "Thg" : "Tháng"; // thg
203+
string vietnameseAbbrMonth = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "Thg" : "Tháng"; // thg
204204
yield return new object[] { "vi-VN", new string[] { $"{vietnameseAbbrMonth} 1", $"{vietnameseAbbrMonth} 2", $"{vietnameseAbbrMonth} 3", $"{vietnameseAbbrMonth} 4", $"{vietnameseAbbrMonth} 5", $"{vietnameseAbbrMonth} 6", $"{vietnameseAbbrMonth} 7", $"{vietnameseAbbrMonth} 8", $"{vietnameseAbbrMonth} 9", $"{vietnameseAbbrMonth} 10", $"{vietnameseAbbrMonth} 11", $"{vietnameseAbbrMonth} 12", "" } };
205205
yield return new object[] { "zh-CN", new string[] { "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", "" } };
206206
yield return new object[] { "zh-Hans-HK", new string[] { "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", "" } };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoAbbreviatedMonthNames.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static IEnumerable<object[]> AbbreviatedMonthNames_Get_TestData_HybridGlo
3232
{
3333
// see the comments on the right to check the non-Hybrid result, if it differs
3434
yield return new object[] { "ar-SA", new string[] { "محرم", "صفر", "ربيع الأول", "ربيع الآخر", "جمادى الأولى", "جمادى الآخرة", "رجب", "شعبان", "رمضان", "شوال", "ذو القعدة", "ذو الحجة", "" } };
35-
if (PlatformDetection.IsFirefox)
35+
if (PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS)
3636
{
3737
yield return new object[] { "am-ET", new string[] { "ጃንዩ", "ፌብሩ", "ማርች", "ኤፕሪ", "ሜይ", "ጁን", "ጁላይ", "ኦገስ", "ሴፕቴ", "ኦክቶ", "ኖቬም", "ዲሴም", "" } };
3838
yield return new object[] { "en-AU", new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec", "" } };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoFullDateTimePattern.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public static IEnumerable<object[]> FullDateTimePattern_Get_TestData_HybridGloba
2828
{
2929
yield return new object[] { new CultureInfo("ar-SA").DateTimeFormat, "dddd، d MMMM yyyy h:mm:ss tt" }; // dddd، d MMMM yyyy g h:mm:ss tt
3030
yield return new object[] { new CultureInfo("am-ET").DateTimeFormat, "yyyy MMMM d, dddd h:mm:ss tt" };
31-
yield return new object[] { new CultureInfo("bg-BG").DateTimeFormat, PlatformDetection.IsFirefox ? "dddd, d MMMM yyyy г. H:mm:ss ч." : "dddd, d MMMM yyyy г. H:mm:ss" }; // dddd, d MMMM yyyy 'г'. H:mm:ss
31+
yield return new object[] { new CultureInfo("bg-BG").DateTimeFormat, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM yyyy г. H:mm:ss ч." : "dddd, d MMMM yyyy г. H:mm:ss" }; // dddd, d MMMM yyyy 'г'. H:mm:ss
3232
yield return new object[] { new CultureInfo("bn-BD").DateTimeFormat, "dddd, d MMMM, yyyy h:mm:ss tt" };
3333
yield return new object[] { new CultureInfo("bn-IN").DateTimeFormat, "dddd, d MMMM, yyyy h:mm:ss tt" };
34-
string catalanPattern = PlatformDetection.IsFirefox ? "dddd, d de MMMM de yyyy H:mm:ss" : "dddd, d de MMMM del yyyy H:mm:ss";
34+
string catalanPattern = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d de MMMM de yyyy H:mm:ss" : "dddd, d de MMMM del yyyy H:mm:ss";
3535
yield return new object[] { new CultureInfo("ca-AD").DateTimeFormat, catalanPattern }; // dddd, d MMMM 'de' yyyy H:mm:ss
3636
yield return new object[] { new CultureInfo("ca-ES").DateTimeFormat, catalanPattern }; // dddd, d MMMM 'de' yyyy H:mm:ss
3737
yield return new object[] { new CultureInfo("cs-CZ").DateTimeFormat, "dddd d. MMMM yyyy H:mm:ss" };
@@ -50,7 +50,7 @@ public static IEnumerable<object[]> FullDateTimePattern_Get_TestData_HybridGloba
5050
yield return new object[] { new CultureInfo("en-AI").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
5151
yield return new object[] { new CultureInfo("en-AS").DateTimeFormat, "dddd, MMMM d, yyyy h:mm:ss tt" };
5252
yield return new object[] { new CultureInfo("en-AT").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
53-
yield return new object[] { new CultureInfo("en-AU").DateTimeFormat, PlatformDetection.IsFirefox ? "dddd, d MMMM yyyy h:mm:ss tt" : "dddd d MMMM yyyy h:mm:ss tt" };
53+
yield return new object[] { new CultureInfo("en-AU").DateTimeFormat, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM yyyy h:mm:ss tt" : "dddd d MMMM yyyy h:mm:ss tt" };
5454
yield return new object[] { new CultureInfo("en-BB").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
5555
yield return new object[] { new CultureInfo("en-BE").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
5656
yield return new object[] { new CultureInfo("en-BI").DateTimeFormat, "dddd, MMMM d, yyyy HH:mm:ss" };
@@ -73,7 +73,7 @@ public static IEnumerable<object[]> FullDateTimePattern_Get_TestData_HybridGloba
7373
yield return new object[] { new CultureInfo("en-FJ").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
7474
yield return new object[] { new CultureInfo("en-FK").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
7575
yield return new object[] { new CultureInfo("en-FM").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
76-
yield return new object[] { new CultureInfo("en-GB").DateTimeFormat, PlatformDetection.IsFirefox ? "dddd, d MMMM yyyy HH:mm:ss" : "dddd d MMMM yyyy HH:mm:ss" };
76+
yield return new object[] { new CultureInfo("en-GB").DateTimeFormat, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM yyyy HH:mm:ss" : "dddd d MMMM yyyy HH:mm:ss" };
7777
yield return new object[] { new CultureInfo("en-GD").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
7878
yield return new object[] { new CultureInfo("en-GG").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
7979
yield return new object[] { new CultureInfo("en-GH").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
@@ -85,7 +85,7 @@ public static IEnumerable<object[]> FullDateTimePattern_Get_TestData_HybridGloba
8585
yield return new object[] { new CultureInfo("en-IE").DateTimeFormat, "dddd d MMMM yyyy HH:mm:ss" };
8686
yield return new object[] { new CultureInfo("en-IL").DateTimeFormat, "dddd, d MMMM yyyy H:mm:ss" };
8787
yield return new object[] { new CultureInfo("en-IM").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
88-
yield return new object[] { new CultureInfo("en-IN").DateTimeFormat, PlatformDetection.IsFirefox ? "dddd, d MMMM, yyyy h:mm:ss tt" : "dddd d MMMM, yyyy h:mm:ss tt" };
88+
yield return new object[] { new CultureInfo("en-IN").DateTimeFormat, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM, yyyy h:mm:ss tt" : "dddd d MMMM, yyyy h:mm:ss tt" };
8989
yield return new object[] { new CultureInfo("en-IO").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
9090
yield return new object[] { new CultureInfo("en-JE").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" };
9191
yield return new object[] { new CultureInfo("en-JM").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
@@ -147,7 +147,7 @@ public static IEnumerable<object[]> FullDateTimePattern_Get_TestData_HybridGloba
147147
yield return new object[] { new CultureInfo("en-ZA").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" }; // dddd, dd MMMM yyyy HH:mm:ss
148148
yield return new object[] { new CultureInfo("en-ZM").DateTimeFormat, "dddd, d MMMM yyyy h:mm:ss tt" };
149149
yield return new object[] { new CultureInfo("en-ZW").DateTimeFormat, "dddd, d MMMM yyyy HH:mm:ss" }; // dddd, dd MMMM yyyy HH:mm:ss
150-
string latinAmericaSpanishFormat = PlatformDetection.IsFirefox ? "dddd, d de MMMM de yyyy HH:mm:ss" : "dddd, d de MMMM de yyyy h:mm:ss tt"; // dddd, d 'de' MMMM 'de' yyyy HH:mm:ss
150+
string latinAmericaSpanishFormat = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d de MMMM de yyyy HH:mm:ss" : "dddd, d de MMMM de yyyy h:mm:ss tt"; // dddd, d 'de' MMMM 'de' yyyy HH:mm:ss
151151
yield return new object[] { new CultureInfo("es-419").DateTimeFormat, latinAmericaSpanishFormat };
152152
yield return new object[] { new CultureInfo("es-ES").DateTimeFormat, "dddd, d de MMMM de yyyy H:mm:ss" }; // dddd, d 'de' MMMM 'de' yyyy H:mm:ss
153153
yield return new object[] { new CultureInfo("es-MX").DateTimeFormat, latinAmericaSpanishFormat };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetAbbreviatedEraName.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static IEnumerable<object[]> GetAbbreviatedEraName_TestData()
199199
yield return new object[] { "tr-CY", 1, "MS" };
200200
yield return new object[] { "tr-TR", 1, "MS" };
201201
yield return new object[] { "uk-UA", 1, "н.е." };
202-
yield return new object[] { "vi-VN", 1, PlatformDetection.IsFirefox ? "sau CN" : "CN" }; // sau CN
202+
yield return new object[] { "vi-VN", 1, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "sau CN" : "CN" }; // sau CN
203203
yield return new object[] { "zh-CN", 1, "公元" };
204204
yield return new object[] { "zh-Hans-HK", 1, "公元" };
205205
yield return new object[] { "zh-SG", 1, "公元" };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetEraName.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ public static IEnumerable<object[]> GetEraName_TestData()
387387
yield return new object[] { "tr-TR", 1, "MS" };
388388
yield return new object[] { "uk-UA", 0, "н. е." };
389389
yield return new object[] { "uk-UA", 1, "н. е." };
390-
yield return new object[] { "vi-VN", 0, PlatformDetection.IsFirefox ? "CN" : "SCN" }; // sau CN
391-
yield return new object[] { "vi-VN", 1, PlatformDetection.IsFirefox ? "CN" : "SCN" }; // sau CN
390+
yield return new object[] { "vi-VN", 0, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "CN" : "SCN" }; // sau CN
391+
yield return new object[] { "vi-VN", 1, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "CN" : "SCN" }; // sau CN
392392
yield return new object[] { "zh-CN", 0, "公元" };
393393
yield return new object[] { "zh-CN", 1, "公元" };
394394
yield return new object[] { "zh-Hans-HK", 0, "公元" };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoLongDatePattern.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static IEnumerable<object[]> LongDatePattern_Get_TestData_HybridGlobaliza
3333
yield return new object[] {"bg-BG", "dddd, d MMMM yyyy г." }; // "dddd, d MMMM yyyy 'г'."
3434
yield return new object[] {"bn-BD", "dddd, d MMMM, yyyy" };
3535
yield return new object[] {"bn-IN", "dddd, d MMMM, yyyy" };
36-
string catalanianPattern = PlatformDetection.IsFirefox ? "dddd, d de MMMM de yyyy" : "dddd, d de MMMM del yyyy"; // "dddd, d MMMM 'de' yyyy"
36+
string catalanianPattern = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d de MMMM de yyyy" : "dddd, d de MMMM del yyyy"; // "dddd, d MMMM 'de' yyyy"
3737
yield return new object[] {"ca-AD", catalanianPattern };
3838
yield return new object[] {"ca-ES", catalanianPattern };
3939
yield return new object[] {"cs-CZ", "dddd d. MMMM yyyy" };
@@ -52,7 +52,7 @@ public static IEnumerable<object[]> LongDatePattern_Get_TestData_HybridGlobaliza
5252
yield return new object[] {"en-AI", "dddd, d MMMM yyyy" };
5353
yield return new object[] {"en-AS", "dddd, MMMM d, yyyy" };
5454
yield return new object[] {"en-AT", "dddd, d MMMM yyyy" };
55-
yield return new object[] {"en-AU", PlatformDetection.IsFirefox ? "dddd, d MMMM yyyy" : "dddd d MMMM yyyy" };
55+
yield return new object[] {"en-AU", PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM yyyy" : "dddd d MMMM yyyy" };
5656
yield return new object[] {"en-BB", "dddd, d MMMM yyyy" };
5757
yield return new object[] {"en-BE", "dddd, d MMMM yyyy" };
5858
yield return new object[] {"en-BI", "dddd, MMMM d, yyyy" };
@@ -75,7 +75,7 @@ public static IEnumerable<object[]> LongDatePattern_Get_TestData_HybridGlobaliza
7575
yield return new object[] {"en-FJ", "dddd, d MMMM yyyy" };
7676
yield return new object[] {"en-FK", "dddd, d MMMM yyyy" };
7777
yield return new object[] {"en-FM", "dddd, d MMMM yyyy" };
78-
yield return new object[] {"en-GB", PlatformDetection.IsFirefox ? "dddd, d MMMM yyyy" :"dddd d MMMM yyyy" };
78+
yield return new object[] {"en-GB", PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM yyyy" :"dddd d MMMM yyyy" };
7979
yield return new object[] {"en-GD", "dddd, d MMMM yyyy" };
8080
yield return new object[] {"en-GG", "dddd, d MMMM yyyy" };
8181
yield return new object[] {"en-GH", "dddd, d MMMM yyyy" };
@@ -87,7 +87,7 @@ public static IEnumerable<object[]> LongDatePattern_Get_TestData_HybridGlobaliza
8787
yield return new object[] {"en-IE", "dddd d MMMM yyyy" };
8888
yield return new object[] {"en-IL", "dddd, d MMMM yyyy" };
8989
yield return new object[] {"en-IM", "dddd, d MMMM yyyy" };
90-
yield return new object[] {"en-IN", PlatformDetection.IsFirefox ? "dddd, d MMMM, yyyy" : "dddd d MMMM, yyyy" }; // dddd, d MMMM, yyyy
90+
yield return new object[] {"en-IN", PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "dddd, d MMMM, yyyy" : "dddd d MMMM, yyyy" }; // dddd, d MMMM, yyyy
9191
yield return new object[] {"en-IO", "dddd, d MMMM yyyy" };
9292
yield return new object[] {"en-JE", "dddd, d MMMM yyyy" };
9393
yield return new object[] {"en-JM", "dddd, d MMMM yyyy" };

src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoLongTimePattern.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static IEnumerable<object[]> LongTimePattern_Get_TestData_HybridGlobaliza
1919
// see the comments on the right to check the non-Hybrid result, if it differs
2020
yield return new object[] { new CultureInfo("ar-SA").DateTimeFormat, "h:mm:ss tt" };
2121
yield return new object[] { new CultureInfo("am-ET").DateTimeFormat, "h:mm:ss tt" };
22-
yield return new object[] { new CultureInfo("bg-BG").DateTimeFormat, PlatformDetection.IsFirefox ? "H:mm:ss ч." : "H:mm:ss" }; // H:mm:ss ч.
22+
yield return new object[] { new CultureInfo("bg-BG").DateTimeFormat, PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "H:mm:ss ч." : "H:mm:ss" }; // H:mm:ss ч.
2323
yield return new object[] { new CultureInfo("bn-BD").DateTimeFormat, "h:mm:ss tt" };
2424
yield return new object[] { new CultureInfo("bn-IN").DateTimeFormat, "h:mm:ss tt" };
2525
yield return new object[] { new CultureInfo("ca-AD").DateTimeFormat, "H:mm:ss" };
@@ -137,7 +137,7 @@ public static IEnumerable<object[]> LongTimePattern_Get_TestData_HybridGlobaliza
137137
yield return new object[] { new CultureInfo("en-ZA").DateTimeFormat, "HH:mm:ss" };
138138
yield return new object[] { new CultureInfo("en-ZM").DateTimeFormat, "h:mm:ss tt" };
139139
yield return new object[] { new CultureInfo("en-ZW").DateTimeFormat, "HH:mm:ss" };
140-
string latinAmericaSpanishPattern = PlatformDetection.IsFirefox ? "HH:mm:ss" : "h:mm:ss tt"; // H:mm:ss
140+
string latinAmericaSpanishPattern = PlatformDetection.IsFirefox || PlatformDetection.IsNodeJS ? "HH:mm:ss" : "h:mm:ss tt"; // H:mm:ss
141141
yield return new object[] { new CultureInfo("es-419").DateTimeFormat, latinAmericaSpanishPattern };
142142
yield return new object[] { new CultureInfo("es-ES").DateTimeFormat, "H:mm:ss" };
143143
yield return new object[] { new CultureInfo("es-MX").DateTimeFormat, latinAmericaSpanishPattern };

0 commit comments

Comments
 (0)