mirror of https://github.com/tc39/test262.git
9b622bf093
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. |
||
---|---|---|
.. | ||
arguments-object | ||
asi | ||
block-scope | ||
comments | ||
computed-property-names | ||
destructuring/binding | ||
directive-prologue | ||
eval-code | ||
export | ||
expressions | ||
function-code | ||
future-reserved-words | ||
global-code | ||
identifier-resolution | ||
identifiers | ||
import | ||
keywords | ||
line-terminators | ||
literals | ||
module-code | ||
punctuators | ||
reserved-words | ||
rest-parameters | ||
source-text | ||
statementList | ||
statements | ||
types | ||
white-space |