4500 Commits

Author SHA1 Message Date
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
André Bargull
3efcde4ba7 Add tests for setting class-name in ClassDefinitionEvaluation (#2057)
Spec PR: tc39/ecma262#1372
2019-01-30 14:34:32 -07:00
Leo Balter
fb9bb7502f
Merge pull request #2056 from anba/test-bugs-jan2019
Remove invalid private name tests and guard against missing bindings
2019-01-30 08:20:04 -07:00
Frank Yung-Fong Tang
c390306921 add check for "line" throws RangeError 2019-01-30 10:08:50 -05:00
Frank Yung-Fong Tang
619f7cdad1 fix line number 2019-01-30 10:08:50 -05:00
Frank Yung-Fong Tang
806dc970c0 fix line number 2019-01-30 10:08:50 -05:00
Frank Yung-Fong Tang
12a044b1d8 fix line number 2019-01-30 10:08:50 -05:00
Frank Yung-Fong Tang
39b561c60c fix line number 2019-01-30 10:08:50 -05:00
Frank Tang
0460c52013 Remove "line" tests and ensure error under "line" 2019-01-30 10:08:50 -05:00
Frank Yung-Fong Tang
cc9c773c28 rm deprecated grandfather 'cel-gaulish' 2019-01-30 10:08:13 -05:00
Frank Yung-Fong Tang
b94ef8cbdc rm deprecated grandfather 'cel-gaulish' 2019-01-30 10:08:13 -05:00
Frank Yung-Fong Tang
49c184eb0f Rm deprecated grandfather 'cel-gaulish' from tests 2019-01-30 10:08:13 -05:00
Frank Yung-Fong Tang
dde5d8e546 Fix invalidLanguageTags array 2019-01-30 10:05:07 -05:00