Commit Graph

290 Commits

Author SHA1 Message Date
jugglinmike afe217b318
Add tests for "Class Static Init. Blocks" proposal (#2968)
* Add tests for "Class Static Init. Blocks" proposal

This proposal is currently at "stage 3" in TC39's standardization
process.

* fixup! Add tests for "Class Static Init. Blocks" proposal

* Correct identifier reference

* Update tests for grammar

* Update tests for identifiers

* Add tests for scope derivation
2021-07-15 08:49:12 -04:00
Mike Pennisi 3addcc4b04 Generate tests 2021-04-20 09:53:57 -04:00
Caio Lima f81c2f5422 Adding test case for super access from class field defined as arrow function 2021-01-18 09:41:23 -05:00
Rick Waldron d8efa93bec Generate tests 2020-10-14 14:20:46 -04:00
Rick Waldron bab4da88e3 Remove erroneous test templates and generated files 2020-10-14 14:20:46 -04:00
Rick Waldron b89c3bf369 Generate tests 2020-10-14 14:01:01 -04:00
Gus Caplan 6aa8338d23 add feature tags 2020-10-08 18:05:00 -04:00
Rick Waldron a6d38ffe9a Correction: add explicit language re: application of Forbidden Extensions, bullet 1 2020-10-07 16:43:31 -04:00
Rick Waldron 6db0565b76 Generate tests 2020-10-05 10:53:43 -04:00
Rick Waldron 9e71e2120a Generate tests 2020-10-05 10:53:43 -04:00
Rick Waldron f4ec59ad38 Generate tests 2020-09-30 11:51:44 -04:00
Rick Waldron dc74a0b0ee Generate tests 2020-09-30 10:05:47 -04:00
Rick Waldron 348a706c5d Generate tests 2020-09-25 16:12:12 -04:00
Rick Waldron 21e97fb616 Generate tests 2020-09-25 14:42:12 -04:00
Rick Waldron 3f2a2aa464 Generate tests 2020-09-25 14:42:12 -04:00
Rick Waldron cd778bea8c Generate tests 2020-09-25 13:30:10 -04:00
Rick Waldron 76dacfb17c Generate tests 2020-09-25 12:58:22 -04:00
Rick Waldron 5090f7adfe Generate tests 2020-09-25 12:01:39 -04:00
Rick Waldron 41c5a42fa7 Generate tests 2020-09-22 10:37:57 -04:00
Rick Waldron b59bd307a8 Coverage: async arrow in ClassHeritage. Fixes gh-1736 2020-09-22 10:37:57 -04:00
Rick Waldron fd92897147 Generate tests 2020-09-22 10:37:38 -04:00
Rick Waldron 1ab47810d1 Generate tests 2020-09-17 16:24:07 -04:00
Rick Waldron a92de6fa2d Generate tests 2020-09-15 11:09:52 -04:00
Rick Waldron 485cb0b1c9 Coverage: check instanceof on instances of built-in subclasses. Fixes gh-659 2020-09-14 13:40:33 -04:00
Rick Waldron 21cdcb85d1 Generate tests 2020-09-14 13:35:13 -04:00
Rick Waldron 5c753769e6 Fixup: remove duplicate tests 2020-09-14 13:35:13 -04:00
Frank Tang ab3a86d9b3 Move tests from
https://source.chromium.org/chromium/chromium/src/+/master:v8/test/test262/local-tests/
2020-09-14 13:35:13 -04:00
Rick Waldron b25e36cdb6 Generate tests 2020-09-10 16:22:34 -04:00
Alexey Shvayka 9411d7fccc Array binding: add generated tests 2020-08-20 12:48:08 -04:00
Alexey Shvayka 9ddfa39eca Add generated files 2020-08-12 18:58:26 +03:00
Rick Waldron 362d7af20f Generate tests 2020-06-24 15:47:49 -04:00
Rick Waldron a816c03735 Generate tests 2020-06-24 15:47:48 -04:00
Adrian Heine né Lang 2f1d28ddca
Fix feature flag in static-private-method-and-instance-method-brand-check (#2307) (#2635) 2020-05-21 14:17:41 -07:00
Adrian Heine né Lang 350ac0dab2
Cover simple declaration of instance fields (#2620) 2020-05-15 12:12:07 -07:00
Adrian Heine né Lang d2f7d4285c
Fix feature flag in private-method-referenced-from-static-method (#2621) 2020-05-11 16:54:11 -07:00
Adrian Heine né Lang d5826606a4
Fix features in private method length tests (#2617) 2020-05-11 11:45:01 -07:00
Alexey Shvayka 6a18c27ca1 Generate test files from templates 2020-04-29 17:33:10 -04:00
Rick Waldron 62b8fce389 Deleting previously valid generated tests 2020-04-02 12:58:38 -04:00
Caio Lima 539c001941 Updating test with 'o?.#field' to be valid program 2020-04-02 12:58:38 -04:00
Caio Lima 6499fa6794 Adding missing cases of instance field without assignment and static field with assignment 2020-03-31 10:39:11 -04:00
Caio Lima 740e157eb0 Adding test to cover case where there is a static field named as 'static' 2020-03-31 10:39:11 -04:00
Caio Lima 432adbb61e Adding case where 'static' is used as a field name 2020-03-28 16:47:44 -04:00
Caio Lima db6f630e65
Adding test coverage for 'OptionalChain'.PrivateIdentifier case (#2534) 2020-03-23 15:47:51 -07:00
Gus Caplan 922e27fd8c fix super evaluation order tests 2020-02-20 12:37:03 -05:00
Leo Balter 20ca8e3568
Merge pull request #2465 from bocoup/eval-param-only-sloppy
Test cases for new ReferenceError: remove class tests and add no-strict
2020-01-08 12:58:40 -05:00
Valerie Young 55b28c166f Generate tests 2020-01-08 09:30:47 -08:00
Jordan Harband 5cb381cbe0
super evaluation order tests
For https://github.com/tc39/ecma262/pull/1775
2020-01-06 11:15:26 -08:00
Shu-yu Guo 68352eb8b5 Flag sloppy eval in parameter initializer tests as noStrict 2020-01-03 15:36:51 -08:00
Valerie Young 6281e227f5 generated test files 2019-12-23 13:33:25 -05:00
Caio Lima d89c2cd601 Adding case to test invalid syntax when using PrivateName after '?.' (#2408) 2019-11-01 10:44:07 -04:00