1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00
Sam Mikes 4205a1da64 harness: remove unused code
sta.js:
slight change to Test262Error() semantics; message property now always set (default "")
make $ERROR a var
set $ERROR to function $ERROR so it can be overridden if needed
remove 2009 copyright in favor of 2012 copyright
REVERTED: remove never-used fn testFailed
testFailed actually used by $FAIL
remove obsolete fn $INCLUDE

ed.js:
remove commented-out obsolete code

test262.py:
remove always-included harness file that provides no functions used by any extant test
add comment line to nonstrict

cth.js: define `print` for node, cscript

use cth (console test harness) to define functions
for console runner.  V8, Spidermonkey (js) and JavaScriptCore (jsc)
provide a function `print`.  Provide a default `print` for node
and cscript

set print_handle to 'print' by default (can still override)
for cscript: wrap tests in try/catch so we get syntax errors
2014-08-03 00:33:08 +01:00
2014-01-25 14:09:55 -08:00
2014-08-03 00:33:08 +01:00
2014-08-03 00:33:08 +01:00
2014-07-31 14:41:08 -06:00

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.
Description
Official ECMAScript Conformance Test Suite
Readme BSD-3-Clause-HP 126 MiB
Languages
JavaScript 99.7%
Python 0.2%