3770 Commits

Author SHA1 Message Date
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
Michael Ficarra
7238135940 add flat/flatMap to Array unscopables 2019-01-30 10:02:35 -05:00
Ross Kirsling
afe1b5adc7 Align copyright line with repo license. 2019-01-30 09:57:50 -05:00
Ross Kirsling
e855815840 Delete early-catch-var.js 2019-01-30 09:57:50 -05:00
Ross Kirsling
653a068481 Address feedback. 2019-01-30 09:57:50 -05:00
Ross Kirsling
815913a982 Test update for proposed Annex B.3.5 simplification 2019-01-30 09:57:50 -05:00
André Bargull
b11def3bf4 Global 'arguments' binding is not present in all runtime environments 2019-01-30 06:53:46 -08:00
André Bargull
3c81164266 Regenerate tests 2019-01-30 06:51:16 -08:00
André Bargull
1d8316cb3a Remove invalid private name templates
Inner classes have access to outer private names.

Fixes #2039
2019-01-30 06:44:10 -08:00
Frank Yung-Fong Tang
9345023d5f move more cases from valid to invalid (#2047)
This is based on UTS35 in the new spec.
2019-01-28 11:55:57 -05:00
Frank Yung-Fong Tang
9495886d18 Change expectation for x- private lang tag (#2046) 2019-01-28 11:55:20 -05:00
Frank Yung-Fong Tang
6da911b9f2 Fix the rounding issue (#2027) 2019-01-28 11:52:50 -05:00
Frank Yung-Fong Tang
e0a07bc650 Correct the expectation for format-fraction-digits-precision (#2025) 2019-01-28 11:42:22 -05:00
Timothy Gu
5d39cad767 Add tests for roundTiesToEven rounding in Math.fround (#2021) 2019-01-28 11:33:14 -05:00
Frank Yung-Fong Tang
5eab51827b Add "numberingSystem" to resolvedOptions() (#2011) 2019-01-28 10:59:54 -05:00
Frank Yung-Fong Tang
b337eaf7c7 change irregular grandfather tag to it's canonical (#2048) 2019-01-28 10:59:07 -05:00
Rick Waldron
1068137f00 UpdateExpressions: fix descriptions (#2051) 2019-01-25 14:39:54 -05:00
Adrian Heine
04a41383b5 UpdateExpressions: No early error for arguments and eval in non-strict mode
According to sec-identifiers-static-semantics-assignmenttargettype,
`AssignmentTargetType` of `arguments` and `eval` in non-strict mode code is
`simple`.
sec-update-expressions-static-semantics-early-errors mandates early errors for
`UpdateExpression` if `AssignmentTargetType` is `invalid` or `strict`.
2019-01-25 12:39:02 -05:00
Frank Yung-Fong Tang
116c95d97c Change test for -kn (#1995)
Add test for case of -kn-true
Verify no -kn-true nor -kn-false in the returned locale.
Change expectation per https://github.com/tc39/ecma402/pull/302
2019-01-24 12:45:49 -05:00
Frank Yung-Fong Tang
b7c9c6c78b Remove unsupported irregular grandfathered tags. (#2029) 2019-01-24 12:34:03 -05:00
Frank Yung-Fong Tang
f39faeef87 Add test for 2.1 CanonicalizeLocaleList ( locales ) (#2040)
See https://tc39.github.io/proposal-intl-locale/#sec-canonicalizelocalelist
2019-01-24 12:28:25 -05:00
Frank Yung-Fong Tang
00d280d231 Remove test of extlang and 4 letter language (#2030)
This is due to the fact we now only accept Unicode Locale Identifier in
UTS 35.
2019-01-24 12:23:30 -05:00
jugglinmike
9fccd9852e Improve coverage for UniqueFormalParameters (#2043)
Previously, the early error prohibiting duplicate entries in
UniqueFormalParameters was only tested in terms of async functions. In
one case, this was misattributed to UniqeFormalParameters and only
enforced for strict mode code.

Extend coverage to the other function-creating productions which include
UniqueFormalParameters (i.e. method definitions and non-async arrow
functions), and update the existing tests to more accurately describe
the source of the error.
2019-01-23 14:07:19 -02:00
Mathias Bynens
d7c8a12e68 Remove invalid line terminator tests (#2044)
https://github.com/tc39/test262/pull/2020#issuecomment-456581449
2019-01-23 13:56:03 -02:00
Frank Yung-Fong Tang
4f1155c566 Change tests according to ecma402/pull/278 (#2031) 2019-01-18 14:15:37 -02:00
Leo Balter
d53256c971
Merge pull request #2038 from nicolo-ribaudo/patch-3
Add missing features to private elements tests
2019-01-18 11:17:04 -02:00
Nicolò Ribaudo
f624ca52d1 Regenerate tests 2019-01-17 21:40:39 +01:00
Nicolò Ribaudo
0ecbae467b Add missing features to privates tests 2019-01-17 21:40:30 +01:00
Leo Balter
5331ca05a2
Merge pull request #2032 from nicolo-ribaudo/patch-2
Update rs-private-getter-alt.case
2019-01-17 17:18:14 -02:00
Timothy Gu
72fc9d8c8d Update features.txt status (#2022)
Move proposals that have been incorporated into the standard to the
corresponding section.
2019-01-17 17:08:11 -02:00
Leo Balter
3e38fe707f
Merge pull request #2017 from test262-automation/v8-test262-automation-export-7519e1b462
Import test changes from V8
2019-01-17 17:06:46 -02:00
Leo Balter
fa20160767
Merge pull request #2016 from test262-automation/javascriptcore-test262-automation-export-8f629cd87f
Import test changes from JavaScriptCore
2019-01-17 17:03:22 -02:00
Frank Yung-Fong Tang
23cb23b852 Move localeMatcher before type and style (#2010)
Sync with https://github.com/tc39/proposal-intl-list-format/pull/36
2019-01-17 17:02:16 -02:00
Nicolò Ribaudo
a338b5f744 Space 2019-01-12 01:07:23 +01:00
Nicolò Ribaudo
2be05bc494 Regenerate tests 2019-01-12 00:59:46 +01:00
Nicolò Ribaudo
aa6092d83a Update rs-private-getter-alt.case 2019-01-12 00:58:15 +01:00
Leo Balter
af984c01f6
Merge pull request #2026 from nicolo-ribaudo/patch-1
Update same-line-async-gen-private-field-usage.js
2019-01-11 13:44:28 -02:00
Nicolò Ribaudo
78a9fb81c6 Regenerate tests 2019-01-08 16:32:35 +01:00