26 Commits

Author SHA1 Message Date
Rick Waldron
602c828805 Coverage: read-only function expression name. Closes gh-2896 2020-11-18 16:30:13 -05:00
Rick Waldron
0a84a4f176 Forbidden Extensions: revised to check property existence 2020-10-14 14:01:01 -04:00
Rick Waldron
a6d38ffe9a Correction: add explicit language re: application of Forbidden Extensions, bullet 1 2020-10-07 16:43:31 -04:00
Rick Waldron
bba4fbc259 Coverage: globalThis[Symbol.unscopables]. Fixes gh-1750 2020-09-25 15:54:49 -04:00
Rick Waldron
1a1b1770e8 Fix: some templates in Forbidden Extensions needed explicit paths. 2020-09-25 12:01:39 -04:00
Rick Waldron
6a428b4a40 Coverage: forbidden extensions, bullet 1 & 2. Fixes gh-1749 2020-09-22 10:37:38 -04:00
Valerie Young
a47ccfe989 Add no-strict function error templates 2020-01-08 09:23:39 -08:00
Shu-yu Guo
68352eb8b5 Flag sloppy eval in parameter initializer tests as noStrict 2020-01-03 15:36:51 -08:00
Valerie Young
b383fc32ed Change in eval var scope introduces ReferenceError 2019-12-23 13:10:02 -05:00
Richard Gibson
0100bb21dc Add IsSimpleParameterList spec text to new test cases 2019-07-10 20:13:33 -04:00
Richard Gibson
7f395d6d87 Add tests for array/object destructuring parameter with "use strict" 2019-07-10 19:59:30 -04:00
Richard Gibson
4af2c34eb2 Add tests for rest parameter with "use strict" (expecting syntax error) 2019-07-03 18:54:21 -04:00
Leo Balter
0304c66440 Make the folder names consistent 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
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
Timothy Gu
140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Adrian Heine
2fb8eca677 Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
Mike Pennisi
136110378b Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.

Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Leo Balter
4e191e5b65
Add missing generators flags in templates 2017-10-26 19:04:57 -04:00
Leo Balter
b3092c61b6 Add generators flags for tests depending on generators features (#1259)
* Add missing generators feature flags

* Generate files

* Add generators flags

* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
Mike Pennisi
81d00def42 Force "early error" tests to fail if evaluated
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Leo Balter
de15143976
Add Async Functions to function templates 2017-04-21 15:24:00 -04:00
Leo Balter
0d08288e4c
Normalize trailing comma cases both for args and parameters 2017-04-21 15:23:57 -04:00
Leo Balter
a6c5bcf81d
Update function forms templates to reflect the params name when appropriate only 2017-04-21 15:03:49 -04:00
Leo Balter
20d496729d
Rename src/params to src/function-forms
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00