Leo Balter
35dc11f569
Merge pull request #2171 from leobalter/call-innerb
...
Add assertion for private method shadowed by getter case
2019-05-29 10:54:30 -04:00
Kubilay Kahveci
240cc6992e
Generate tests
2019-05-29 11:00:19 +01:00
Leo Balter
c2ceb7345a
Regenerate tests
2019-05-22 17:05:42 -04:00
Caio Lima
696d87274b
Added case to with Function.prototype.call
2019-05-22 13:53:58 -04:00
Caio Lima
4114b3749f
Adding tests to cover private methods comparison
2019-05-22 13:53:58 -04:00
Leo Balter
3c64d3eac4
Generate tests
2019-05-22 13:49:46 -04:00
Caio Lima
72945e0412
Adding test cases to cover usage of private methods and accessors on inner classes. ( #2150 )
2019-05-22 12:58:09 -04:00
Caio Lima
7ab73f5fb7
Fixing typo on
2019-05-08 15:21:26 -03:00
Caio Lima
4cd26da388
Adding more cases that can be present on ClassHeritage grammar rule
2019-05-08 15:12:24 -03:00
Caio Lima
4c62f6dd73
Adding case to verify if PrivateEnvironment is properly set when evaluating 'ClassHeritage'
2019-05-08 15:12:24 -03:00
Jason Orendorff
1988988a10
Add a couple more tests for ASI with fields. ( #2128 )
2019-04-17 10:55:01 -04:00
Leo Balter
3378de1020
Regenerate tests
2019-03-13 15:46:40 -04:00
Leo Balter
0fb6388682
Generate tests
2019-02-25 16:14:22 -05:00
Caio Lima
b9f43c0711
Adding destructuring-binding on feature list
2019-02-14 15:14:46 -05:00
Caio Lima
b8e92c2341
Added case to verify invalid syntax when using private field on object destructuring
2019-02-14 15:14:46 -05:00
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
André Bargull
3efcde4ba7
Add tests for setting class-name in ClassDefinitionEvaluation ( #2057 )
...
Spec PR: tc39/ecma262#1372
2019-01-30 14:34:32 -07:00
André Bargull
3c81164266
Regenerate tests
2019-01-30 06:51:16 -08: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
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
3703d2bad1
Generate tests
2018-12-20 12:49:50 -05:00
Leo Balter
6986a9166d
Generate tests
2018-12-20 12:49:50 -05: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
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
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
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
Timothy Gu
140d922d4c
Add async-functions feature to more files ( #1830 )
2018-10-05 10:37:21 -04:00
Leo Balter
754fe94c5d
fixup! Generate tests
2018-10-04 16:21:11 -04:00
Rick Waldron
a7ba033337
Generate tests
2018-10-04 16:21:11 -04:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
Kubilay Kahveci
395adc3a7c
Generate tests
2018-09-18 14:16:20 -04:00
Leo Balter
317cacdcc9
Fix test generation
2018-09-13 14:55:32 -04:00
Rick Waldron
5c02a094cb
Generate tests
2018-09-13 10:23:49 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
...
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Rick Waldron
2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
...
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter
a17484e230
Generate Tests
2018-09-10 17:13:06 -04:00
Leo Balter
b056d138fa
generate tests
2018-09-10 14:15:40 -04:00
Leo Balter
5cdbf084a7
Generate tests
2018-09-10 14:13:39 -04:00
Rick Waldron
6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
...
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter
a9837df144
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
e28a6f37d0
remove old duplicates
2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
bf5661bf60
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
eae139d8ef
Generate tests
2018-09-04 17:10:51 -04:00
Leo Balter
2c9583a309
Generate tests
2018-09-04 12:40:30 -04:00
Leo Balter
a4faf41ed6
Generate tests
2018-08-31 15:22:43 -04:00
Leo Balter
45a31876e7
Fix tests for computed names in class fields - ctor and prototype
2018-08-21 15:50:39 -04:00
Leo Balter
3690d98e27
Generate tests
2018-08-21 12:47:19 -04:00
Leo Balter
dacc69a066
Generate tests
2018-08-21 12:17:05 -04:00
Leo Balter
9a7fa8cb91
Generate tests
2018-08-20 17:12:40 -04:00
Leo Balter
de1bbd65c8
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
96809308fd
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
c5a1a4a24b
Generate tests
2018-08-20 16:38:54 -04:00
Rick Waldron
331a3964d5
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
aee9dc163e
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
f222b94f2a
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
734544272b
Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align.
2018-08-20 16:38:52 -04:00
Rick Waldron
588459fc34
Generate tests
2018-07-25 12:19:29 -04:00
André Bargull
06c2f01901
Fix multiple test bugs and remove incomplete or no longer valid tests ( #1616 )
2018-06-29 18:52:53 -04:00
André Bargull
b552dad5cb
Various test cases for cross-browser compliance bugs
2018-05-03 09:27:27 -07:00
Kevin Gibbons
49039979c8
Add test for double super for proposal-class-fields#92
2018-04-09 12:02:22 -07:00
Kevin Gibbons
dba8d7cdc7
Add test for proposal-class-fields#92
2018-04-06 11:24:15 -07:00
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 e731114cff
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
André Bargull
e0c29310d9
Generate tests for yield and await as identifier
2017-05-02 12:09:33 -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
Mike Pennisi
2c0c3e7f96
Correct typo in copyright information
2017-04-18 12:23:22 -04:00
Caitlin Potter
53ab9ffd4e
Generate tests
2017-04-10 18:29:53 -04:00
Leo Balter
883db87a51
Generate tests
2017-04-06 15:33:33 -04:00
Leo Balter
f48a41caed
Generate tests
2017-04-06 12:36:50 -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