test262/test/language/expressions
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
..
addition add missing newlines in tests 2019-11-10 20:18:56 -08:00
array Regenerate tests 2019-08-05 10:54:37 -04:00
arrow-function Remove or relocate misleading tests 2021-05-11 17:36:28 -04:00
assignment Generate tests 2020-09-25 13:15:33 -04:00
assignmenttargettype Generate tests 2020-09-17 16:23:26 -04:00
async-arrow-function Update "info" field (#2941) 2021-01-28 16:03:01 -08: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
await Test update for letting all early errors be SyntaxErrors 2019-06-12 14:09:03 -04:00
bitwise-and add missing newlines in tests 2019-11-10 20:18:56 -08:00
bitwise-not add missing newlines in tests 2019-11-10 20:18:56 -08:00
bitwise-or add missing newlines in tests 2019-11-10 20:18:56 -08:00
bitwise-xor add missing newlines in tests 2019-11-10 20:18:56 -08:00
call Add missing features for tests using cross-realm (#2328) 2019-09-04 16:27:20 -03:00
class Generate tests 2021-04-20 09:53:57 -04:00
coalesce Fix failure phase in coalesce tests (#2415) 2019-11-11 14:38:26 -05:00
comma
compound-assignment Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
concatenation
conditional Add tests for Nullish Coalesce Expression 2019-10-09 21:52:52 -04:00
delete Miscellaneous: cleanup very old delete operator tests. 2020-09-14 13:35:54 -04:00
division add missing newlines in tests 2019-11-10 20:18:56 -08:00
does-not-equals add missing newlines in tests 2019-11-10 20:18:56 -08:00
dynamic-import Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
equals add missing newlines in tests 2019-11-10 20:18:56 -08:00
exponentiation add missing newlines in tests 2019-11-10 20:18:56 -08:00
function Coverage: read-only function expression name. Closes gh-2896 2020-11-18 16:30:13 -05:00
generators Coverage: read-only function expression name. Closes gh-2896 2020-11-18 16:30:13 -05:00
greater-than add missing newlines in tests 2019-11-10 20:18:56 -08:00
greater-than-or-equal add missing newlines in tests 2019-11-10 20:18:56 -08:00
grouping
import.meta Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
in Add tests for stage 3 proposal "private fields in" (#2963) 2021-04-19 07:50:52 -07:00
instanceof
left-shift add missing newlines in tests 2019-11-10 20:18:56 -08:00
less-than add missing newlines in tests 2019-11-10 20:18:56 -08:00
less-than-or-equal add missing newlines in tests 2019-11-10 20:18:56 -08:00
logical-and
logical-assignment Fix init values 2020-06-10 12:34:03 -04:00
logical-not
logical-or
modulus add missing newlines in tests 2019-11-10 20:18:56 -08:00
multiplication add missing newlines in tests 2019-11-10 20:18:56 -08:00
new Add coverage for EvaluateNew 2020-03-18 09:42:26 -04:00
new.target Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
object Generate tests 2021-04-20 09:53:57 -04:00
optional-chaining Expand tests for Optional Chaining 2020-06-30 17:37:01 -04:00
postfix-decrement Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
postfix-increment Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
prefix-decrement Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
prefix-increment Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
property-accessors Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
relational
right-shift add missing newlines in tests 2019-11-10 20:18:56 -08:00
strict-does-not-equals add missing newlines in tests 2019-11-10 20:18:56 -08:00
strict-equals add missing newlines in tests 2019-11-10 20:18:56 -08:00
subtraction add missing newlines in tests 2019-11-10 20:18:56 -08:00
super Coverage of super reference behaviour. Fixes gh-2451 2020-09-10 15:22:57 -04:00
tagged-template Test TV for tagged templates too. 2020-08-03 21:33:44 -04:00
template-literal Add tests for \9 in template/strict strings. 2020-08-03 21:33:44 -04:00
this Improve coverage 2019-09-27 15:39:10 -04:00
typeof add test for typeof proxy (#2438) 2019-12-02 10:42:08 -05:00
unary-minus add missing newlines in tests 2019-11-10 20:18:56 -08:00
unary-plus add missing newlines in tests 2019-11-10 20:18:56 -08:00
unsigned-right-shift add missing newlines in tests 2019-11-10 20:18:56 -08:00
void
yield Add yield* tests 2020-06-03 13:25:03 -04:00
tco-pos.js