Changeset 287869 in webkit
- Timestamp:
- Jan 10, 2022, 10:34:39 PM (5 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
stress/intl-locale-info.js (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r287800 r287869 1 2022-01-10 Yusuke Suzuki <ysuzuki@apple.com> 2 3 Unreviewed, add a bit more Intl.Locale hourCycle tests to investigate flakiness 4 5 * stress/intl-locale-info.js: 6 (let.l.new.Intl.Locale.shouldBe): 7 (shouldBe): 8 1 9 2022-01-07 Alexey Shvayka <ashvayka@apple.com> 2 10 -
trunk/JSTests/stress/intl-locale-info.js
r286998 r287869 23 23 shouldBe(JSON.stringify(locale.calendars), `["gregory","coptic","islamic","islamic-civil","islamic-tbla"]`); 24 24 shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`); 25 shouldBe(locale.hourCycle, undefined); 25 26 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 26 27 let ns = JSON.stringify(locale.numberingSystems); … … 32 33 shouldBe(JSON.stringify(locale.calendars), `["gregory","coptic","islamic","islamic-civil","islamic-tbla"]`); 33 34 shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`); 35 shouldBe(locale.hourCycle, undefined); 34 36 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 35 37 shouldBe(JSON.stringify(locale.numberingSystems), `["arab"]`); … … 41 43 shouldBe(calendars === `["islamic-umalqura","islamic-rgsa","islamic","gregory"]` || calendars === `["islamic-umalqura","gregory","islamic","islamic-rgsa"]`, true); 42 44 shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`); 45 shouldBe(locale.hourCycle, undefined); 43 46 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 44 47 shouldBe(JSON.stringify(locale.numberingSystems), `["arab"]`); … … 49 52 shouldBe(JSON.stringify(locale.calendars), `["gregory","japanese"]`); 50 53 shouldBe(JSON.stringify(locale.collations), `["unihan","emoji","eor"]`); 54 shouldBe(locale.hourCycle, undefined); 51 55 shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`); 52 56 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 57 61 shouldBe(JSON.stringify(locale.calendars), `["gregory","japanese"]`); 58 62 shouldBe(JSON.stringify(locale.collations), `["unihan","emoji","eor"]`); 63 shouldBe(locale.hourCycle, undefined); 59 64 shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`); 60 65 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 65 70 shouldBe(JSON.stringify(locale.calendars), `["gregory"]`); 66 71 shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`); 72 shouldBe(locale.hourCycle, undefined); 67 73 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 68 74 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 73 79 shouldBe(JSON.stringify(locale.calendars), `["gregory"]`); 74 80 shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`); 81 shouldBe(locale.hourCycle, undefined); 75 82 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 76 83 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 81 88 shouldBe(JSON.stringify(locale.calendars), `["gregory","chinese"]`); 82 89 shouldBe(JSON.stringify(locale.collations), `["pinyin","big5han","gb2312","stroke","unihan","zhuyin","emoji","eor"]`); 90 shouldBe(locale.hourCycle, undefined); 83 91 shouldBe(JSON.stringify(locale.hourCycles), $vm.icuVersion() >= 69 ? `["h23"]` : `["h12"]`); 84 92 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 89 97 shouldBe(JSON.stringify(locale.calendars), `["gregory","roc","chinese"]`); 90 98 shouldBe(JSON.stringify(locale.collations), `["stroke","big5han","gb2312","pinyin","unihan","zhuyin","emoji","eor"]`); 99 shouldBe(locale.hourCycle, undefined); 91 100 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 92 101 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 97 106 shouldBe(JSON.stringify(locale.calendars), `["gregory","chinese"]`); 98 107 shouldBe(JSON.stringify(locale.collations), `["stroke","big5han","gb2312","pinyin","unihan","zhuyin","emoji","eor"]`); 108 shouldBe(locale.hourCycle, undefined); 99 109 shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`); 100 110 shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`); … … 105 115 shouldBe(JSON.stringify(locale.calendars), `["persian","gregory","islamic","islamic-civil","islamic-tbla"]`); 106 116 shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`); 117 shouldBe(locale.hourCycle, undefined); 107 118 shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`); 108 119 shouldBe(JSON.stringify(locale.numberingSystems), `["arabext"]`);
Note:
See TracChangeset
for help on using the changeset viewer.