test262/test/language
Mike Pennisi 9b622bf093 Remove or relocate misleading tests
These tests were designed to test the built-in "Promise.race Resolve
Element function," but ECMA262 does not describe such a function.

Contrary to the test's description, the function under test is created
by the InstantiateArrowFunctionExpression abstract operation. The
following tests verify most of the details directly (only the function
object's extensibility was not already tested by the existing tests):

- test/language/expressions/arrow-function/name.js
- test/language/expressions/arrow-function/throw-new.js
- test/language/expressions/arrow-function/prototype-rules.js

The definition of the built-in resolving functions is closely related,
but Test262 already includes tests for the corresponding concerns:

- test/built-ins/Promise/resolve-function-extensible.js
- test/built-ins/Promise/resolve-function-name.js
- test/built-ins/Promise/resolve-function-nonconstructor.js
- test/built-ins/Promise/resolve-function-prototype.js

Remove the tests and introduce one additional test to preserve coverage
while improving discoverability.
2021-05-11 17:36:28 -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 Fix existing linting errors, update error phase, and add a new flags linter (#2086) 2019-03-06 12:24:44 -05:00
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 Remove or relocate misleading tests 2021-05-11 17:36:28 -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 In strict mode code, attempts to assign to an unresolvable reference must throw a ReferenceError exception. Fixes gh-1964 2020-09-10 15:22:02 -04:00
identifiers Add tests for ZWJ and ZWNJ in identifiers (#2723) 2020-08-05 12:27:34 -07:00
import Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
keywords Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
line-terminators Remove invalid line terminator tests (#2044) 2019-01-23 13:56:03 -02:00
literals Test cases for invalid escape sequences preceding "use strict". Fixes gh-2893 2020-11-04 13:46:04 -05:00
module-code Test internal methods of module namespace objects with indices 2021-04-20 09:59:06 -04:00
punctuators Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
reserved-words Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
rest-parameters Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
source-text
statementList Generate tests 2019-07-19 13:55:44 -04:00
statements Add more tests for `for (async of` edge-cases (#2983) 2021-05-07 16:16:34 -04:00
types Test update for letting all early errors be SyntaxErrors 2019-06-12 14:09:03 -04:00
white-space Simplify and de-duplicate tests 2019-03-16 21:39:19 -04:00