test262/test/language
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
..
arguments-object Improve coverage of mapped arguments' [[DefineOwnProperty]] method 2020-12-11 11:06:51 -05:00
asi ASI after do-while in the same line 2019-09-24 14:16:40 -04:00
block-scope Improve coverage: function declarations 2019-09-27 15:39:10 -04:00
comments Example output from legacy code transformer 2020-09-17 16:21:53 -04:00
computed-property-names Refactor tests for static methods creation and fetching 2020-07-15 16:13:40 -04:00
destructuring/binding Improved metadata 2020-11-18 16:44:55 -05:00
directive-prologue
eval-code Remove template that is generating duplicate tests 2020-10-29 13:48:50 -04:00
export Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
expressions Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
function-code Update tests for removal of per-parameter position var scope (#2445) 2019-12-23 13:36:09 -05:00
future-reserved-words Strengthen sloppy-mode tests for future reserved words. 2021-04-20 09:54:23 -04:00
global-code Fix: Broken test: language/global-code/decl-lex-configurable-global.js. Closes gh-2897 2020-11-18 14:00:54 -05:00
identifier-resolution Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
identifiers Add tests for ZWJ and ZWNJ in identifiers (#2723) 2020-08-05 12:27:34 -07:00
import Add 'import-assertions' feature tag to json modules tests (#3016) 2021-06-24 14:13:45 -04:00
keywords
line-terminators
literals Move some AnnexB tests per proposed spec change 2021-05-21 13:06:41 -04:00
module-code "flags" is a top-level key, not a key within "negative" 2021-06-10 12:03:05 -04:00
punctuators
reserved-words
rest-parameters
source-text
statementList
statements Add more static class property ordering tests 2021-07-16 09:27:16 -04:00
types
white-space