4462 Commits

Author SHA1 Message Date
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
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
André Bargull
334e905d2e Add missing license headers in hashbang tests 2019-02-28 06:40:04 -08: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
42a8594e56 fix files frontmatter after linting 2019-02-25 16:14:21 -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
Frank Yung-Fong Tang
8f713575e9 Move testing of getCanonicalLocales out of Locale
Remove all the assertion of result of getCanonicalLocales from Locale directory
and put them under Intl/getCanonicalLocales directory.
2019-02-14 15:07:31 -05:00
Leo Balter
6e4b434586 Apply review feedback
- indirect eval
- files renaming
- space after comma
2019-02-14 15:06:08 -05:00
Leo Balter
f13a0c5aaf Tests with the raw flag can't use $DONOTEVALUATE(); 2019-02-14 15:06:08 -05:00
Leo Balter
4ca5a94852 Final lint fix on tests 2019-02-14 15:06:08 -05:00
Leo Balter
353cf531d6 Apply review feedback for hashbang 2019-02-14 15:06:08 -05:00
Bradley Farias
da8ef2e779 Add tests for Hashbang comments 2019-02-14 15:06:08 -05:00
Caio Lima
4e3e82ee3f Fixing async tests and other NIT changes 2019-02-06 18:18:48 -02:00
Caio Lima
442c3539a3 Added generated tests 2019-02-06 17:18:13 -02:00
Ross Kirsling
a066af90ea Remove errant tab character. (#2058) 2019-02-04 12:03:46 -07:00
Timothy Gu
bafa05316e Add test for ({* identifier}) (#2060)
Counterpart to language/expressions/object/prop-def-invalid-async-prefix.js.
2019-02-04 12:03:14 -07:00
Jake Champion
b4cf5de2e8 Fixed typo, now should be no (#2061) 2019-02-04 11:59:15 -07:00
Mathias Bynens
9280e1f872 Add tests for %TypedArray%.prototype.sort stability (#2062)
https://github.com/tc39/ecma262/pull/1433
2019-02-04 11:58:05 -07:00
Timothy Gu
e39604fa41 Fix missing ) (#2059) 2019-01-31 10:49:27 -07:00
Adrian Heine né Lang
38b1ce107b Add missing tests for B.3.3.4 and B.3.3.5 (#2050) 2019-01-30 14:35:07 -07:00