Timothy Gu
6319cb1e2a
Add more static class property ordering tests
...
Since https://github.com/tc39/ecma262/pull/1490 , the "length" and "name"
properties of a class are defined before any static methods. This is
tested by #2057 , in test/language/computed-property-names of all places.
At the same time, static methods with "name" as the name would overwrite
the original property, but retain the original property enumeration
order. This was not previously tested. In fact, the overwriting behavior
was not tested at all for the "length" property.
This commit mends both holes in test coverage.
2021-07-16 09:27:16 -04:00
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
Stuart Cook
9da1d6119c
Add more tests for `for (async of` edge-cases ( #2983 )
2021-05-07 16:16:34 -04:00
Stuart Cook
c11d6b00bc
Add a test for `for await (async of` ( #2982 )
2021-05-04 15:05:45 -04:00
Mike Pennisi
3addcc4b04
Generate tests
2021-04-20 09:53:57 -04:00
strager
6888a8df82
Fix typo in private getter/setter tests ( #2971 )
...
Several tests for getters and setters claim to check for an early
SyntaxError regarding mixing static and non-static propeties with the
same name. However, the tests trigger another issue: the getters have no
method body; they're missing curlies.
Fix the tests to test only the intended SyntaxError, not unrelated
SyntaxError-s.
2021-04-09 20:13:41 -04:00
Gus Caplan
516ca9af39
Update tests for ECMA262 #2216
...
https://github.com/tc39/ecma262/pull/2216
2021-02-26 11:49:49 -05:00
jmdyck
11624af8d0
Update "info" field ( #2941 )
...
The quoted spec wording changed in ecma262#1694.
2021-01-28 16:03:01 -08: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
Kevin Gibbons
96f1e2713b
add tests for `for ( async of`
2021-01-18 09:40:36 -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
Caio Lima
72154b17fc
Adding test cases to validate private field access with primitive receivers
2020-10-09 16:36:09 -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
677ae94ae9
Generate tests
2020-09-25 15:54:49 -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
73db72baad
Generate tests
2020-09-25 13:15:33 -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
e2a4e79a11
Coverage: formal parameter binding identifier "eval" must have the correct value in non-strict code. Fixes gh-2814
2020-09-24 14:54:48 -04:00
Rick Waldron
4bcc582183
Regenerate tests
2020-09-23 11:18:16 -04:00
Rick Waldron
601688856e
Generate tests
2020-09-23 11:18:16 -04:00
Rick Waldron
41c5a42fa7
Generate tests
2020-09-22 10:37:57 -04:00
Rick Waldron
fd92897147
Generate tests
2020-09-22 10:37:38 -04:00
HyeockJinKim
be99a3e519
Add coverage for rest properties with computed key
...
gh-2089
2020-09-22 10:31:33 -04:00
Rick Waldron
55652110f7
Update test/language/statements/try/completion-values-fn-finally-abrupt.js
...
Co-authored-by: Kevin Gibbons <bakkot@gmail.com>
2020-09-18 16:19:13 -04:00
Leo Balter
536ecd08a9
completion values of try-catch-finally
2020-09-18 16:19:13 -04:00
Rick Waldron
5de16292fd
Coverage: try/catch/finally completion values. Fixes gh-1742
2020-09-18 16:19:13 -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
6e6516a558
Switch: lexical declarations inner scope. Fixes gh-422
2020-09-14 13:39:57 -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
Alexey Shvayka
7f53ea671c
Add for/of 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