Richard Gibson
35c7cb11de
Update CONTRIBUTING.md vocabulary for consistency with YAML
...
"tag" has a specific and different meaning; the proper term for this page is "key"
cf. https://yaml.org/spec/1.2/spec.html#id2761292
2019-03-29 14:30:14 -04:00
Richard Gibson
bcb5a2cbdd
Use consistent ordering for documenting test frontmatter keys
2019-03-29 14:30:00 -04:00
Leo Balter
de567d3aa5
Verify CCI path usage ( #2110 )
2019-03-26 12:19:15 -04:00
Leo Balter
95d1ea2141
Replace Node runs with XS for CircleCI
2019-03-25 13:09:13 -04:00
Leo Balter
ebbe13e2b5
Add CircleCI ( #2106 )
...
Transfer Travis jobs to CircleCI
2019-03-20 21:04:41 -04:00
jugglinmike
d5076e3e8e
Add tests for termination of "hashbang" comment ( #2104 )
2019-03-18 21:23:08 -04:00
Leo Balter
91dc2e635d
Merge pull request #2105 from jugglinmike/refactor-for-parsers-white-space
...
Refactor white space tests for parsers
2019-03-18 21:22:09 -04:00
Caio Lima
fd75ab0097
Adding tests to verify private fields on Proxy Objects ( #2099 )
2019-03-18 21:18:55 -04:00
Mike Pennisi
66b61a9fd6
Simplify and de-duplicate tests
2019-03-16 21:39:19 -04:00
Mike Pennisi
d7fdfe9571
Rename files
2019-03-16 21:34:16 -04:00
Leo Balter
47bf9d1db9
Merge pull request #2100 from leobalter/2033/features-private
...
Add missing feature tags
2019-03-14 14:51:48 -04:00
Leo Balter
14c3a6e839
Add new tests to observe required leading line terminator ( #2102 )
...
* Add new tests to observe required leading line terminator
Ref #2095
2019-03-14 14:51:02 -04:00
Leo Balter
1ce8166433
Use a line terminator for HTMLCloseComments
2019-03-14 13:33:48 -04:00
Leo Balter
3378de1020
Regenerate tests
2019-03-13 15:46:40 -04:00
Leo Balter
1c70c90386
Add missing feature tags
2019-03-13 15:45:42 -04:00
Leo Balter
e227f54d01
Fix assertions previously not reached before
...
Fix #2049
2019-03-13 15:27:20 -04:00
Leo Balter
8e2a07d2e1
Merge pull request #2096 from anba/asynciter-fx
...
Test cases for async function and async generator edge-cases
2019-03-13 13:22:46 -04:00
Mathias Bynens
9339f8a5ce
Update RegExp Unicode property escape tests per Unicode 12 ( #2091 )
...
1cfedb79bb
https://github.com/tc39/ecma262/issues/1467
https://github.com/tc39/ecma262/pull/1468
2019-03-12 04:47:27 -04:00
André Bargull
3428a59ae8
Add test case for tc39/ecma262#1172
2019-03-11 10:34:46 -07:00
André Bargull
c843ff0228
Test for abrupt completion of PromiseResolve in AsyncFromSyncIteratorContinuation
...
Issue: tc39/ecma262#1461
PR: tc39/ecma262#1470
2019-03-11 10:34:44 -07:00
André Bargull
252ca73626
Add test that only explicit undefined return value is awaited in async generator
2019-03-11 10:34:43 -07:00
André Bargull
1111d4996d
Add test that return resumption value in async generator is awaited
2019-03-11 10:34:42 -07:00
André Bargull
9d711fdf11
Add test for "constructor" lookups and correct job order in for-await loop
2019-03-11 10:34:40 -07:00
André Bargull
bb838d8d6b
Add test when IteratorValue argument to AsyncGeneratorYield in yield* throws
2019-03-11 10:34:38 -07:00
André Bargull
c822f4c929
Fix existing linting errors, update error phase, and add a new flags linter ( #2086 )
2019-03-06 12:24:44 -05:00
Leo Balter
b78e085571
Merge pull request #2085 from anba/testparser
...
Update parseTestRecord to support hashbang tests
2019-02-28 10:26:37 -05:00
André Bargull
334e905d2e
Add missing license headers in hashbang tests
2019-02-28 06:40:04 -08:00
André Bargull
41edfcebce
Remove old test format parser and simplify yaml frontmatter parsing
2019-02-28 06:39:59 -08:00
Leo Balter
59b89a1c83
Merge pull request #2083 from leobalter/2034/yaml-extra-lines
...
Add lint check for leading empty lines in description and info blocks
2019-02-26 11:01:57 -05:00
Leo Balter
262216ed5b
Remove other leading empty lines in info blocks
2019-02-25 16:14:22 -05:00
Leo Balter
0fb6388682
Generate tests
2019-02-25 16:14:22 -05:00
Leo Balter
aa03128e41
remove leading empty line from test cases
2019-02-25 16:14:21 -05:00
Leo Balter
42a8594e56
fix files frontmatter after linting
2019-02-25 16:14:21 -05:00
Leo Balter
e7092eacc4
set lint rules to avoid leading or trailing empty lines in frontmatter string values
...
Fix #2034
Ref #1997
2019-02-25 16:14:21 -05:00
Leo Balter
b4e15b3d5c
fix parseTestRecord for optional license header at the top
2019-02-25 15:23:40 -05:00
Leo Balter
0f64e61451
update tests for packaging tools
2019-02-25 15:23:40 -05:00
Michael Maier
21dd214876
fix typo ( #2082 )
2019-02-25 11:21:04 -05:00
Robin Templeton
efa414ae00
Add tests for calling BigInt functions with fewer arguments than required ( #2075 )
2019-02-19 13:25:25 -05:00
Andy Wingo
298ad6907b
Add new test for receiver of toJSON on bigint values ( #2079 )
...
Spec link:
https://tc39.github.io/proposal-bigint/#sec-serializejsonproperty
Thanks to André Bargull for the test:
https://bugzilla.mozilla.org/show_bug.cgi?id=1528784
2019-02-19 13:23:41 -05:00
Frank Yung-Fong Tang
565d7d5b7d
Remove unreasonable expectation
2019-02-14 15:23:30 -05:00
Mike Pennisi
cc09757478
Test forward slash in RegularExpressionClassChar
2019-02-14 15:21:42 -05:00
Caio Lima
b9f43c0711
Adding destructuring-binding on feature list
2019-02-14 15:14:46 -05:00
Caio Lima
b8e92c2341
Added case to verify invalid syntax when using private field on object destructuring
2019-02-14 15:14:46 -05:00
Caio Lima
185e590880
Removed invalid super access tests and created properly syntax error checks
2019-02-14 15:12:48 -05:00
Frank Yung-Fong Tang
642929b2a3
correct value that matches languageAlias in
...
Per https://tc39.github.io/ecma402/#sec-canonicalizelanguagetag
6.2.3 CanonicalizeLanguageTag ( locale )
The CanonicalizeLanguageTag abstract operation returns the canonical and case-regularized form of the locale argument (which must be a String value that is a structurally valid Unicode BCP 47 Locale Identifier as verified by the IsStructurallyValidLanguageTag abstract operation). A conforming implementation shall take the steps specified in the “BCP 47 Language Tag to Unicode BCP 47 Locale Identifier” algorithm, from Unicode Technical Standard #35 LDML § 3.3.1 BCP 47 Language Tag Conversion.
And
http://unicode.org/reports/tr35/#BCP_47_Language_Tag_Conversion
"
2. If the BCP 47 primary language subtag matches the type attribute of a languageAlias element in Supplemental Data, replace the language subtag with the replacement value.
If there are additional subtags in the replacement value, add them to the result, but only if there is no corresponding subtag already in the tag.
"
and
https://www.unicode.org/repos/cldr/trunk/common/supplemental/supplementalMetadata.xml
...
<languageAlias type="aar" replacement="aa" reason="overlong"/>
<!-- [Afar] -->
...
<languageAlias type="ces" replacement="cs" reason="overlong"/>
<!-- [Czech] -->
...
<languageAlias type="heb" replacement="he" reason="overlong"/>
<!-- [Hebrew] -->
2019-02-14 15:07:54 -05:00
Frank Yung-Fong Tang
ea31876c06
correct values matches type of languageAlias
2019-02-14 15:07:31 -05:00
Frank Yung-Fong Tang
ac45b6befe
add back missed data
...
get all the test data from constructor-non-iana-canon.js
2019-02-14 15:07:31 -05:00
Frank Yung-Fong Tang
f2bc5fd0a3
split from likely-subtags-grandfathered.js
2019-02-14 15:07:31 -05:00
Frank Yung-Fong Tang
47efdac804
split
...
Split from intl402/Locale/constructor-non-iana-canon.js
2019-02-14 15:07:31 -05:00
Frank Yung-Fong Tang
b30d3013dc
Remove getCanonicalLocales
2019-02-14 15:07:31 -05:00