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
ad9fd16bd1
Class Fields: convert .js file to .case
2018-08-20 16:38:52 -04:00
Rick Waldron
1466650ca3
Class Fields: add private name propname errors
2018-08-20 16:38:52 -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
3996741ca0
Class Fields: Remove templates that cause erroneous tests to be created.
2018-08-20 16:38:52 -04:00
Rick Waldron
90e8859cdd
Class Fields: Updating frontmatter
2018-08-20 16:38:52 -04:00
Valerie R Young
5d014bdfba
classfields: field definition abrupt completion tests
...
# Conflicts:
# test/language/statements/class/classelementname-abrupt-completion.js
# test/language/statements/class/fielddefinition-initializer-abrupt-completion.js
# test/language/statements/class/super-fielddefinition-initializer-abrupt-completion.js
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
Rick Waldron
ecea13b04a
SuperProperty evaluation order, must first call super()
...
- Invalid: super[super()]. Expects super() to be called prior to super property access.
2018-06-04 10:52:31 -04:00
Rick Waldron
85a4484c52
SuperProperty evaluation order
...
super[super()] should evaluate and resolve super() first
2018-05-24 15:10:35 -04:00
André Bargull
b552dad5cb
Various test cases for cross-browser compliance bugs
2018-05-03 09:27:27 -07:00
Adrian Heine
2fb8eca677
Fix typo intialize(r) -> initialize(r)
2018-02-12 10:05:52 -05:00
Yusuke Suzuki
18c1e799a0
Prefer spaces to tabs if it is not syntax related tests
...
This patch changes tabs to spaces for newly added tests.
2018-02-08 13:32:42 -05:00
André Bargull
f717982c94
Remove unused includes
2018-01-25 13:59:37 -05:00
Rick Waldron
b1aa569c84
Fix: esid sec-runtime-semantics-classdefinitionevaluation
2018-01-10 16:10:32 -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
Rick Waldron
53f847b1bc
Remove static private/public fields unsupported tests.
2017-12-21 16:37:14 -05:00
Daniel Ehrenberg
dc4db968f2
Add tests that public and private static fields are unsupported
2017-12-21 15:21:04 -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
Valerie R Young
bef77dc144
classfields: PrivateFieldSet and PrivateFieldGet
2017-11-03 15:43:44 -04:00
Valerie R Young
a6e9a4ea1a
classfields: PrivateFieldAdd TypeError test
2017-11-03 15:43:44 -04:00
Valerie R Young
ad12c4f5ad
classfields: field definition abrupt completion tests
2017-11-03 15:43:44 -04: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
ce203360b1
Merge pull request #1323 from bocoup/classfields-scope
...
classfields: add early error tests for privatename references
2017-11-03 14:12:10 -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
André Bargull
6c8698acac
Update test to not rely on throwing a Test262Error
...
Only this test relied on $ERROR throwing a catchable Test262Error.
This change allows test environments to provide their on $ERROR function for better error reporting.
2017-11-01 07:54:04 -07:00
Valerie R Young
4828ce08a3
regenerate files
2017-10-31 14:49:26 -04:00
Valerie R Young
7572c0c36b
Classfields: simple success case for nested classes private name reference
2017-10-29 20:46:09 -04:00
Valerie R Young
54f4d02aa6
Classfields: simple early errors test for privatename references in scripts
2017-10-29 20:46:09 -04:00
Valerie R Young
2664e17e1d
generated test files
2017-10-29 20:11:12 -04:00