49 Commits

Author SHA1 Message Date
Adrian Heine
2fb8eca677 Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
Rick Waldron
d7b5715e6c Fix: various lint fixes 2018-01-11 10:21:08 -05:00
Rick Waldron
4afc330363 Fix: various lint fixes 2018-01-10 17:29:48 -05:00
Rick Waldron
670560f16b Fix: esid sec-generator-function-definitions 2018-01-10 16:04:16 -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
Rick Waldron
92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Caitlin Potter
51e6a124d3 Generate tests 2017-10-17 15:48:40 -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
Caitlin Potter
0881a6a2ad Generate tests 2017-10-04 11:24:27 +02:00
Leo Balter
9f526c0bcd Re-generate tests 2017-09-08 10:13:50 -04:00
Leo Balter
7630235d5d Re-generate tests 2017-09-08 10:13:36 -04:00
Leo Balter
9376782c6e Regenerate tests 2017-09-07 15:51:13 -04:00
André Bargull
76ff88ff2f Regenerate tests 2017-09-04 09:42:06 -04:00
Leo Balter
eb93f96911 Merge pull request #1182 from rwaldron/1181
features: generator => generators. Fixes gh-1181
2017-08-18 17:19:01 -04:00
Rick Waldron
dffbe50668 Generate tests 2017-08-16 15:11:44 -04:00
Marshall Roch
eaffe8671c Fix description typo (#1180) 2017-08-15 19:05:33 -04:00
Rick Waldron
144d73ef27 Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -04:00
Mike Pennisi
ef76e548a4 Re-generate tests 2017-06-28 11:24:36 -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
Rick Waldron
2dd8e8b2c4 Throw away tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:21:39 -04:00
Leo Balter
5f04d2b1f3
Generate tests 2017-05-10 14:08:35 -04:00
Leo Balter
ed714d702a Merge pull request #1017 from anba/expr-lookahead-restr
Expression statement lookahead restriction and identifier tests
2017-05-09 18:38:11 -04:00
André Bargull
c8e808bc69 Generate new tests for redeclarations in block- and switch-statements 2017-05-04 09:29:39 -07:00
André Bargull
e0c29310d9 Generate tests for yield and await as identifier 2017-05-02 12:09:33 -07:00
André Bargull
3d8fe2af4c Add tests for contextual keywords with escape sequences 2017-05-02 12:09:29 -07:00
Leo Balter
d74f58cddd
Generate tests 2017-04-21 15:26:46 -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
Caitlin Potter
53ab9ffd4e Generate tests 2017-04-10 18:29:53 -04:00
André Bargull
faaa4685e4 Remove invalid async-flag from syntax error tests (#959) 2017-04-10 14:34:57 -04:00
Daniel Ehrenberg
20536eabe1
Generate tests 2017-04-06 19:44:14 -04:00
Leo Balter
883db87a51
Generate tests 2017-04-06 15:33:33 -04:00
André Bargull
3291704eb2
Fix multiple test errors
Tests doesn't use async functionality and don't call $DONE, so remove
"async" flag:
- src/params/error/async-gen-named-func-expr.template
- test/language/expressions/async-generator/params-named-dflt-abrupt.js
- test/language/expressions/async-generator/params-named-dflt-ref-later.js
- test/language/expressions/async-generator/params-named-dflt-ref-self.js

Intl.PluralRules.prototype is no longer a Intl.Prototype instance:
- test/intl402/PluralRules/prototype/prototype.js

Intl.PluralRules throws an error when called as a function:
- test/intl402/PluralRules/undefined-newtarget-throws.js

Module namespace objects call OrdinaryDelete for symbol properties:
- test/language/module-code/namespace/internals/delete-non-exported.js

Async generators no longer retrieves "done" property twice:
- src/async-generators/yield-star-async-next.case
- src/async-generators/yield-star-async-return.case
- src/async-generators/yield-star-async-throw.case

Minor units of CLF is 4, so we need to test with maximumFractionDigits=3
to get an error:
- test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js

DateTimeFormat.prototype.formatToParts length property was changed from
0 to 1:
- test/intl402/DateTimeFormat/prototype/formatToParts/length.js

minimumSignificantDigits and maximumSignificantDigits properties are
only retrieved once:
- test/intl402/NumberFormat/11.1.1_32.js
2017-04-06 15:30:13 -04:00
Leo Balter
f48a41caed
Generate tests 2017-04-06 12:36:50 -04:00
Daniel Ehrenberg
6330eccfc4
Add feature flags for various tests 2017-04-06 12:18:03 -04:00
Rick Waldron
818bb8d88f Merge pull request #938 from leobalter/yield-star-abrupt-getiter
Add cases for abrupt completions in yield* in async generator - getIterator
2017-04-06 11:43:29 -04:00
Rick Waldron
d7f4f5f664 Merge pull request #937 from leobalter/yield-star
templates for yield star flow
2017-04-06 11:43:21 -04:00
Rick Waldron
7685eeac1f Merge pull request #941 from leobalter/yield-star-next-abrupt
Add cases for abrupt completions in yield* in async generator - next
2017-04-06 11:42:54 -04:00
Rick Waldron
01ce88b588 Merge pull request #922 from leobalter/async-gen-templates-dstr-errors
Add async generator error templates for destructuring binding
2017-04-06 11:42:04 -04:00
Rick Waldron
b0e921ff45 Merge pull request #921 from leobalter/async-gen-templates-dstr
Add async generator templates for destructing binding
2017-04-06 11:41:27 -04:00
Leo Balter
70870dc239
Generate tests 2017-03-27 21:44:04 -04:00
Leo Balter
8f0fd88ad9
Generate tests 2017-03-27 20:41:11 -04:00
Leo Balter
088ef77000
Generate tests 2017-03-27 17:19:19 -04:00
Leonardo Balter
1e74cfe336
Generate tests 2017-03-27 13:32:05 -04:00
Leo Balter
3d7ae07295
Generate tests 2017-03-27 13:07:11 -04:00
Leonardo Balter
8525cdb165
Generate tests 2017-03-27 13:07:09 -04:00
Leonardo Balter
66f42efc99
Generate tests 2017-03-27 13:07:08 -04:00
Leonardo Balter
42d993c45a
Normalize folder async generator expressions 2017-03-27 13:07:05 -04:00
Leonardo Balter
4459447eb7
Generate tests 2017-03-27 13:01:11 -04:00
Leonardo Balter
285888ada1
Generate tests 2017-03-27 12:54:18 -04:00