Test for TypedArray.prototype.fill semantics change (#927)

The change is proposed in https://github.com/tc39/ecma262/pull/856
as a fix to https://github.com/tc39/ecma262/issues/855

Here, the ToNumber coercion is done only once, rather than on each
iteration. It does not appear that there were previously any
tests against repeated coercion for this parameter previously.

Tested this test against V8, which failed, as V8 implements the
current spec rather than the proposed one.

1 file changed
tree: 34466f33189eaf7a61f13844cb23e8e9d5a97a39
  1. docs/
  2. harness/
  3. src/
  4. test/
  5. tools/
  6. website/
  7. .gitattributes
  8. .gitignore
  9. .hgignore
  10. .jshintrc
  11. CONTRIBUTING.md
  12. Draft TR ECMA-104 2nd edition.doc
  13. excludelist.xml
  14. INTERPRETING.md
  15. LICENSE
  16. make.py
  17. README.md
README.md

Test262 is the official ECMAScript (ECMA-262) conformance suite.

Test262 tests conformance to the continually maintained draft future ECMAScript standard found at http://tc39.github.io/ecma262/ , together with any Stage 3 or later TC39 proposals. It is maintained by Tom Care (@tcare) and Leo Balter (@leobalter) with significant contributions from many in the ECMAScript community.

Contributing to Test262

See CONTRIBUTING.md

  1. Sign the Test262 CLA.
  2. Send a pull request. Please make sure you have one commit per pull request. If you have multiple commits, squash them before sending the pull request.

Running Test262

See INTERPRETING.md

There are a number of volunteer-maintained projects that may be used to execute Test262 in various ECMAScript hosts: