Official ECMAScript Conformance Test Suite
Go to file
Mike Pennisi cb617493d7 Update browser runner to honor `onlyStrict` flag
Unlike the console runner, the browser runner does not modify the
strictness of tests prior to running them. Regardless of a given test's
metadata, it runs every test exactly once, and it never enables strict
mode. This means that tests intended to function in strict mode must
declare the "use strict"; directive prologue in addition to the
`onlyStrict` flag.

For any test that specifies the `onlyStrict` metadata flag, transform
the source code by injecting a "use strict" directive prologue prior to
running the test.
2015-06-18 17:38:33 -04:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Update browser runner to honor `onlyStrict` flag 2015-06-18 17:38:33 -04:00
test add tests for Object.assign 2015-06-18 15:23:15 +08: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 Update browser runner to honor `onlyStrict` flag 2015-06-18 17:38:33 -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.