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 Refactor misc. statement tests for parsers 2019-03-31 21:44:49 -04:00
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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
do-while Fix assertions previously not reached before 2019-03-13 15:27:20 -04:00
empty Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
expression Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
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 Improve test precision 2019-03-31 21:44:49 -04:00
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 Refactor misc. statement tests for parsers 2019-03-31 21:44:49 -04:00
switch Switch: lexical declarations inner scope. Fixes gh-422 2020-09-14 13:39:57 -04:00
throw Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
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 Fix assertions previously not reached before 2019-03-13 15:27:20 -04:00
with Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00