test262/test/language/expressions/arrow-function
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
..
arrow update tests for arrow-function 2015-09-07 14:51:11 +08:00
dstr Array binding: add generated tests 2020-08-20 12:48:08 -04:00
forbidden-ext Generate tests 2020-10-14 14:01:01 -04:00
syntax Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
ArrowFunction_restricted-properties.js Remove trailing spaces from YAML blocks (#2201) 2019-06-19 16:39:21 -04:00
array-destructuring-param-strict-body.js Generate tests 2019-07-10 20:20:16 -04:00
cannot-override-this-with-thisArg.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
dflt-params-abrupt.js Generate tests 2017-04-21 15:26:46 -04:00
dflt-params-arg-val-not-undefined.js Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
dflt-params-arg-val-undefined.js Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
dflt-params-duplicates.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
dflt-params-ref-later.js Generate tests 2017-04-21 15:26:46 -04:00
dflt-params-ref-prior.js Generate tests 2017-04-21 15:26:46 -04:00
dflt-params-ref-self.js Generate tests 2017-04-21 15:26:46 -04:00
dflt-params-rest.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
dflt-params-trailing-comma.js Generate tests 2017-04-21 15:26:46 -04:00
empty-function-body-returns-undefined.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
eval-var-scope-syntax-err.js Generate tests 2020-01-08 09:30:47 -08:00
expression-body-implicit-return.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
extensibility.js Remove or relocate misleading tests 2021-05-11 17:36:28 -04:00
length-dflt.js Add tests for function length with dflt parameters 2016-06-21 12:22:49 -04:00
lexical-arguments.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-bindings-overriden-by-formal-parameters-non-strict.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-new.target-closure-returned.js Features: run feature detector to verify newly added feature flags 2018-07-25 12:16:49 -04:00
lexical-new.target.js Features: run feature detector to verify newly added feature flags 2018-07-25 12:16:49 -04:00
lexical-super-call-from-within-constructor.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-super-property-from-within-constructor.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-super-property.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-supercall-from-immediately-invoked-arrow.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
lexical-this.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
low-precedence-expression-body-no-parens.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
name.js Assign "name" property to all anonymous functions (#2299) 2019-08-15 10:58:40 -04:00
non-strict.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
object-destructuring-param-strict-body.js Generate tests 2019-07-10 20:20:16 -04:00
object-literal-return-requires-body-parens.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
param-dflt-yield-expr.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
param-dflt-yield-id-non-strict.js Remove incorrect early error machinery. Fixes gh-1175 (#1177) 2017-08-14 16:02:30 -04:00
param-dflt-yield-id-strict.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
params-duplicate.js Improve coverage for UniqueFormalParameters (#2043) 2019-01-23 14:07:19 -02:00
params-trailing-comma-multiple.js Generate tests 2017-04-21 15:26:46 -04:00
params-trailing-comma-single.js Generate tests 2017-04-21 15:26:46 -04:00
prototype-rules.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
rest-param-strict-body.js Generate tests 2019-07-10 20:20:16 -04:00
rest-params-trailing-comma-early-error.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
scope-body-lex-distinct.js Add equivalent tests for non-strict fn bodies 2016-04-28 09:46:03 -04:00
scope-param-elem-var-close.js Update tests for removal of per-parameter position var scope (#2445) 2019-12-23 13:36:09 -05:00
scope-param-elem-var-open.js Update tests for removal of per-parameter position var scope (#2445) 2019-12-23 13:36:09 -05:00
scope-param-rest-elem-var-close.js Update tests for removal of per-parameter position var scope (#2445) 2019-12-23 13:36:09 -05:00
scope-param-rest-elem-var-open.js Update tests for removal of per-parameter position var scope (#2445) 2019-12-23 13:36:09 -05:00
scope-paramsbody-var-close.js Add equivalent tests for fn param-body boundary 2016-04-28 09:47:18 -04:00
scope-paramsbody-var-open.js Fix typo (disinct -> distinct) 2018-11-10 10:50:21 +01:00
statement-body-requires-braces-must-return-explicitly-missing.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
statement-body-requires-braces-must-return-explicitly.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
strict.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
throw-new.js 14.2 Arrow Function Definitions 2015-04-20 19:53:06 -04:00
unscopables-with-in-nested-fn.js Generate tests 2020-09-25 15:54:49 -04:00
unscopables-with.js Generate tests 2020-09-25 15:54:49 -04:00