Official ECMAScript Conformance Test Suite
Go to file
Mike Pennisi 3269aea2ab Remove faulty `throw` statements
The `throw` statements that were recently inserted into these tests have
an observable impact on the parsing behavior: they causes the `"use
strict"` token sequence to be interpreted as a string literal instead of
a directive prolog, which in turn effects how the tests are interpreted.

Remove the new `throw` statements from these tests and rely on
previously-existing statements that serve the same purpose without
impacting program strictness.
2017-07-13 12:27:29 -04:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Fix typo in harness/arrayContains.js 2017-06-28 11:53:59 -04:00
src Duplicate src/dstr-assignment/obj-rest-computed-property.case into regular and sloppy versions. Fixes gh-1082 2017-06-28 15:48:54 -04:00
test Remove faulty `throw` statements 2017-07-13 12:27:29 -04:00
tools Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04:00
website Remove links to hg.ecmascript.org (non-license content) 2015-07-17 17:43:27 +02:00
.editorconfig Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00
.gitattributes Import tests from Google V8 (templates) 2015-04-02 12:13:51 -04:00
.gitignore Automate deployment (#546) 2017-04-10 15:31:19 -04:00
.hgignore Regenerated console runner files. Excluded generated test cases. 2012-08-26 20:47:30 -07:00
.jshintrc Added new tests for chapters 6 and 9 of ECMAScript Internationalization API Specification. 2012-08-26 20:49:25 -07:00
.travis.yml Introduce automated validation for test format (#994) 2017-05-01 12:04:05 -04:00
CONTRIBUTING.md add note to list that esid is required for new tests only 2017-06-28 13:08:28 -04:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
INTERPRETING.md Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04:00
LICENSE New tests and test fixes for ECMAScript Internationalization API. 2013-03-24 23:48:59 -07:00
README.md Add link in the README file 2017-05-18 15:53:41 -04:00
excludelist.xml Fix packager.py for updated locations 2014-12-09 14:52:12 -08:00
features.txt Lint test `features` tag (#1060) 2017-06-12 18:59:14 -03:00
github-deploy-key.enc Update deploy keys 2017-04-24 15:11:02 -04:00
lint.whitelist Remove faulty `throw` statements 2017-07-13 12:27:29 -04:00
make.py Automate deployment (#546) 2017-04-10 15:31:19 -04:00

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.

This project is also described by the Ecma Technical Report 104.

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: