Caio Lima
55a9ad0705
Added generated tests
2019-08-14 18:23:16 -03:00
Caio Lima
d135093259
Fixing flags and adding cases where private static method is shadowed on inner class.
2019-08-14 18:18:24 -03:00
Leo Balter
c09563280d
Generate tests
2019-08-14 17:02:04 -04:00
Leo Balter
39e25a8d06
Add cases for default identifier names in accessor-names
2019-08-14 17:02:03 -04:00
Leo Balter
0e8050b5fb
Fix missing features in templates
2019-08-14 17:02:03 -04:00
Leo Balter
afcbd81061
Add extends
2019-08-14 17:00:36 -04:00
Leo Balter
4d06dbc7eb
Generate tests
2019-08-14 16:48:44 -04:00
Leo Balter
cf32265765
Add tests for valid identifier names also listed as reserved words
...
Ref #2285
2019-08-14 16:48:44 -04:00
Caio Lima
fe2672d8d6
Added cases where private static fields are shadowed on inner class
2019-08-14 17:40:16 -03:00
Caio Lima
65fd8d30a3
Adding tests to verify if '.name' of static members are configured properly ( #2293 )
2019-08-14 13:33:41 -04:00
Caio Lima
f947f93887
Private static members with multiple evaluation of class ( #2291 )
2019-08-14 13:32:11 -04:00
Caio Lima
c9a5cc34c8
Adding cases of access private static fields/methods through direct eval ( #2289 )
2019-08-14 13:30:44 -04:00
Leo Balter
1da297e305
Fix typo from optional chaining test ( #2287 )
2019-08-14 12:47:31 -04:00
Ms2ger
70a07985a5
Unified Intl.NumberFormat: Various tests ( #2275 )
...
* Unified Intl.NumberFormat: Test compact notation with various locales.
* Unified Intl.NumberFormat: Test compactDisplay constructor option.
* Unified Intl.NumberFormat: Test signDisplay constructor option.
* Unified Intl.NumberFormat: Test signDisplay with various locales.
* Unified Intl.NumberFormat: Test signDisplay with accounting currencySign in various locales.
* Unified Intl.NumberFormat: Test engineering and scientific notations in various locales.
* Unified Intl.NumberFormat: Test unit handling.
* Unified Intl.NumberFormat: Test notation constructor option.
* Unified Intl.NumberFormat: Test engineering and scientific notations with negative exponents.
* Unified Intl.NumberFormat: Test near-zero arguments with signDisplay.
* Unified Intl.NumberFormat: Test units.
* Unified Intl.NumberFormat: Test unit arguments.
* Unified Intl.NumberFormat: Add a generic test for unit arguments.
* Unified Intl.NumberFormat: Test the unitDisplay argument.
2019-08-14 12:47:05 -04:00
Ms2ger
3ff5c0a115
Generation: Support Python 3 ( #2288 )
...
* Generation: Use Python 3-compatible imports.
* Generation: Use range() instead of xrange().
* Generation: Use list comprehensions instead of map().
* Generation: Explicitly use bytes in the Test class.
* Generation: Run unit tests on Python 3 as well.
2019-08-14 12:46:23 -04:00
Joyee Cheung
2312e123b8
accessing private fields in TDZ should throw a ReferenceError ( #2284 )
2019-08-14 12:45:29 -04:00
Snapstromegon
568601ddc8
[tc39/ecma262#1645] Remove double error tests ( #2290 )
...
Due to changing idempotenxy for dynamic import on failures these tests are no longer needed.
After tc39/ecma262#1645 idempotency is only required after completing normally.
2019-08-13 12:55:24 -04:00
Benjamin E. Coe
8f3aba3024
test: continuing to flesh out optional chaining tests ( #2272 )
2019-08-13 00:48:50 -04:00
Caio Lima
51b3953d61
Added cases to cover public static field initializer operations with 'this' biding. ( #2283 )
...
* Added cases to cover public static field initializer operations with 'this' biding.
* Added initializer that throws.
* Adding missing ';'
* Fixing broken test static-field-initializer-error.js. 'function' keyword
was missing.
2019-08-13 00:21:27 -04:00
Leo Balter
134652ea3c
Merge pull request #2282 from caiolima/static-fields-usage
...
Tests to cover simple declaration of static fields.
2019-08-13 00:16:40 -04:00
Leo Balter
e0e5c203e9
Merge pull request #2277 from Ms2ger/py3-lint
...
Lint: Support Python 3
2019-08-12 23:19:04 -04:00
Caio Lima
aced1f265f
Tests to cover simple declaration of static fields.
2019-08-12 15:01:17 -03:00
Ms2ger
278fa62706
Lint: Run lint unit tests on Python 3 as well.
2019-08-12 17:14:39 +02:00
Ms2ger
f7896ada9e
Lint: Use the print function rather than the statement.
2019-08-12 17:14:07 +02:00
Ms2ger
f899f9524c
Lint: Use items() rather than iteritems().
2019-08-12 17:14:07 +02:00
Ms2ger
0b5ff0e151
Lint: Expect bytes rather than unicode from subprocess.
2019-08-12 17:14:07 +02:00
Ms2ger
b78cb852e6
Lint: Rename _THROW_STMT_LEGACY to _THROW_STMT_RAW.
...
'Legacy' implies (to me) that it should no longer be allowed, but the lint
explicitly checks for its presence (in the 'raw' case).
2019-08-12 17:14:07 +02:00
Ms2ger
8946956f19
Lint: Make CheckHarnessFeatures output stable.
...
The iteration order for a set is not guaranteed to be stable, but this test expected it to be.
2019-08-12 17:14:07 +02:00
Ms2ger
c4e5d69044
Tools: Update PyYAML version. ( #2279 )
...
Fixes #2278 .
2019-08-12 09:49:14 -04:00
Leo Balter
4d31d84531
Fix typo in file names ( #2281 )
...
Ref #2241
2019-08-12 09:44:49 -04:00
Ms2ger
48cee19d5b
Remove obsolete lint exceptions. ( #2276 )
...
These became unnecessary at some point.
2019-08-09 10:58:44 -04:00
Ms2ger
8f5f6a1aa1
tools: update lint.py to work with pip 10+ some more ( #2273 )
...
main() and InstallRequirement were also removed from the public API.
2019-08-08 14:11:34 -04:00
Leo Balter
00ef6331a6
More cases
2019-08-05 23:07:53 -04:00
Leo Balter
56a2dba975
First set of tests for Top Level Await
2019-08-05 23:07:53 -04:00
Leo Balter
84cff5090e
Merge pull request #2267 from mkubilayk/static-private-method-inner
...
Add tests for static private method access inside nested functions
2019-08-05 16:47:44 -04:00
Kubilay Kahveci
9b29709797
Add tests for .toString() of private methods ( #2268 )
2019-08-05 16:47:19 -04:00
Benjamin E. Coe
aae991da8a
feat: adding tests for optional chaining proposal ( #2212 )
2019-08-05 11:10:25 -04:00
Leo Balter
c4dd26bcee
Generate tests
2019-08-05 10:56:24 -04:00
Leo Balter
ca9a3fde50
Generate tests
2019-08-05 10:56:24 -04:00
Leo Balter
8e5820fce7
Add cases for dstr assignment w/ inner edgy LHSExpressions
2019-08-05 10:56:24 -04:00
Leo Balter
8893f7a684
Generate tests
2019-08-05 10:55:32 -04:00
Leo Balter
29627e892b
Add cases for Optional Expressions as DestructuringAssignmentTarget
2019-08-05 10:55:32 -04:00
Leo Balter
ff9763729d
Remove duplicated es[56]id if esid is present
2019-08-05 10:54:37 -04:00
Leo Balter
ddfe24afe3
Regenerate tests
2019-08-05 10:54:37 -04:00
Leo Balter
6d9bef23d3
Remove es6id from generation files
2019-08-05 10:54:37 -04:00
Kubilay Kahveci
805e78d239
Generate tests
2019-08-02 11:25:10 +01:00
Kubilay Kahveci
458a35e78a
Add tests for static private method access inside nested functions
2019-08-02 11:25:00 +01:00
Caio Lima
aeff2b0048
Adding case where PrivateName is used inside computed property. ( #2241 )
...
* Adding case where PrivateName is used inside computed property.
* Adding proper description to early errors on usage of undeclared private names inside computed property.
2019-07-30 14:53:56 -04:00
Caio Lima
98d4844997
Fixing private-getter-brand-check-multiple-evaluations-of-class-function-ctor to use private getter. ( #2259 )
2019-07-30 14:53:12 -04:00
Caio Lima
67ab89a4cb
Fixing tests that access PrivateNames from another realm to assert the correct TypeError object, since each function will throw the TypeError from the realm where it was created. ( #2258 )
2019-07-30 14:43:01 -04:00