Official ECMAScript Conformance Test Suite
Go to file
Sam Mikes 4debe08707 browser runner: check negative regex
1. use negative regex (instead of ".") to check iframeError
2. make Test262Error.prototype.toString() always include
   the string Test262Error (no spaces) so it matches /Test262Error/
3. modify check for supportsWindowOnerror - require that
   first argument (message) to onerror() contains the error name
   by checking for /Error:/.

Change (3) above forces IE11 onto the !supportsWindowOnerror path.
Test262 tests are run inside an eval() on IE11, and errors are
caught and explicitly have toString() called.  Without this,
IE11 passes only the `message` property to onerror(), and regexes
that expect to match error name fail.

sth: revert to simple `onerror` checking

gs: refactor function `$DONE`

refactor logic tree
add support for async test failures

ed.js: crude support for error typing

S8.7.1_A2: cache result of delete

`delete` has a side-effect and its
return value depends on this; cache result of
delete so when reporting result, we are always
reporting the result that made us fail, not the
result of a new delete
[pedantic]

ed: explicitly pass cooked error to $DONE

gs: only let $DONE be called once
2014-08-13 12:24:12 +01:00
console/harness async,promises: initial tests of Promises 2014-07-18 05:37:08 +01:00
docs Add coverage documentation 2014-01-25 14:09:55 -08:00
test browser runner: check negative regex 2014-08-13 12:24:12 +01:00
tools harness: remove unused code 2014-08-03 00:33:08 +01:00
website tools, harness: support new YAML frontmatter 2014-07-30 15:39:04 -07: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 CONTRIBUTING: more notes on test writing 2014-07-31 20:17:15 +01:00
CONTRIBUTING.md CONTRIBUTING.md: minor fixes 2014-07-31 14:41:08 -06:00
LICENSE New tests and test fixes for ECMAScript Internationalization API. 2013-03-24 23:48:59 -07:00
README.md Added contributing.md and improved README 2014-07-10 14:53:31 -07: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.