Commit Graph

4066 Commits

Author SHA1 Message Date
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
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 9558093416 Document raw negative test reqs 2019-02-14 15:06:08 -05:00
Leo Balter 8e0c0eac10 Linter should require direct throw statement for raw tests instead of DONOTEVALUATE 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 48a7471060 Relax lint check for licensing in files 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
Leo Balter 33a306d102
Merge pull request #2067 from caiolima/private-field-function
Adding case where private field stores a function
2019-02-06 15:26:57 -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
Caio Lima 9fe84c576a Added missing cases of private field as function 2019-02-06 17:13:42 -02:00
test262-automation 39d5434ab1 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f85a3554 targetRevisionAtLastExport: 6bb8f41e0a
2019-02-04 19:41:17 +00:00
test262-automation 8d9f7690f8 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f85a3554 on Mon Feb 04 2019 19:40:41 GMT+0000 (Coordinated Universal Time) 2019-02-04 19:41:14 +00:00
test262-automation 508dc7abb3 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: c0dba7aed4 targetRevisionAtLastExport: 7a0293f26c
2019-02-04 19:40:36 +00:00
test262-automation a2c0e3fdba [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha c0dba7aed4 on Mon Feb 04 2019 19:37:46 GMT+0000 (Coordinated Universal Time) 2019-02-04 19:40:33 +00:00
Leo Balter 04ae1c1359
Merge pull request #2037 from test262-automation/v8-test262-automation-export-ad1b4aadf8
Import test changes from V8
2019-02-04 12:04:39 -07:00
Leo Balter 0522857627
Merge pull request #2036 from test262-automation/javascriptcore-test262-automation-export-4146be1823
Import test changes from JavaScriptCore
2019-02-04 12:04:16 -07: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