test262/test/language/statements
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
..
async-function Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
async-generator Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
block
break Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
class Add more static class property ordering tests 2021-07-16 09:27:16 -04:00
const Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
continue Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
debugger
do-while
empty
expression
for add tests for `for ( async of` 2021-01-18 09:40:36 -05:00
for-await-of Add a test for `for await (async of` (#2982) 2021-05-04 15:05:45 -04:00
for-in Add for/in test 2020-03-23 14:50:33 -04:00
for-of Add more tests for `for (async of` edge-cases (#2983) 2021-05-07 16:16:34 -04:00
function Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
generators Generate tests 2020-10-14 14:01:01 -04:00
if
labeled Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
let Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
return
switch Switch: lexical declarations inner scope. Fixes gh-422 2020-09-14 13:39:57 -04:00
throw
try Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
variable Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
while
with Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00