v8/test/intl
Frank Tang f5dac714ad Fix crash in creating NumberFormat
setUnicodeKeywordValue doesn't remove unrelated keyword/value pairs
when the locale is too long, which causes NumberFormat to fail when
calling createInstance. Fix this by using LocaleBuilder to add keyword/value
into a new locale instead of removing the keyword.

Also see https://unicode-org.atlassian.net/browse/ICU-20862

Bug: chromium:1012579
Change-Id: I0f664f60dad8fe786443c8ca8b21ea43323cbf49
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1855586
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64253}
2019-10-11 20:42:06 +00:00
..
bigint [Intl] Clean up by removing the following flags 2019-09-12 22:25:41 +00:00
break-iterator [Intl] Remove --harmony-intl-list-format flag from test 2019-02-13 23:22:43 +00:00
collator [Intl] Reland tests of "Validate u extension type" 2019-01-08 01:53:26 +00:00
date-format [test] Remove incorrect expectation 2019-10-07 22:33:49 +00:00
general [Intl] Throws exception on grandfather and private locale 2019-09-16 20:59:11 +00:00
list-format [Intl] Throws exception on grandfather and private locale 2019-09-16 20:59:11 +00:00
locale [Intl] Remove harmony-locale flag 2019-05-11 06:02:42 +00:00
number-format [Intl] No throwing RangeError when "calendar" and "numberingSystem" are well-formed 2019-10-01 18:04:12 +00:00
overrides Revert "Make intl/overrides/caching.js more 'robust'" 2017-11-13 19:13:13 +00:00
plural-rules [Intl] Add order check test for Intl.* 2018-12-02 23:37:49 +00:00
relative-time-format [Intl] No throwing RangeError when "calendar" and "numberingSystem" are well-formed 2019-10-01 18:04:12 +00:00
segmenter [Intl] Remove linebreak from Segmenter 2019-01-23 04:54:56 +00:00
string Ensure String.prototype.normalize.length is 0 2015-08-05 15:13:45 +00:00
assert.js [Intl] Fix error message to report the right method. 2019-09-12 19:32:31 +00:00
bad-target.js [intl] Remove redundant type checking system 2017-01-09 22:24:57 +00:00
BUILD.gn [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
default_locale.js [Intl] Remove GetDefaultLocale 2018-12-07 06:27:42 +00:00
intl.status Roll icu 2019-10-11 06:58:50 +00:00
not-constructors.js [intl] Remove new.target check in Intl functions and method 2016-12-20 16:06:19 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
regress-4870.js Use stricter type checks in Intl's bound methods 2016-05-18 14:57:58 +00:00
regress-5179.js Avoid calling the builtin String.prototype.split in Intl 2016-07-08 16:53:09 +00:00
regress-7481.js [Intl] Reland tests of "Validate u extension type" 2019-01-08 01:53:26 +00:00
regress-7770.js Add regression test to assert buffer overrun 2019-01-29 00:53:33 +00:00
regress-7982.js [Intl] Remove harmony-locale flag 2019-05-11 06:02:42 +00:00
regress-8030.js Reland test part of "[Intl] Cleans up intl-relative-time-format flag" 2019-01-24 23:17:35 +00:00
regress-8031.js [Intl] Remove --harmony-intl-list-format flag from test 2019-02-13 23:22:43 +00:00
regress-8348.js [Intl] Cutting 43K by removing Unibrow when ICU available 2019-04-03 17:58:51 +00:00
regress-8432.js Drop regress-{8432,8413} from intl.status. 2018-11-18 09:07:16 +00:00
regress-8469.js [Intl] Add regression test for -u-tz- of Intl.DateTimeFormat 2018-12-05 03:02:24 +00:00
regress-8525.js [Intl] Fix numberingSystem for NumberFormat 2018-12-06 11:08:36 +00:00
regress-8604.js Add regression test for v8:8604 2019-04-18 20:48:10 +00:00
regress-8657.js [Intl] Remove harmony-locale flag 2019-05-11 06:02:42 +00:00
regress-8866.js Add regression test for v8:8866 2019-06-06 21:54:10 +00:00
regress-9035.js [Intl] Only use DecimalFormat 2019-03-26 00:28:47 +00:00
regress-9312.js [Intl] Add test cases for %%ALIAS locales 2019-05-31 21:37:08 +00:00
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 Fix crash under lb_LU locale 2019-08-26 17:07:12 +00:00
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] No throwing RangeError when "calendar" and "numberingSystem" are well-formed 2019-10-01 18:04:12 +00:00
regress-9787.js [Intl] No throwing RangeError when "calendar" and "numberingSystem" are well-formed 2019-10-01 18:04:12 +00:00
regress-9788.js [Intl] No throwing RangeError when "calendar" and "numberingSystem" are well-formed 2019-10-01 18:04:12 +00:00
regress-9812.js [Intl] Add test for calendar of formatRange 2019-10-07 22:31:39 +00:00
regress-527926.js [Intl] Fix output of hour:'2-digit', hour12: true 2019-03-21 07:34:22 +00:00
regress-875643.js [Intl] Convert options arg to Object before processing it 2018-08-31 23:56:33 +00:00
regress-888299.js [Intl] Remove incorrect CHECK 2018-09-26 00:24:28 +00:00
regress-895942.js [Intl] Validate extension keys 2018-11-06 12:11:50 +00:00
regress-900013.js [Intl] Hide Intl["SegmentIterator"] 2018-10-30 16:32:54 +00:00
regress-903566.js [test][cleanup] Revive --time, speed up some tests 2019-09-16 11:24:11 +00:00
regress-917151.js [Intl] Fix CHECK fail in Intl::ToLanguageTag() 2019-01-04 01:33:26 +00:00
regress-925216.js [Intl] Fix DefaultHourCycle to skip hHkK in literal 2019-01-28 22:54:47 +00:00
regress-928068.js [Intl] Fix special case timezone 2019-03-07 23:33:22 +00:00
regress-930304.js [Intl] Fix Null-dereference in CreateICUDateFormatFromCache 2019-02-14 09:53:56 +00:00
regress-966285.js [Intl] Fix Null-der READ IsValidExtension<icu_64::Calendar> 2019-05-24 16:32:09 +00:00
regress-971636.js [Intl] Fix RegExp [\W] with i flag 2019-06-12 06:18:08 +00:00
regress-992694.js [Intl] Fix Hungarian number format grouping 2019-09-13 17:14:41 +00:00
regress-997401.js Remove CHECK which fail while the locale is long. 2019-09-10 19:28:54 +00:00
regress-1003748.js [Intl] Fix m(ax|in)imumFractionDigits for currency 2019-09-17 16:34:00 +00:00
regress-1012579.js Fix crash in creating NumberFormat 2019-10-11 20:42:06 +00:00
regress-8725514.js [Intl] Throws exception on grandfather and private locale 2019-09-16 20:59:11 +00:00
testcfg.py [test] Support LC_ALL=en_US.UTF-8 in test runner 2019-06-27 11:54:29 +00:00
toStringTag.js [intl] Create the Intl constructors to C++ 2016-12-27 17:10:00 +00:00
utils.js Import intl test suite from v8-i18n project 2013-07-10 10:49:04 +00:00