297 Commits

Author SHA1 Message Date
Adrian Heine
2fb8eca677 Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
Rick Waldron
e9e928babe Resolving conflicts in class-fields src templates 2018-01-05 15:31:17 -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
Rick Waldron
06aaef8ecd Restore & update existing static class field cases/templates 2017-12-21 16:38:08 -05:00
Daniel Ehrenberg
2e042d9f9d Regenerate tests 2017-12-21 15:21:04 -05:00
Daniel Ehrenberg
d50c33a5b3 Remove static fields tests
Static fields were broken up from instance fields and demoted to
Stage 2 in the November 2017 TC39 meeting. This patch removes the
test262 tests which test static class fields.
2017-12-21 15:21:04 -05:00
Leo Balter
6f8c89dfd1
Update class public fields tags in non-generated test files 2017-11-28 13:02:21 -05:00
Leo Balter
a488271931
Update class fields tags in non-generated test files 2017-11-28 12:59:27 -05:00
Leo Balter
d142f75468
Regenerate tests 2017-11-28 12:49:12 -05:00
Leo Balter
5b7b007af5
Generate tests 2017-11-15 14:33:23 -05:00
Leo Balter
076ecc38c6
Fix bugs reported in #1338 (#1339)
* Accessing `ta[0]` throws a TypeError.

* Fix array indices starting at 0 and property references

* Fix classfields templates for properly checking static propnames.

* Generate tests

* `assert.equal` is not defined

* Add missing includes

* Generate tests

* typo s/Avalue/42/

* fix whitespace

* Add missing var for strict mode

* Expand generated class fields tests for forbidden computed property name values

Ref https://github.com/tc39/test262/pull/1339#issuecomment-342830243

* derived classes have access to private names in base classes, if private names are in scope
2017-11-10 15:06:00 -05:00
Leo Balter
06091cb6fd
Merge pull request #1319 from bocoup/classfields-dupsdeletes
classfields: add tests duplicate private fields and deleting private fields
2017-11-03 15:19:34 -04:00
Valerie R Young
1bbedf4b02
regenerate files 2017-11-03 14:52:47 -04:00
Valerie R Young
dd371194fe
class fields: add ASI tests 2017-11-03 14:52:46 -04:00
Leo Balter
20a2572ba9
Merge pull request #1309 from bocoup/classfields-stringname
classfields: add tests for forbidden public/private propertynames
2017-11-03 14:02:27 -04:00
André Bargull
1f57fe412c Regenerate tests 2017-11-01 08:23:44 -07:00
Valerie R Young
4828ce08a3 regenerate files 2017-10-31 14:49:26 -04:00
Valerie R Young
2664e17e1d generated test files 2017-10-29 20:11:12 -04:00
Valerie R Young
ea4c8fc95c classfields: add tests for forbidden privatenames 2017-10-27 17:40:42 -04:00
Leo Balter
88881301d7
Regenerate tests 2017-10-27 15:45:42 -04:00
Leo Balter
fafd465454
Merge pull request #1303 from bocoup/classfields
classfields: eval early errors
2017-10-27 12:03:18 -04:00
Leo Balter
b8d1a29f2d
Re-generate tests 2017-10-26 19:04:57 -04:00
Leo Balter
f8f5a7a1e7
Add missing generators flags 2017-10-26 19:04:57 -04:00
Valerie R Young
a9769d0854 regenerate test files 2017-10-26 10:10:57 -04:00
Valerie R Young
c39eeb9276 classfields: add tests for duplicate privatenames 2017-10-25 10:37:13 -04:00
Valerie R Young
0ad5eaf87c regenerate tests 2017-10-20 22:06:02 -04:00
Valerie R Young
aeffe35d5b
regenerate test files 2017-10-18 16:50:39 -04:00
Valerie R Young
d3c7e1a13a generate files 2017-10-17 17:53:03 -04:00
Leo Balter
315eca2bbd Merge pull request #1293 from bocoup/esid-fix
fix: esid in case file instead of template file
2017-10-17 17:52:03 -04:00
Valerie R Young
d68faa904f regenerate tests 2017-10-17 17:47:52 -04: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
391ce890b8 Merge pull request #1205 from anba/class-fields-fixes
Misc. class fields fixes
2017-09-05 11:16:19 -04:00
André Bargull
76ff88ff2f Regenerate tests 2017-09-04 09:42:06 -04:00
André Bargull
672cfcf220 Regenerate tests 2017-09-01 23:45:01 +02:00
Leo Balter
a7ccd3042b
Generate tests 2017-08-24 14:11:28 -04:00
Rick Waldron
dffbe50668 Generate tests 2017-08-16 15:11:44 -04:00
Rick Waldron
cc70c52547 Throw away tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-25 10:55:29 -04:00
Rick Waldron
5326cc5ded Generate tests
See e731114cff0a59936c5117f42d2d618c19920fb6

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-13 14:48:48 -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