v8/test/intl
Frank Tang dfab3f44e8 [intl] Part 2 of NumberFormat v3
Change NumberFormat.prototpe.resolvedOptions to return new options in v3.
Also fix a heap allocation assertion bug in GetStringOrBooleanOption
while the useGrouping option is an invalid argument.

https://github.com/tc39/proposal-intl-numberformat-v3

https://chromestatus.com/guide/edit/5707621009981440

Design Doc: https://docs.google.com/document/d/19jAogPBb6W4Samt8NWGZKu47iv0_KoQhBvLgQH3xvr8/edit

Bug: v8:10776
Change-Id: Iaeeb0398b77394db3c941a2706d44b734a1f9d8c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3427298
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79161}
2022-02-18 08:47:59 +00:00
..
bigint [Intl] Clean up by removing the following flags 2019-09-12 22:25:41 +00:00
break-iterator
collator Add "collation" option to Intl.Collator 2020-07-21 18:32:22 +00:00
date-format [intl] Clean up 2021-11-20 03:53:26 +00:00
displaynames [intl] Clean up 2021-11-20 03:53:26 +00:00
enumeration [intl] Implement Intl Enumeration API 2021-08-12 18:00:54 +00:00
general [Intl] Update ICU to 69-1 2021-04-20 22:37:09 +00:00
list-format Implement GetOptionsObject/CoerceOptionsToObject 2021-02-26 22:45:22 +00:00
locale [intl] Update Intl.Locale.weekInfo sync latest 2021-11-30 23:17:28 +00:00
localematcher Reland "[intl] Improve test coverage of "best fit" localeMatcher" 2021-06-21 17:37:31 +00:00
number-format [intl] Part 2 of NumberFormat v3 2022-02-18 08:47:59 +00:00
overrides
plural-rules
relative-time-format Fix android test breakage due to lack of locale 2020-04-01 21:34:33 +00:00
segmenter Implement GetOptionsObject/CoerceOptionsToObject 2021-02-26 22:45:22 +00:00
string
assert.js [intl] Fix Intl Locale Info 2021-06-15 19:16:01 +00:00
bad-target.js
BUILD.gn
default_locale.js
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
intl.status [Intl] Part 1 of NumberFormat v3 2022-02-01 02:19:48 +00:00
not-constructors.js
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
regress-4870.js
regress-5179.js
regress-7481.js
regress-7770.js [mjsunit] Fix intl test when LC_MESSAGES is set 2021-08-24 10:10:12 +00:00
regress-7982.js Fix maximize/minimize of Intl.Locale 2020-06-10 00:01:37 +00:00
regress-8030.js
regress-8031.js
regress-8348.js
regress-8432.js
regress-8469.js
regress-8525.js
regress-8604.js
regress-8657.js
regress-8866.js
regress-9035.js
regress-9084.js Fix locale of Intl.Collator..resolvedOptions 2020-09-16 15:53:09 +00:00
regress-9312.js
regress-9356.js [Intl] Fix /ſ/i.test('ſ'.toUpperCase()) be false. 2019-09-27 18:13:00 +00:00
regress-9408.js [Intl] Clean up by removing the following flags 2019-09-12 22:25:41 +00:00
regress-9464.js Correct the name of the regression test 2019-09-13 16:14:50 +00:00
regress-9475.js [Intl] Clean up by removing the following flags 2019-09-12 22:25:41 +00:00
regress-9513.js [Intl] Clean up by removing the following flags 2019-09-12 22:25:41 +00:00
regress-9642.js
regress-9731.js [Intl] Fix /k/i.test('\u212A') 2019-09-27 17:37:50 +00:00
regress-9747.js [Intl] Sync ListFormat to latest spec. 2019-09-19 20:02:53 +00:00
regress-9786.js [intl] Remove two flags ship in m80 2020-04-24 19:17:26 +00:00
regress-9787.js [intl] Remove two flags ship in m80 2020-04-24 19:17:26 +00:00
regress-9788.js [intl] Remove two flags ship in m80 2020-04-24 19:17:26 +00:00
regress-9812.js [Intl] Add test for calendar of formatRange 2019-10-07 22:31:39 +00:00
regress-9849.js Fix crash bug with some numberingSystem and dateStyle/timeStyle 2019-10-21 20:12:54 +00:00
regress-9887.js [intl] Remove two flags ship in m80 2020-04-24 19:17:26 +00:00
regress-9912.js Fix the format of date range older than Oct 15 1582 2019-10-29 18:12:25 +00:00
regress-10248.js [regexp] Fix and unify non-unicode case-folding algorithms 2020-03-10 11:09:28 +00:00
regress-10437.js [intl] Add failing test for v8:10437 2020-04-23 17:10:17 +00:00
regress-10438.js Use better error messages for dateStyle/timeStyle 2020-09-11 11:26:50 +00:00
regress-10526.js Reland "Add regression tests for 4 calendar bugs" 2020-11-17 23:47:08 +00:00
regress-10527.js Reland "Add regression tests for 4 calendar bugs" 2020-11-17 23:47:08 +00:00
regress-10528.js Reland "Add regression tests for 4 calendar bugs" 2020-11-17 23:47:08 +00:00
regress-10529.js [Intl] Update ICU to 70-1 on v8 2021-11-12 11:35:09 +00:00
regress-10573.js [regexp] Document incorrect assertion in intl/regress-10573.js 2020-06-09 06:27:27 +00:00
regress-10599.js Roll icu to fix sr-ME timeZoneName in Latin bug 2020-06-19 06:42:51 +00:00
regress-10613.js Use better error messages for dateStyle/timeStyle 2020-09-11 11:26:50 +00:00
regress-10836.js Change the order of the DateTimeFormat resolved 2020-08-27 20:39:05 +00:00
regress-10960.js [intl] Fix timezone bug in test 2020-10-05 14:41:51 +00:00
regress-11295.js Fix resolvedOption calendar for "iso8601" 2021-01-12 06:22:08 +00:00
regress-11350.js Fix m(in|ax)imize() with long locale 2021-01-29 00:28:32 +00:00
regress-11595.js Fix BestFitMatcher due to invalid locale id in ICU 2021-04-07 06:17:53 +00:00
regress-364374.js Fix special case timezone RangeError 2020-04-15 18:19:00 +00:00
regress-527926.js
regress-875643.js
regress-888299.js
regress-895942.js
regress-900013.js Reland "[intl] Clean up intl_segmenter flag" 2020-12-10 10:25:48 +00:00
regress-903566.js [test][cleanup] Revive --time, speed up some tests 2019-09-16 11:24:11 +00:00
regress-917151.js
regress-925216.js
regress-928068.js
regress-930304.js
regress-966285.js [intl] Remove two flags ship in m80 2020-04-24 19:17:26 +00:00
regress-971636.js
regress-992694.js [Intl] Fix Hungarian number format grouping 2019-09-13 17:14:41 +00:00
regress-997401.js
regress-1003748.js [Intl] Fix m(ax|in)imumFractionDigits for currency 2019-09-17 16:34:00 +00:00
regress-1012579.js [Intl] Fix ASAN crash listformat w/ > 9 items 2020-11-14 05:42:45 +00:00
regress-1030160.js Fix format of -NAN in toLocaleString() 2020-02-24 17:11:26 +00:00
regress-1041319.js Reland "[Intl] Fix RelativeTimeFormat fatal" 2020-02-18 18:29:08 +00:00
regress-1074578.js Roll ICU and correct timezone test 2021-10-21 18:39:31 +00:00
regress-1107661.js Fix "japanese" and "chinese" calendar 2020-10-01 10:32:42 +00:00
regress-1108810.js Fix minimumIntegerDigits in NumberFormat 2020-07-30 17:28:40 +00:00
regress-1121156.js Reland "[intl] Clean up intl_segmenter flag" 2020-12-10 10:25:48 +00:00
regress-1130489.js Fix fuzzer problem due to allocation of string 2020-09-22 19:53:28 +00:00
regress-1132641.js [date] Fix crash by invalid TimeZone "US/x0" names. 2020-09-28 21:34:34 +00:00
regress-1146468.js roll icu to Fix debug assertion in ICU Locale::setKeywordValue 2020-11-14 03:19:17 +00:00
regress-1170305.js [intl] Fix space between day and hour in Chinese locale 2021-01-29 00:29:37 +00:00
regress-1177623.js Fix Use-of-uninitialized-value 2021-02-19 21:11:27 +00:00
regress-1177812.js Fix Use-of-uninitialized-value 2021-02-19 21:11:27 +00:00
regress-1224869.js [Intl] throw instead of DCHECK while long locale 2021-08-03 07:33:29 +00:00
regress-8725514.js [Intl] Throws exception on grandfather and private locale 2019-09-16 20:59:11 +00:00
string-localecompare.js [intl] Fix two issues in the localeCompare fast path 2021-11-24 08:28:39 +00:00
testcfg.py [infra] Testrunner fixes for Python3 compatibility 2022-02-04 17:58:05 +00:00
toStringTag.js [Intl] Define @@toStringTag for Intl namespace 2020-08-01 02:21:20 +00:00
utils.js