505 Commits

Author SHA1 Message Date
Caio Lima
185e590880 Removed invalid super access tests and created properly syntax error checks 2019-02-14 15:12:48 -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
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
Ross Kirsling
e855815840 Delete early-catch-var.js 2019-01-30 09:57:50 -05:00
André Bargull
3c81164266 Regenerate tests 2019-01-30 06:51:16 -08: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
Nicolò Ribaudo
f624ca52d1 Regenerate tests 2019-01-17 21:40:39 +01:00
Nicolò Ribaudo
2be05bc494 Regenerate tests 2019-01-12 00:59:46 +01:00
Nicolò Ribaudo
78a9fb81c6 Regenerate tests 2019-01-08 16:32:35 +01: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
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
4d40dd5ade Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
d73548b027 Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
02af6a5552 Regenerate tests 2018-12-20 12:53:31 -05:00
Leo Balter
20c38d3396 Expand tests for duplicate lexical names of vardeclarednames in the same statementlist 2018-12-20 12:53:31 -05:00
Leo Balter
3703d2bad1 Generate tests 2018-12-20 12:49:50 -05:00
Leo Balter
6986a9166d Generate tests 2018-12-20 12:49:50 -05:00
Peter Marshall
b3efcd2f3f Consistently use spaces in features lists (#2000) 2018-12-17 17:00:04 -02:00
Leo Balter
be890421b8
Merge pull request #1985 from mkubilayk/private-method-init-order
test: Ensure private methods are visible from all initializers
2018-12-15 05:50:52 -05:00
Kubilay Kahveci
14c49c0e9d Generate tests 2018-12-10 20:43:09 +00:00
André Bargull
b62dae4fff Fix various bugs in test cases (#1988) 2018-12-05 15:48:28 -05:00
Leo Balter
79fd1b2c76 Generate tests 2018-11-28 10:26:13 -05:00
Leo Balter
7be4e99f80 Generate tests 2018-11-28 10:26:13 -05:00
Leo Balter
9d5aa7d267 Generate tests 2018-11-26 16:39:43 -05:00
Leo Balter
94a0eaeb8a Generate tests 2018-11-26 16:39:43 -05:00
Leo Balter
f7f845ce6f Update tests with DONOTEVALUATE 2018-11-14 09:19:15 -05:00
Leo Balter
238c88d4a0 Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
10dc6ff75a Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
50601e7aad Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Adrian Heine
4f085d7b8f Fix typo (disinct -> distinct) 2018-11-10 10:50:21 +01:00
Leo Balter
ab540afaa1 Generate tests 2018-11-07 18:14:37 -05:00
Adrian Heine né Lang
19fa24ee91 Remove wrong feature tag (#1932) 2018-11-07 16:05:20 -05:00
Leo Balter
053aed901a Regenerate tests 2018-11-06 10:35:22 -05:00
Katie Broida
f11d0ab3d5 Fix class syntax 2018-11-06 10:35:22 -05:00
Katie Broida
9ccf0a822f Generate tests 2018-11-06 10:35:22 -05:00
Leo Balter
69c1efd325 Generate tests 2018-11-05 12:17:14 -05:00
Leo Balter
ecb5fcbe33
Merge pull request #1840 from jugglinmike/refactor-for-parsers-var
Refactor variable declaration tests for parsers
2018-11-05 10:12:24 -05:00
Mike Pennisi
a7deb7bcce Add tests for arguments within function body 2018-10-28 16:23:38 -04:00
Rick Waldron
f1e362d558 Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
Kubilay Kahveci
b7fb4ade5e Generate tests 2018-10-26 15:12:43 -04:00
Mathias Bynens
8869799c6d Rebase, regenerate, and update tests 2018-10-23 13:51:17 +02:00
Mathias Bynens
b9daa57dcb Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e Move throw "…" for negative parsing errors to a helper function
Closes #1634.
2018-10-23 13:51:16 +02:00
Rick Waldron
3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Mike Pennisi
aac38cb368 Normalize coverage for var declarations
Add tests to mirror similar tests which were authored previously.
2018-10-07 16:49:50 -04:00
Mike Pennisi
b819c597ab Remove redundant test
This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
2018-10-07 16:49:49 -04:00
Mike Pennisi
6b00c8fbfe Rename and refactor tests
The tests for the parsing of variable declarations 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.
2018-10-07 16:49:49 -04:00