2012-07-18 21:32:54 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2011-09-24 19:35:50 +02:00
< html dir = "ltr" xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta content = "text/html; charset=utf-8" http-equiv = "Content-Type" / >
2015-06-26 18:11:04 +02:00
< script type = "text/javascript" src = "scripts/lib/jquery-1.4.2.min.js" > < / script >
< script type = "text/javascript" src = "scripts/sections.js" > < / script >
2011-09-24 19:35:50 +02:00
< script type = "text/javascript" >
//Globals
2012-07-18 21:32:54 +02:00
var STANDARD = "ECMA-262";
2011-09-24 20:47:48 +02:00
var TEST_LIST_PATH = "json/testcaseslist.json";
2011-09-24 19:35:50 +02:00
< / script >
2015-06-26 18:11:04 +02:00
< script type = "text/javascript" src = "scripts/sth.js" > < / script >
2011-09-24 20:47:48 +02:00
< script type = "text/javascript" src = "harness/sta.js" > < / script >
2015-06-26 18:11:04 +02:00
< script type = "text/javascript" src = "scripts/lib/jqueryprogressbar.js" > < / script >
< script type = "text/javascript" src = "scripts/helper.js" > < / script >
< script type = "text/javascript" src = "scripts/lib/jquery.base64.js" > < / script >
2012-07-18 21:32:54 +02:00
< script type = "text/javascript" >
2011-09-24 19:35:50 +02:00
//To support all the browsers
$(window).resize(ResizeLoadIndicator);
$(window).load(ResizeLoadIndicator);
function ResizeLoadIndicator() {
$(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
}
$(".indicatorContainer").click(function(e) {
if (!e) { var e = window.event; }
e.cancelBubble = true;
if (e.stopPropagation) { e.stopPropagation(); }
});
< / script >
2012-07-18 21:32:54 +02:00
< title > ECMAScript Language – test262< / title >
2011-09-24 20:47:48 +02:00
< link href = "styles/style.css" media = "screen" rel = "stylesheet" title = "CSS" type = "text/css" / >
2011-09-24 19:35:50 +02:00
< / head >
< body >
2012-07-18 21:32:54 +02:00
< div class = "indicatorContainer" >
2011-09-24 19:35:50 +02:00
<!-- Blank div to disable back portion when indicator is shown -->
< div class = "disabledBackground" > < / div >
< div id = "loadingIndicator" >
< div >
2011-09-24 20:47:48 +02:00
< img src = "./images/spinner.gif" alt = "Loading..." / >
2011-09-24 19:35:50 +02:00
< span > Loading...< / span >
< / div >
< / div >
< / div >
< div class = "wrapper" >
2012-07-18 21:32:54 +02:00
<!-- This Container holds the main header -->
< div class = "mainHeader" >
< p > < span id = "ECMAscript" > ECMA< / span > < span id = "ecmaSCRIPT" > Script< / span > < strong > Language< / strong > test262
< a id = "ecmascriptbacklink" href = 'javascript:void(window.open("http://www.ecmascript.org/"));' > ECMAScript.org< / a > < / p >
2011-09-24 19:35:50 +02:00
< / div >
<!-- This Container holds the Navigation -->
< div class = "navBar" >
< ul >
< li > < a href = "#" class = "selected nav-link" id = "home" > Home< / a > < / li >
< li > < a href = "#" class = "nav-link" id = "run" > Run< / a > < / li >
< li > < a href = "#" class = "nav-link test-report-link" id = "results" > Results< / a > < / li >
< li > < a href = "#" class = "nav-link" id = "development" > Development< / a > < / li >
< / ul >
< / div >
< div class = "content-container" id = "contentContainer" >
<!-- This is the Main Content Container -->
< div class = "content-home" >
< p class = "headers" > What is test262?< / p >
2012-07-18 21:32:54 +02:00
< p class = "content" > test262 is a test suite intended to check agreement between JavaScript implementations and ECMA-262, the ECMAScript Language Specification (currently 5.1 Edition).
The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript Language Specification.< / p >
2011-09-24 19:35:50 +02:00
< p class = "headers" > What is ECMAScript?< / p >
2012-07-18 21:32:54 +02:00
< p class = "content" > "ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of < a href = 'javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));' > Technical Committee 39 (TC39)< / a > of < a href = 'javascript:void(window.open("http://www.ecma-international.org/"));' > Ecma International< / a > .
The ECMAScript Language Specification standard is officially known as ECMA-262.
ECMAScript 5.1 (or just ES5.1) is short hand for the "ECMA-262, 5.1 Edition ECMAScript Language Specification" the official name of the current edition of the standard.
ECMAScript 5.1 was approved as an official Ecma standard by the Ecma General Assembly in June 2011.
The ECMAScript 5.1 standard is available in < a href = 'javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));' > PDF< / a > and < a href = 'javascript:void(window.open("http://ecma-international.org/ecma-262/5.1/"));' > HTML< / a > versions from the Ecma International web site.< / p >
2011-09-24 19:35:50 +02:00
< p class = "headers" > Who creates and maintains test262?< / p >
2015-05-25 23:35:35 +02:00
< p class = "content" >
Development of test262 is a project of Ecma TC39. The
testing framework and individual tests are created by
developers all over the world and contributed to Ecma for
use in test262. For more information about how test262 is
developed and maintained, click the
“ Development” tab at the top of this page.
< / p >
2011-09-24 19:35:50 +02:00
< p class = "headers" > What is the status of test262?< / p >
< p class = "content" > < strong > test262 is not yet complete. It is still undergoing active development.< / strong > Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.< / p >
2012-07-18 21:32:54 +02:00
< p class = "headers" > Where can I find out more?< / p >
2011-09-24 19:35:50 +02:00
< p class = "content" > Please visit our < a href = 'javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));' > Frequently Asked Questions< / a > section on the < a href = 'javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));' > ECMAScript Wiki< / a > .< / p >
< p class = "headers" > Running the Tests< / p >
< p class = "content" > Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.< / p >
< a href = 'javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));' > < / a >
< / div >
< div class = "content-dev" >
< p class = "headers" > Development< / p >
2015-05-25 23:35:35 +02:00
< p class = "content" >
Test262 is being developed as an open source project and
the maintainers are accepting patches from the community.
The project is maintained using < a
href='javascript:void(window.open("https://git-scm.com/"));'>the
git version control system< / a > and is < a
href='javascript:void(window.open("https://github.com/tc39/test262"));'>currently
hosted on GitHub.com< / a > . Bug reports and patches may be
submitted to the GitHub repository.
2011-09-24 19:35:50 +02:00
< / p >
2015-05-25 23:35:35 +02:00
2011-09-24 19:35:50 +02:00
< p class = "content" >
2015-05-25 23:35:35 +02:00
A < a
href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public
mailing list< / a > is used to coordinate development of
test262. If you wish to participate in the discussion,
please < a
href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe< / a > .
2011-09-24 19:35:50 +02:00
< / p >
< / div >
< div class = "content-tests" >
<!-- This is the Main Content Container -->
2012-06-12 23:54:30 +02:00
< p class = "content" > Please click on the Run All button to run all the tests. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run. You may run individual tests by clicking the Run button next to the tests listed below. If you wish to run several chapters in sequence, but not the entire test suite, click the Select button for the chapters you wish to run and then click the Run Selected button.< / p >
2011-09-24 19:35:50 +02:00
<!-- This is the Progress Bar Holder -->
< div class = "progressBarHolder" >
< div id = "progressbar" > < / div >
< div class = "progressBarButtons" >
2012-06-12 23:54:30 +02:00
<!-- Loading: Run All, Run Selected -->
<!-- Loaded: Run All, Run Selected -->
<!-- Running: Pause -->
<!-- Paused: Resume, Reset -->
< img src = "images/runall.png" alt = "Run All" title = "Run all tests." id = "btnRunAll" / >
< img src = "images/runselected.png" alt = "Run Selected Tests" title = "Run the tests selected below." id = "btnRunSelected" / >
< img src = "images/pause.png" alt = "Pause" title = "Pause the running tests." id = "btnPause" / >
< img src = "images/resume.png" alt = "Resume" title = "Resume the running tests." id = "btnResume" / >
< img src = "images/reset.png" alt = "Reset" title = "Reset testing status." id = "btnReset" / >
2011-09-24 19:35:50 +02:00
< / div >
< div style = "clear: both;" > < / div >
< / div >
2012-06-12 23:54:30 +02:00
< p class = "hide" >
2011-09-24 19:35:50 +02:00
Timer Value(ms) : < input id = "txtTimerValue" value = "50" / > < input id = "btnSetTimerValue" value = "Set Timer Value" type = "button" / >
< / p >
2012-06-12 23:54:30 +02:00
2011-09-24 19:35:50 +02:00
<!-- This is the Results Text Holder -->
< div class = "resultsHeader" >
2012-08-23 01:12:54 +02:00
Tests To run: < strong > < span class = "teststorun-counter" id = "testsToRun" > < / span > < / strong > < span class = "separator" > |< / span >
Total tests ran: < strong > < span class = "total-counter" id = "totalCounter" > < / span > < / strong > < span class = "separator" > |< / span >
2012-06-12 23:54:30 +02:00
Pass: < span class = "pass" id = "Pass" > < / span > < span class = "separator" > |< / span >
Fail: < span class = "fail" id = "Fail" > < / span > < span class = "separator" > |< / span >
2012-08-23 01:12:54 +02:00
Failed to load: < span class = "fail" id = "failedToLoadCounter1" > < / span >
2011-09-24 19:35:50 +02:00
< p > < span id = "nextActivity" > < / span > < / p >
< / div >
2012-06-12 23:54:30 +02:00
<!-- Test Chapter selector -->
< div id = "chapterSelector" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < / table >
< / div >
2011-09-24 19:35:50 +02:00
<!-- This is the Table -->
< div class = "resultsTableHolder" id = "tableLoggerParent" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "table-logger" id = "tableLogger" > < / table >
< / div >
< div >
2012-07-18 21:32:54 +02:00
Test suite version: < span class = "targetTestSuiteVersion" > < / span > < span class = "separator" > |< / span > Test suite date: < span class = "targetTestSuiteDate" > < / span >
2011-09-24 19:35:50 +02:00
< / div >
< / div >
< div class = "content-results" >
< div class = "crumbContainer" >
< div class = "crumbs" > < / div >
2012-07-18 21:32:54 +02:00
< div style = "float:right;" > < a class = "setBlue hide" id = "backlinkDiv" href = "#" > < < back< / a > < / div >
2011-09-24 19:35:50 +02:00
< div style = "clear : both;" > < / div >
< / div >
2012-07-18 21:32:54 +02:00
< div class = "resultsHeader" > < strong > Total tests: < span class = "totalCases" > < / span > < / strong > < br / >
2011-09-24 19:35:50 +02:00
Passed: < span class = "passedCases" > < / span > < span class = "separator" > |< / span > Failed: < span class = "failedCases" > < / span > < span class = "separator" > |< / span >
2012-07-18 21:32:54 +02:00
Failed to load: < strong > < span id = "failedToLoadCounter" > < / span > < / strong >
2011-09-24 19:35:50 +02:00
< / div >
<!-- This is the Table -->
< div class = "resultsTableHolder" >
< table width = "100%" cellspacing = "0" cellpadding = "0" border = "0" class = "results-data-table" > < / table >
< div id = "resultMessage" > Test results will be displayed after the tests are executed using the Run page.< / div >
< / div >
< div >
2012-07-18 21:32:54 +02:00
Test suite version.: < span class = "targetTestSuiteVersion" > < / span > < span class = "separator" > |< / span > Test suite date: < span class = "targetTestSuiteDate" > < / span >
2011-09-24 19:35:50 +02:00
< / div >
< div class = "downloadLinks" >
2011-09-24 20:47:48 +02:00
< p > < a class = "anchor-download-xml" id = "ancGenXMLReport" > < strong > Download results as XML< / strong > < / a > < / p > <!-- | <strong><a href="scripts/testcases.zip">Download Source</a></strong></p> -->
2011-09-24 19:35:50 +02:00
< / div >
< div id = "legend" class = "hide" >
< label class = "reportGreen" > Green:< / label > 100%
< label class = "reportLightGreen" > Green:< / label > 75% to 99.9%
< label class = "reportYellow" > Yellow:< / label > 50% to 75%
< label class = "reportRed" > Red:< / label > less than 50%
< / div >
< / div >
< / div >
< / div >
<!-- This is the Footer -->
< div class = "footer" >
<!-- <div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div> -->
< div class = "copyright" > © < a href = 'javascript:void(window.open("http://www.ecma-international.org"));' > Ecma International< / a > < / div >
< / div >
< iframe id = "scriptLoader" class = "hide" > < / iframe >
< / body >
< / html >