Commit Graph

3998 Commits

Author SHA1 Message Date
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
test262-automation 30d7394e89 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f88d169e targetRevisionAtLastExport: ad1b4aadf8
2019-01-17 19:35:57 +00:00
test262-automation 6bb8f41e0a [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f88d169e on Thu Jan 17 2019 19:35:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:54 +00:00
test262-automation 00e7ea32bb [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 344dd04163 targetRevisionAtLastExport: 4146be1823
2019-01-17 19:35:18 +00:00
test262-automation 7a0293f26c [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 344dd04163 on Thu Jan 17 2019 19:31:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:14 +00: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
Nicolò Ribaudo 78f56762f8 Fix features in private-field-usage.case 2019-01-08 16:26:41 +01:00
Peter Wong 08d827565b Increase coverage for %TypedArray%.prototype.map with species constructor (#2019) 2019-01-07 12:34:35 -02:00
Ross Kirsling d0f57bff72 Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
Leo Balter 1b524be1c9
Merge pull request #2020 from jugglinmike/refactor-for-parsers-line-terminator
Refactor, reorganize, and extend tests for line terminators
2019-01-07 11:38:49 -02:00
Mike Pennisi 3468dad291 Improve coverage for line terminators
Previous commits restructured the tests for line terminators and made
coverage gaps more apparent. Introduce new files to improve coverage.
2019-01-01 14:01:09 -05:00
Mike Pennisi 8175f6c05e Improve name of line terminator tests 2019-01-01 14:01:08 -05:00
Mike Pennisi 6b49b770d8 Refactor LT tests for parsers: token delimiters
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi e515abfa0e Refactor LT tests for parsers: multi-line comment
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi 0ec9dbe3b3 Refactor LT tests for parsers: single-line comment
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:57 -05:00
Mike Pennisi f9ffa71c56 Refactor LT tests for parsers: string
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:56 -05:00
Mike Pennisi 10fb23049e Refactor LT tests for parsers: RegExp
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:55 -05:00
Mike Pennisi 9f1d25c9e5 Remove duplicative tests
The behavior asserted by the removed tests is covered by other files.

- test/language/line-terminators/7.3-1.js duplicates
  test/language/line-terminators/S7.3_A1.3.js
- test/language/line-terminators/7.3-2.js duplicates
  test/language/line-terminators/S7.3_A1.4.js
- test/language/line-terminators/7.3-3.js duplicates
  test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/7.3-4.js duplicates
  test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/7.3-9.js duplicates
  test/language/line-terminators/S7.3_A6_T3.js
- test/language/line-terminators/7.3-10.js  duplicates
  test/language/line-terminators/S7.3_A6_T4.js
- test/language/line-terminators/S7.3_A1.1_T1.js duplicates
  test/language/line-terminators/S7.3_A1.1_T2.js
- test/language/line-terminators/S7.3_A1.2_T1.js duplicates
  test/language/line-terminators/S7.3_A1.2_T2.js
- test/language/line-terminators/S7.3_A3.1_T2.js duplicates
  test/language/line-terminators/S7.3_A3.1_T3.js
- test/language/line-terminators/S7.3_A3.2_T3.js duplicates
  test/language/line-terminators/S7.3_A3.2_T1.js
- test/language/line-terminators/S7.3_A3.3_T2.js duplicates
  test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/S7.3_A3.4_T2.js duplicates
  test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/S7.3_A4_T1.js duplicates
  test/language/line-terminators/S7.3_A3.1_T1.js
- test/language/line-terminators/S7.3_A5.1_T1.js duplicates
  test/language/line-terminators/S7.3_A5.1_T2.js
- test/language/line-terminators/S7.3_A5.2_T1.js duplicates
  test/language/line-terminators/S7.3_A5.2_T2.js
2019-01-01 13:38:43 -05:00
Mike Pennisi 23594b8179 Correct tests
These files were authored to test the effect of the carriage return
character, but that character was not present in the source text.

Insert the character as intended by the authors.
2019-01-01 13:38:31 -05:00
Leo Balter f77b930e67 Move non generated files 2018-12-21 15:47:01 -05:00
Leo Balter 2907b7110a Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter 0304c66440 Make the folder names consistent 2018-12-21 15:47:01 -05:00
Leo Balter 4d40dd5ade Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter b8d43a3982 More reorganization for the class folder 2018-12-21 15:47:01 -05:00
Leo Balter d73548b027 Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter c945da864b rename fields folders to elements 2018-12-21 15:47:01 -05:00
Leo Balter aa31486be4 Reorganize target folders - more class fields 2 2018-12-21 15:47:01 -05:00
Leo Balter 7c629ac802 Reorganize target folders - more class fields 2018-12-21 15:47:01 -05:00