1339 Commits

Author SHA1 Message Date
akluball
e73054f75e
Add tests for ZWJ and ZWNJ in identifiers (#2723) 2020-08-05 12:27:34 -07:00
Ross Kirsling
ede5b2400f Test TV for tagged templates too. 2020-08-03 21:33:44 -04:00
Ross Kirsling
f24b9004b3 Add tests for \9 in template/strict strings. 2020-08-03 21:33:44 -04:00
Ross Kirsling
fb05c9a4df
Add tests for \8 in template/strict strings. (#2654) 2020-07-20 13:25:59 -07:00
Leo Balter
7e4657243b Refactor tests for static methods creation and fetching
Ref #2504
2020-07-15 16:13:40 -04:00
QuXing9
91a9abff4e
Add three testcases for test262 suite. (#2692)
* Add tests for escape function when parameter is not a string.

Fixes #2687
Fixes #2637

* Add test for indirect eval calls  when script is a for statement.

When for statement doesn't have a body, it should throw a SyntaxError.

Fixes #2661

* Add tests for Function Constructor when body contains usestrict.

Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
Leo Balter
89f9c13449 Expand tests for Optional Chaining 2020-06-30 17:37:01 -04: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
Toru Nagashima
28c6ea208d
add eval-optional-call.js (#2667) 2020-06-22 10:58:06 -07:00
Alexey Shvayka
ce662e5474 Add async generator tests 2020-06-11 19:36:49 -04:00
Justin Ridgewell
5783f55b70 Fix init values 2020-06-10 12:34:03 -04:00
Justin Ridgewell
cbea466883 Add test for NamedEvaluation of Logical Assignment 2020-06-10 12:34:03 -04:00
Alexey Shvayka
616978791d Use Promise chaining 2020-06-03 13:25:03 -04:00
Alexey Shvayka
7f53ea671c Add for/of tests 2020-06-03 13:25:03 -04:00
Alexey Shvayka
9cfcd7bcb0 Add yield* tests 2020-06-03 13:25:03 -04:00
Alexey Shvayka
eabebb421d Use Promise chaining
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-05-27 22:33:38 +03:00
Alexey Shvayka
bd6d417abc Test that yield* return() awaits received value 2020-05-27 22:33:38 +03: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
yulia
058adfed86
update comments in instn-once.js (#2631) 2020-05-20 12:24:55 -07:00
Leo Balter
9338f22908 Add tests for direct eval calls in strict context
Fixes #2623
2020-05-20 13:31:27 -04:00
Rick Waldron
5124761d2f Fix continue asi test 2020-05-19 20:12:34 -04:00
Adrian Heine né Lang
350ac0dab2
Cover simple declaration of instance fields (#2620) 2020-05-15 12:12:07 -07:00
Alexey Shvayka
9bd8813674 Rename bound function test and update meta 2020-05-13 12:58:33 -04:00
Alexey Shvayka
47abdd0c5e Add async generator function test 2020-05-13 12:58:33 -04:00
Alexey Shvayka
4118a67bef Add async function test 2020-05-13 12:58:33 -04:00
Alexey Shvayka
a71bc984ff Add arrow function test 2020-05-13 12:58:33 -04:00
Alexey Shvayka
9ff500ed70 Rename & improve generator function test 2020-05-13 12:58:33 -04: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
Leo Balter
eaf7f5d507
Fix exported bindings and ns (#2616)
Fixes #2614
2020-05-08 10:58:40 -07:00
Adrian Heine
f2bc400f98 Add missing tests for export-star-as-ns-from-module 2020-05-06 11:56:17 -04:00
Mathias Bynens
b005b63273 Correct descriptions w.r.t. identifier start/part characters
Ref. https://github.com/mathiasbynens/caniunicode/issues/3.
2020-05-06 11:54:16 -04:00
Alexey Shvayka
6a18c27ca1 Generate test files from templates 2020-04-29 17:33:10 -04:00
Alexey Shvayka
39ed5d9d68 Add object rest destructuring test 2020-04-25 18:45:48 -04:00
Alexey Shvayka
b08380c723 Add object spread test 2020-04-25 18:45:48 -04:00
Alexey Shvayka
34b2ab340c Use non ID_Continue characters in negative tests 2020-04-23 10:48:16 -04:00
Alexey Shvayka
89bb1b79e8 Remove negative parse tests that are now valid 2020-04-23 10:48:16 -04:00
Alexey Shvayka
4a8e49b3ca
Add test for \0 in Unicode patterns (#2569) 2020-04-10 15:41:59 -07:00
Gus Caplan
13d057dffc
fix namespace set test (#2574) 2020-04-10 15:17:03 -07: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
Alexey Shvayka
df59ad6134 Add AsyncIteratorClose tests 2020-04-02 11:25:58 -04:00
Alexey Shvayka
fccd9c4b81 Add IteratorClose tests 2020-04-02 11:25:58 -04:00
Rick Waldron
ffaae1f7ec Logical Assignment Operators: additional syntax tests 2020-03-31 15:05:04 -04:00
Justin Ridgewell
2778324491 Fix tests 2020-03-31 10:56:40 -04:00
Justin Ridgewell
78dbc401b1 Add logical-assignment-operators feature 2020-03-31 10:56:40 -04:00
Justin Ridgewell
fdf4675da9 Add tests for Logical Assignment 2020-03-31 10:56:40 -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