4485 Commits

Author SHA1 Message Date
André Bargull
18bb955771 Upstream additional language tag canonicalisation and Intl.Locale tests from SpiderMonkey
Adds more canonicalisation and Intl.Locale tests from:
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/Locale
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/
2020-04-09 09:20:55 -04:00
André Bargull
5d8e6c8e85 Restore grandfathered tests removed in #2054
With the move to UTS 35 for language tag processing, the expected
canonicalisation results for "cel-gaulish" should now be consistent across
implementations.
2020-04-09 09:20:55 -04:00
André Bargull
de02cf4dd5 Re-enable variant subtag canonicalisation in tests
UTS 35 canonicalisation requires to (again) canonicalise variant subtags.
2020-04-09 09:20:55 -04:00
André Bargull
a52517464f Add Unicode and Transformed extension canonicalisation
Generated using the make_intl_data.py script.
2020-04-09 09:20:55 -04:00
André Bargull
1c93566e66 Update language tag mappings to CLDR 36.1
Generated using the make_intl_data.py script.
2020-04-09 09:20:55 -04:00
André Bargull
033f31a8ed Add the language tag mappings python script
The file is derived from the same-named file for SpiderMonkey, therefore I've
kept the MPL license info.

The next commits use this script to generate language tag mappings data.
2020-04-09 09:20:55 -04:00
André Bargull
756ee6a171 Update list of numbering systems 2020-04-09 09:20:55 -04:00
André Bargull
7556d59fe7 Update list of Intl service constructors
Add RelativeTimeFormat, ListFormat, and DisplayNames to the list of Intl
service constructors.
2020-04-09 09:20:55 -04:00
Rick Waldron
62b8fce389 Deleting previously valid generated tests 2020-04-02 12:58:38 -04:00
Caio Lima
539c001941 Updating test with 'o?.#field' to be valid program 2020-04-02 12:58:38 -04:00
Alexey Shvayka
df59ad6134 Add AsyncIteratorClose tests 2020-04-02 11:25:58 -04:00
Alexey Shvayka
fccd9c4b81 Add IteratorClose tests 2020-04-02 11:25:58 -04:00
Shu-yu Guo
966fc11862 Migrate FinalizationRegistry tests to per-item callback API 2020-04-01 16:45:40 -04:00
Alexey Shvayka
4199a3b34b Add integer index property name test 2020-04-01 11:41:38 -04:00
Alexey Shvayka
b69390e68a Add string property name test 2020-04-01 11:41:38 -04:00
Alexey Shvayka
00cf7a1a9c Rename "trap-is-undefined-receiver.js" 2020-04-01 11:41:38 -04:00
Alexey Shvayka
40a1a6f6d2
Improve RegExp LegacyOctalEscapeSequence coverage (#2558) 2020-03-31 13:52:46 -07:00
Rick Waldron
772fd320cd
Promise.any: remove erroneous SpeciesConstructor tests until a better solution can be found. (#2562) 2020-03-31 13:51:49 -07:00
Rick Waldron
ffaae1f7ec Logical Assignment Operators: additional syntax tests 2020-03-31 15:05:04 -04:00
Justin Ridgewell
2778324491 Fix tests 2020-03-31 10:56:40 -04:00
Justin Ridgewell
78dbc401b1 Add logical-assignment-operators feature 2020-03-31 10:56:40 -04:00
Justin Ridgewell
fdf4675da9 Add tests for Logical Assignment 2020-03-31 10:56:40 -04:00
Caio Lima
6499fa6794 Adding missing cases of instance field without assignment and static field with assignment 2020-03-31 10:39:11 -04:00
Caio Lima
740e157eb0 Adding test to cover case where there is a static field named as 'static' 2020-03-31 10:39:11 -04:00
Alexey Shvayka
d279980b96 Add single quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka
4742461e26 Add double quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka
1150fe4a5c Add template literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka
b90a11e620 Add throw method test 2020-03-30 19:22:57 -04:00
Alexey Shvayka
543370c44d Add return method test 2020-03-30 19:22:57 -04:00
Alexey Shvayka
1bf4e159dd Add next method test 2020-03-30 19:22:57 -04:00
André Bargull
ae8694b4b7 Copy "invalid options" test from RelativeTimeFormat to NumberFormat/DateTimeFormat
The invalid 'numberingSystem' options test from RelativeTimeFormat covers a few
more cases, so let's reuse it for NumberFormat and DateTimeFormat.
While there, also add tests using non-ASCII inputs.

Fixes #2540
2020-03-30 13:58:04 -04:00
Rick Waldron
299cd74ef2 Promise.any: fix "invoke-then.js" test 2020-03-30 13:57:03 -04:00
Alexey Shvayka
9ccd3a7b9e Test revoked callable [[ProxyTarget]] 2020-03-30 09:48:37 -04:00
Alexey Shvayka
91b867b660 Fix non-callable [[ProxyTarget]] test 2020-03-30 09:48:37 -04:00
Alexey Shvayka
e8e3aaa77b Test revoked [[ProxyHandler]] 2020-03-30 09:48:37 -04:00
Alexey Shvayka
8b610fb33a Test revoked [[ProxyTarget]] 2020-03-30 09:48:37 -04:00
Caio Lima
432adbb61e Adding case where 'static' is used as a field name 2020-03-28 16:47:44 -04:00
Leo Balter
4bf836c898
Merge pull request #2533 from tc39/promise-any
Promise.any & AggregateError tests (supercedes and closes gh-2437)
2020-03-27 20:18:57 -07:00
Rick Waldron
22be03d833 Promise.any: lint fixes 2020-03-27 21:00:29 -04:00
Rick Waldron
d53f45db3d Promise.any: remove unnecessary static resolve def 2020-03-25 12:25:56 -04:00
Rick Waldron
499b748dca Promise.any: review fixes, 2 2020-03-25 12:14:32 -04:00
Rick Waldron
b21b0c1820 Promise.any: additional "resolve from rejection" tests 2020-03-25 12:04:37 -04:00
Rick Waldron
a05fb94eba Promise.any: feature flags, 2 2020-03-25 12:04:37 -04:00
Rick Waldron
7fbce5a9d8 Promise.any: simplify promise creation 2020-03-25 12:04:37 -04:00
Rick Waldron
5c68b60ad3 Promise.any: cleanup in @@species tests 2020-03-25 12:04:37 -04:00
Rick Waldron
d9265df3ab Promise.any: additional then + resolve tests 2020-03-25 12:04:37 -04:00
Rick Waldron
1c748507f2 Promise.any: feature flags 2020-03-25 12:04:36 -04:00
Rick Waldron
5d3eafc547 Promise.any: review fixes 2020-03-25 12:04:36 -04:00
Rick Waldron
f70e3e3cf1 Features: remove duplicate "Promise.any" 2020-03-25 12:04:36 -04:00
Rick Waldron
6edaba378e Promise.any: updates, corrections and new tests. 2020-03-25 12:04:36 -04:00