Official ECMAScript Conformance Test Suite
Go to file
Mike Pennisi 73aa06275a Update browser runner to inject `assert.js`
Since the Python runner was updated to include `assert.js` in all tests
unconditionally, a number of tests have been written that implicitly
rely on its presence. The browser runner does not currently provide this
file's contents to these tests, so they fail unconditionally.

Update the browser runner to inject that file's contents into every test
context.

Note: the existing approach to file retrieval (namely loading via
synchronous XHR requests) is inefficient and deprecated in some
browsers. It is honored here for the sake of consistency and to minimize
the changeset necessary to fix the browser runner.
2015-06-18 13:53:09 -04:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Update browser runner to inject `assert.js` 2015-06-18 13:53:09 -04:00
test Merge pull request #286 from bocoup/obj-method-def 2015-06-17 19:56:29 -04:00
tools Update browser runner to inject `assert.js` 2015-06-18 13:53:09 -04:00
website Clean up website assets that are auto-generated 2014-12-09 14:51:44 -08:00
.gitattributes Import tests from Google V8 (templates) 2015-04-02 12:13:51 -04:00
.gitignore async,promises: initial tests of Promises 2014-07-18 05:37:08 +01: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
CONSOLE-RUNNER.md Fix typo in CONSOLE-RUNNER.md 2015-02-16 12:36:28 -07:00
CONTRIBUTING.md Add tests for early errors in module syntax 2015-06-03 13:15:15 -04:00
LICENSE New tests and test fixes for ECMAScript Internationalization API. 2013-03-24 23:48:59 -07:00
README.md document `timeout` and clean up 2014-08-25 17:00:15 +01:00
excludelist.xml Fix packager.py for updated locations 2014-12-09 14:52:12 -08:00

README.md

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

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.