<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ES5conform Wiki &amp; Documentation Rss Feed</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=Home</link><description>ES5conform Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://es5conform.codeplex.com/wikipage?version=20</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;&lt;u&gt;A New Home for ES5Conform&lt;/u&gt;&lt;/h2&gt;
The goal of the ES5Conform CodePlex project was to build a suite of tests for new features added in the 5th edition of the ECMAScript language specification.  As this test suite matured, it became desirable to extend it with tests for features added in earlier versions of the ECMAScript standard that are still present in the 5th edition today.  A comprehensive test suite for the 5th edition in its entirety is extremely useful for JavaScript implementers. &lt;br /&gt;&lt;br /&gt;To achieve this goal, &lt;b&gt;the tests from ES5Conform (which were focused on ECMAScript 5) have been contributed along with Google’s Sputnik tests (focused on ECMAScript 3) to Test262, a test suite supported by the ECMAScript committee. To this end, all active development on ES5Conform has been migrated to test262 and test defects are now tracked on &lt;a href="http://bugs.ecmascript.org" class="externalLink"&gt;http://bugs.ecmascript.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;.  Other improvements were made in the transition to test262, and the best example of this is that the entire test suite is conveniently runnable directly from the test262 website.  Also worth pointing out is that development of test262 is now an actual project of the TC39 committee, and test262 resides in the ecmascript.org web domain.  You can find more info about test262 on its official website, &lt;a href="http://test262.ecmascript.org" class="externalLink"&gt;http://test262.ecmascript.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, or via the test262 mailing list - see &lt;a href="https://mail.mozilla.org/listinfo/test262-discuss" class="externalLink"&gt;https://mail.mozilla.org/listinfo/test262-discuss&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  Finally, the original version of ES5Conform&amp;#39;s CodePlex project page has been archived &lt;a href="http://es5conform.codeplex.com/documentation" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;We thank everyone whose contributed to ES5Conform over the years, and hope you’ll bring the same passion for a standardized web to the test262 effort.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The ES5Conform Team&lt;/i&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfugate</author><pubDate>Mon, 08 Aug 2011 17:57:03 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110808055703P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://es5conform.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;This page is deprecated and all ES5Conform tests have been contributed to ECMA&amp;#39;s &lt;a href="http://test262.ecmascript.org" class="externalLink"&gt;test262&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; project.&lt;/h1&gt;&lt;hr /&gt;

&lt;h3&gt;Project Description&lt;/h3&gt;The goal of this project was to develop a test suite that could be used to determine how closely a JavaScript implementation conforms to the ECMAScript, 5th Edition Language Specification.  We hope that the availability of a common conformance test suite will help browser implementers achieve a very high degree of interoperability for their ECMAScript 5 implementations.&lt;br /&gt;
&lt;h3&gt;What is ECMAScript 5&lt;/h3&gt;&amp;quot;ECMAScript&amp;quot; is the name under which the language more commonly known as &amp;quot;JavaScript&amp;quot; is standardized.  Development of the ECMAScript standard is the responsibility of &lt;a href="http://www.ecma-international.org/memento/TC39.htm" class="externalLink"&gt;Technical Committee 39 (TC39)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of &lt;a href="http://www.ecma-international.org/" class="externalLink"&gt;Ecma International&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. The ECMAScript standard is officially known as ECMA-262.  ECMAScript 5 (or just ES5) is short hand for the &amp;quot;ECMA-262, 5th Edition ECMAScript Language Specification&amp;quot; the official name of the standard.&lt;br /&gt;&lt;br /&gt;ECMAScript 5 was approved as an offical Ecma standard by the the Ecma General Assembly on  December 3, 2009.  The &lt;a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf" class="externalLink"&gt;ECMAScript 5 Specification (PDF)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is available from the Ecma International web site. &lt;br /&gt;
&lt;h3&gt;Project Coordination and Participation&lt;/h3&gt;The coordinators of this project represent organizations that are members of ECMA and participants in TC39.  This project is being carried out in cooperation with ECMA TC39 but the actual operation of this development project is not currently an official ECMA activity. It is possible this some or all of this test suite may be formally adopted by TC39 as a formal ECMA publication.&lt;br /&gt;&lt;br /&gt;TC39 members and other with an active interest in test ECMAScript implementations are invited to participate by running tests, identify issues, contributing tests, or becoming active developers on this project. Path submissions are welcomed from everyone.
&lt;h3&gt;Contributors&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Microsoft contributed the original set of approximately 900 tests.&lt;/li&gt;&lt;/ul&gt;
&lt;h3&gt;License&lt;/h3&gt;All files in this project are licensed  using the New BSD license.   See the license tab of this project for the actual license text.
&lt;h3&gt;Downloading and Running the Tests&lt;/h3&gt;Simply go to the Downloads tab, download the latest release, unzip it, and open runtests.html in the browser you want to test. If you want to run the tests in a non-browser environment you could contribute to this project by writing an &lt;a href="http://es5conform.codeplex.com/workitem/23271"&gt;appropriate test driver&lt;/a&gt;.&lt;br /&gt;. 
&lt;h3&gt;Test Organization and Conventions&lt;/h3&gt;The tests are arranged in a hierarchy that reflects the organization of the ECMAScript 5 Specification.  The organization is explained &lt;a href="http://es5conform.codeplex.com/wikipage?title=testOrg&amp;referringTitle=Documentation"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfugate</author><pubDate>Mon, 08 Aug 2011 17:44:22 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20110808054422P</guid></item><item><title>Updated Wiki: Home</title><link>http://es5conform.codeplex.com/wikipage?version=19</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;&lt;u&gt;A New Home for ES5Conform&lt;/u&gt;&lt;/h2&gt;
The goal of the ES5Conform CodePlex project was to build a suite of tests for new features added in the 5th edition of the ECMAScript language specification.  As this test suite matured, it became desirable to extend it with tests for features added in earlier versions of the ECMAScript standard that are still present in the 5th edition today.  A comprehensive test suite for the 5th edition in its entirety is extremely useful for JavaScript implementers. &lt;br /&gt;&lt;br /&gt;To achieve this goal, &lt;b&gt;the tests from ES5Conform (which were focused on ECMAScript 5) have been contributed along with Google’s Sputnik tests (focused on ECMAScript 3) to Test262, a test suite supported by the ECMAScript committee. To this end, all active development on ES5Conform has been migrated to test262 and test defects are now tracked on &lt;a href="http://bugs.ecmascript.org" class="externalLink"&gt;http://bugs.ecmascript.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;.  Other improvements were made in the transition to test262, and the best example of this is that the entire test suite is conveniently runnable directly from the test262 website.  Also worth pointing out is that development of test262 is now an actual project of the TC39 committee, and test262 resides in the ecmascript.org web domain.  You can find more info about test262 on its official website, &lt;a href="http://test262.ecmascript.org" class="externalLink"&gt;http://test262.ecmascript.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, or via the test262 mailing list - see &lt;a href="https://mail.mozilla.org/listinfo/test262-discuss" class="externalLink"&gt;https://mail.mozilla.org/listinfo/test262-discuss&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;We thank everyone whose contributed to ES5Conform over the years, and hope you’ll bring the same passion for a standardized web to the test262 effort.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The ES5Conform Team&lt;/i&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfugate</author><pubDate>Mon, 08 Aug 2011 17:38:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110808053833P</guid></item><item><title>Updated Wiki: Home</title><link>http://es5conform.codeplex.com/wikipage?version=18</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;ECMAScript 5 Conformance Suite&lt;/h1&gt;&lt;h3&gt;Project Description&lt;/h3&gt;The goal of this project is to develop a test suite that can be used to determine how closely a JavaScript implementation conforms to the ECMAScript, 5th Edition Language Specification.  We hope that the availability of a common conformance test suite will help browser implementers achieve a very high degree of interoperability for their ECMAScript 5 implementations.&lt;br /&gt;
&lt;h3&gt;What is ECMAScript 5&lt;/h3&gt;&amp;quot;ECMAScript&amp;quot; is the name under which the language more commonly known as &amp;quot;JavaScript&amp;quot; is standardized.  Development of the ECMAScript standard is the responsibility of &lt;a href="http://www.ecma-international.org/memento/TC39.htm" class="externalLink"&gt;Technical Committee 39 (TC39)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of &lt;a href="http://www.ecma-international.org/" class="externalLink"&gt;Ecma International&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. The ECMAScript standard is officially known as ECMA-262.  ECMAScript 5 (or just ES5) is short hand for the &amp;quot;ECMA-262, 5th Edition ECMAScript Language Specification&amp;quot; the official name of the standard.&lt;br /&gt;&lt;br /&gt;ECMAScript 5 was approved as an offical Ecma standard by the the Ecma General Assembly on  December 3, 2009.  The &lt;a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf" class="externalLink"&gt;ECMAScript 5 Specification (PDF)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is available from the Ecma International web site. &lt;br /&gt;
&lt;h3&gt;Project Coordination and Participation&lt;/h3&gt;The coordinators of this project represent organizations that are members of ECMA and participants in TC39.  This project is being carried out in cooperation with ECMA TC39 but the actual operation of this development project is not currently an official ECMA activity. It is possible this some or all of this test suite may be formally adopted by TC39 as a formal ECMA publication.&lt;br /&gt;&lt;br /&gt;TC39 members and other with an active interest in test ECMAScript implementations are invited to participate by running tests, identify issues, contributing tests, or becoming active developers on this project. Path submissions are welcomed from everyone.
&lt;h3&gt;Contributors&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Microsoft contributed the original set of approximately 900 tests.&lt;/li&gt;&lt;/ul&gt;
&lt;h3&gt;License&lt;/h3&gt;All files in this project are licensed  using the New BSD license.   See the license tab of this project for the actual license text.
&lt;h3&gt;Downloading and Running the Tests&lt;/h3&gt;Simply go to the Downloads tab, download the latest release, unzip it, and open runtests.html in the browser you want to test. If you want to run the tests in a non-browser environment you could contribute to this project by writing an &lt;a href="http://es5conform.codeplex.com/WorkItem/View.aspx?WorkItemId=23271"&gt;appropriate test driver&lt;/a&gt;.&lt;br /&gt;. 
&lt;h3&gt;Test Organization and Conventions&lt;/h3&gt;The tests are arranged in a hierarchy that reflects the organization of the ECMAScript 5 Specification.  The organization is explained &lt;a href="http://es5conform.codeplex.com/wikipage?title=testOrg&amp;referringTitle=Home"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Mon, 14 Dec 2009 18:36:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091214063641P</guid></item><item><title>Updated Wiki: testOrg</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=testOrg&amp;version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Test File Directory Hierarchy&lt;/h3&gt;&lt;hr /&gt;
With in the &lt;b&gt;TestCases&lt;/b&gt; directory individual tests are organized into subdirectories corresponding to chapters (top level section numbers) of the ECMAScript 5 Specification.&lt;br /&gt;For Example:&lt;br /&gt;&lt;pre&gt;
TestCases
      chapter11
           11.1
           11.4
                  11.4.1
      chapter12
           12.10
      chapter13
&lt;/pre&gt;
&lt;h3&gt;Test File Naming Conventions&lt;/h3&gt;&lt;hr /&gt;
Individual test files have the following format:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;[&lt;b&gt;@&lt;/b&gt;&lt;i&gt;n&lt;/i&gt;][&lt;b&gt;-&lt;/b&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;|&lt;b&gt;-g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;]&lt;b&gt;-&lt;/b&gt;&lt;i&gt;testNumber&lt;/i&gt;[&lt;b&gt;-&lt;/b&gt;s][x].js&lt;br /&gt;&lt;br /&gt;Where:&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;: is the section number of the ECMAScript 5 Specification that this test is primarily concerned with.&lt;br /&gt;@&lt;i&gt;n&lt;/i&gt;:  is optional and used if a section contains more than one algorithm.  &lt;i&gt;n&lt;/i&gt; is ordinal number of the algorithm within the section.&lt;br /&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;: is the step number within the algorithm that the rest relates to.  It maybe excluded for tests that relate to non-algorithmic sections of the specification.  0 is used to reference the non-algorithmic part of sections that include both algorithmic and non-algorithmetic content.&lt;br /&gt;&lt;b&gt;g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;: is an ordinal number (starting from 1) of a grammar production defined in the section. It is used for parsing related tests.&lt;br /&gt;&lt;i&gt;testNumber&lt;/i&gt;: is present if there is more than one testcase for a particular algorithm step or non-algorithm specification section.&lt;br /&gt;-s: is an optional suffix -s that identifies that the test is only applies to strict mode&lt;br /&gt;x: is an optional suffix that identifies that the test intentionally contains something that should case a syntax error. Such tests are expected to not load correctly and if they do it load it is a test failure. The test function should not return true.&lt;br /&gt;
&lt;h3&gt;Test File Structure&lt;/h3&gt;&lt;hr /&gt;
Each testcase must be a single .js file.&lt;br /&gt;A testcase is made up of the following parts (1) license header (2) test registration call (3) test case object literal and looks like:&lt;br /&gt;&lt;pre&gt;
/// Copyright (c) &amp;lt;&amp;lt;year&amp;gt;&amp;gt; &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt;. 
/// 
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met: 
///    * Redistributions of source code must retain the above copyright notice, this list of conditions and
///      the following disclaimer. 
///    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and 
///      the following disclaimer in the documentation and/or other materials provided with the distribution.  
///    * Neither the name of &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; nor the names of its contributors may be used to
///      endorse or promote products derived from this software without specific prior written permission.
/// 
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;amp;quot;AS IS&amp;amp;quot; AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 


/* be sure to put your personal &amp;lt;&amp;lt;year&amp;gt;&amp;gt; and &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; information into the above header */
 

ES5Harness.registerTest( {
id: &amp;quot;sectionNumber[@nnn][-algorithmStepNumber]-testNumber[-s]&amp;quot;,  //put a unique test id here

path: &amp;quot;TestCases/testTemplate.js&amp;quot;,    //the directory path of this test starting at TestCases

description: 'Insert text descripting the test here',

test: function testcase() {
  //Add test code here, return true if test passes
 },

precondition: function precond() {
 //Add code to test any preconditions that must be establish in order to run this test.
 //Return true if it is ok to run the test.
 //This property may be completely omitted in which case the test will always be run.
 return true;
 }

});
&lt;/pre&gt;&lt;br /&gt;The license header is the copyright notice and New BSD license text. &lt;br /&gt;Be sure to fill in the actual year and name of the copyright holder.&lt;br /&gt;&lt;br /&gt;The test registration is a JavaScript function call of the form:&lt;br /&gt;&lt;pre&gt;
   ES5Harness.registerTest( testObject);
&lt;/pre&gt; &lt;b&gt;ES5Harness&lt;/b&gt; is the global name of the test harness and &lt;b&gt;registerTest&lt;/b&gt; is the method that is used to register tests. &lt;br /&gt;The argument is an object that defines an individual test. Normally the argument &lt;i&gt;testObject&lt;/i&gt;is an object literal. &lt;br /&gt;&lt;br /&gt;A test case object has the following properties:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;id&lt;/b&gt;:  A string containing the name of this test file using the above naming conventions. The file extension is not included in the id.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;path&lt;/b&gt;:  A string containing the relative directory path of this test starting at TestCases.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;description&lt;/b&gt;: A string describing the purpose of this test.&amp;amp;nbsp; It is used to generate test reports.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;test&lt;/b&gt;: A function that performs the actual test. The test harness will call this function to execute the test.&amp;amp;nbsp; It must return true if the test  passes. Any other return value indicates a failed test. The test function is called as a method with its this value set to its defining test case object.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;precondition&lt;/b&gt;: (Optional) A function that is called before the test function to see if it is ok to run the test.&amp;amp;nbsp; If all preconditions necessary to run the test are established it should return true. If it returns , the test will not be run.&amp;amp;nbsp; The precondition function is called as a  method with its this value set to its defining test case object. This property is  optional. If it is not present, the test function will always be executed.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;A text case object may also define other properties.  The test case file may also contain additional global code and declarations. However, this is not recommended unless necessary for creating a test relating  to global access. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Wed, 12 Aug 2009 20:14:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: testOrg 20090812081442P</guid></item><item><title>Updated Wiki: testOrg</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=testOrg&amp;version=11</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Test File Directory Hierarchy&lt;/h3&gt;&lt;hr /&gt;
With in the &lt;b&gt;TestCases&lt;/b&gt; directory individual tests are organized into subdirectories corresponding to chapters (top level section numbers) of the ECMAScript 5 Specification.&lt;br /&gt;For Example:&lt;br /&gt;&lt;pre&gt;
TestCases
      chapter11
           11.1
           11.4
                  11.4.1
      chapter12
           12.10
      chapter13
&lt;/pre&gt;
&lt;h3&gt;Test File Naming Conventions&lt;/h3&gt;&lt;hr /&gt;
Individual test files have the following format:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;[&lt;b&gt;@&lt;/b&gt;&lt;i&gt;n&lt;/i&gt;][&lt;b&gt;-&lt;/b&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;|&lt;b&gt;-g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;]&lt;b&gt;-&lt;/b&gt;&lt;i&gt;testNumber&lt;/i&gt;[&lt;b&gt;-&lt;/b&gt;s][x].js&lt;br /&gt;&lt;br /&gt;Where:&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;: is the section number of the ECMAScript 5 Specification that this test is primarily concerned with.&lt;br /&gt;@&lt;i&gt;n&lt;/i&gt;:  is optional and used if a section contains more than one algorithm.  &lt;i&gt;n&lt;/i&gt; is ordinal number of the algorithm within the section.&lt;br /&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;: is the step number within the algorithm that the rest relates to.  It is excluded for tests that relate to non-algorithmic sections of the specification.&lt;br /&gt;&lt;b&gt;g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;: is an ordinal number (starting from 1) of a grammar production defined in the section. It is used for parsing related tests.&lt;br /&gt;&lt;i&gt;testNumber&lt;/i&gt;: is present if there is more than one testcase for a particular algorithm step or non-algorithm specification section.&lt;br /&gt;-s: is an optional suffix -s that identifies that the test is only applies to strict mode&lt;br /&gt;x: is an optional suffix that identifies that the test intentionally contains something that should case a syntax error. Such tests are expected to not load correctly and if they do it load it is a test failure. The test function should not return true.&lt;br /&gt;
&lt;h3&gt;Test File Structure&lt;/h3&gt;&lt;hr /&gt;
Each testcase must be a single .js file.&lt;br /&gt;A testcase is made up of the following parts (1) license header (2) test registration call (3) test case object literal and looks like:&lt;br /&gt;&lt;pre&gt;
/// Copyright (c) &amp;lt;&amp;lt;year&amp;gt;&amp;gt; &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt;. 
/// 
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met: 
///    * Redistributions of source code must retain the above copyright notice, this list of conditions and
///      the following disclaimer. 
///    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and 
///      the following disclaimer in the documentation and/or other materials provided with the distribution.  
///    * Neither the name of &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; nor the names of its contributors may be used to
///      endorse or promote products derived from this software without specific prior written permission.
/// 
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;amp;quot;AS IS&amp;amp;quot; AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 


/* be sure to put your personal &amp;lt;&amp;lt;year&amp;gt;&amp;gt; and &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; information into the above header */
 

ES5Harness.registerTest( {
id: &amp;quot;sectionNumber[@nnn][-algorithmStepNumber]-testNumber[-s]&amp;quot;,  //put a unique test id here

path: &amp;quot;TestCases/testTemplate.js&amp;quot;,    //the directory path of this test starting at TestCases

description: 'Insert text descripting the test here',

test: function testcase() {
  //Add test code here, return true if test passes
 },

precondition: function precond() {
 //Add code to test any preconditions that must be establish in order to run this test.
 //Return true if it is ok to run the test.
 //This property may be completely omitted in which case the test will always be run.
 return true;
 }

});
&lt;/pre&gt;&lt;br /&gt;The license header is the copyright notice and New BSD license text. &lt;br /&gt;Be sure to fill in the actual year and name of the copyright holder.&lt;br /&gt;&lt;br /&gt;The test registration is a JavaScript function call of the form:&lt;br /&gt;&lt;pre&gt;
   ES5Harness.registerTest( testObject);
&lt;/pre&gt; &lt;b&gt;ES5Harness&lt;/b&gt; is the global name of the test harness and &lt;b&gt;registerTest&lt;/b&gt; is the method that is used to register tests. &lt;br /&gt;The argument is an object that defines an individual test. Normally the argument &lt;i&gt;testObject&lt;/i&gt;is an object literal. &lt;br /&gt;&lt;br /&gt;A test case object has the following properties:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;id&lt;/b&gt;:  A string containing the name of this test file using the above naming conventions. The file extension is not included in the id.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;path&lt;/b&gt;:  A string containing the relative directory path of this test starting at TestCases.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;description&lt;/b&gt;: A string describing the purpose of this test.&amp;amp;nbsp; It is used to generate test reports.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;test&lt;/b&gt;: A function that performs the actual test. The test harness will call this function to execute the test.&amp;amp;nbsp; It must return true if the test  passes. Any other return value indicates a failed test. The test function is called as a method with its this value set to its defining test case object.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;precondition&lt;/b&gt;: (Optional) A function that is called before the test function to see if it is ok to run the test.&amp;amp;nbsp; If all preconditions necessary to run the test are established it should return true. If it returns , the test will not be run.&amp;amp;nbsp; The precondition function is called as a  method with its this value set to its defining test case object. This property is  optional. If it is not present, the test function will always be executed.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;A text case object may also define other properties.  The test case file may also contain additional global code and declarations. However, this is not recommended unless necessary for creating a test relating  to global access. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Wed, 12 Aug 2009 18:44:58 GMT</pubDate><guid isPermaLink="false">Updated Wiki: testOrg 20090812064458P</guid></item><item><title>Updated Wiki: Home</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=Home&amp;version=17</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;ECMAScript 5 Conformance Suite&lt;/h1&gt;&lt;h3&gt;Project Description&lt;/h3&gt;The goal of this project is to develop a test suite that can be used to determine how closely a JavaScript implementation conforms to the ECMAScript, 5th Edition Language Specification.  We hope that the availability of a common conformance test suite will help browser implementers achieve a very high degree of interoperability for their ECMAScript 5 implementations.&lt;br /&gt;
&lt;h3&gt;What is ECMAScript 5&lt;/h3&gt;&amp;quot;ECMAScript&amp;quot; is the name under which the language more commonly known as &amp;quot;JavaScript&amp;quot; is standardized.  Development of the ECMAScript standard is the responsibility of &lt;a href="http://www.ecma-international.org/memento/TC39.htm" class="externalLink"&gt;Technical Committee 39 (TC39)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of &lt;a href="http://www.ecma-international.org/" class="externalLink"&gt;Ecma International&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. The ECMAScript standard is officially known as ECMA-262.  ECMAScript 5 (or just ES5) is short hand for the &amp;quot;ECMA-262, 5th Edition ECMAScript Language Specification&amp;quot; the official name of the standard.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ECMAScript 5 is not yet a completed official standard.&lt;/b&gt;  ECMAScript 5 is currently at the &lt;i&gt;candidate standard&lt;/i&gt; phase of development.  This means that technical development of the feature content of the standard is complete and frozen. The &lt;a href="http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf" class="externalLink"&gt;candidate ECMAScript 5 specification&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is currently undergoing public review.  The only planned technical changes to the candidate specification are those necessary to correct errors discovered through the review process. &lt;a href="http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft" class="externalLink"&gt;Known issues and errata&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the candidate specification are also available.  The current schedule calls for final approval of the ES5 standard by the end of 2009.&lt;br /&gt;
&lt;h3&gt;Project Coordination and Participation&lt;/h3&gt;The coordinators of this project represent organizations that are members of ECMA and participants in TC39.  This project is being carried out in cooperation with ECMA TC39 but the actual operation of this development project is not currently an official ECMA activity. It is possible this some or all of this test suite may be formally adopted by TC39 as a formal ECMA publication.&lt;br /&gt;&lt;br /&gt;TC39 members and other with an active interest in test ECMAScript implementations are invited to participate by running tests, identify issues, contributing tests, or becoming active developers on this project. Path submissions are welcomed from everyone.
&lt;h3&gt;Contributors&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Microsoft contributed the original set of approximately 900 tests.&lt;/li&gt;&lt;/ul&gt;
&lt;h3&gt;License&lt;/h3&gt;All files in this project are licensed  using the New BSD license.   See the license tab of this project for the actual license text.
&lt;h3&gt;Downloading and Running the Tests&lt;/h3&gt;Simply go to the Downloads tab, download the latest release, unzip it, and open runtests.html in the browser you want to test. If you want to run the tests in a non-browser environment you could contribute to this project by writing an &lt;a href="http://es5conform.codeplex.com/WorkItem/View.aspx?WorkItemId=23271"&gt;appropriate test driver&lt;/a&gt;.&lt;br /&gt;. 
&lt;h3&gt;Test Organization and Conventions&lt;/h3&gt;The tests are arranged in a hierarchy that reflects the organization of the ECMAScript 5 Specification.  The organization is explained &lt;a href="http://es5conform.codeplex.com/Wiki/View.aspx?title=testOrg"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Wed, 01 Jul 2009 17:22:39 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090701052239P</guid></item><item><title>Updated Wiki: testOrg</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=testOrg&amp;version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Test File Directory Hierarchy&lt;/h3&gt;&lt;hr /&gt;
With in the &lt;b&gt;TestCases&lt;/b&gt; directory individual tests are organized into subdirectories corresponding to chapters (top level section numbers) of the ECMAScript 5 Specification.&lt;br /&gt;For Example:&lt;br /&gt;&lt;pre&gt;
TestCases
      chapter11
           11.1
           11.4
                  11.4.1
      chapter12
           12.10
      chapter13
&lt;/pre&gt;
&lt;h3&gt;Test File Naming Conventions&lt;/h3&gt;&lt;hr /&gt;
Individual test files have the following format:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;[&lt;b&gt;@&lt;/b&gt;&lt;i&gt;nnn&lt;/i&gt;][&lt;b&gt;-&lt;/b&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;|&lt;b&gt;-g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;]&lt;b&gt;-&lt;/b&gt;&lt;i&gt;testNumber&lt;/i&gt;[&lt;b&gt;-&lt;/b&gt;s][x].js&lt;br /&gt;&lt;br /&gt;Where:&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;: is the section number of the ECMAScript 5 Specification that this test is primarily concerned with.&lt;br /&gt;@&lt;i&gt;n&lt;/i&gt;:  is optional and used if a section contains more than one algorithm.  &lt;i&gt;n&lt;/i&gt; is ordinal number of the algorithm within the section.&lt;br /&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;: is the step number within the algorithm that the rest relates to.  It is excluded for tests that relate to non-algorithmic sections of the specification.&lt;br /&gt;&lt;b&gt;g&lt;/b&gt;&lt;i&gt;grammarProductionNumber&lt;/i&gt;: is an ordinal number (starting from 1) of a grammar production defined in the section. It is used for parsing related tests.&lt;br /&gt;&lt;i&gt;testNumber&lt;/i&gt;: is present if there is more than one testcase for a particular algorithm step or non-algorithm specification section.&lt;br /&gt;-s: is an optional suffix -s that identifies that the test is only applies to strict mode&lt;br /&gt;x: is an optional suffix that identifies that the test intentionally contains something that should case a syntax error. Such tests are expected to not load correctly and if they do it load it is a test failure. The test function should not return true.&lt;br /&gt;
&lt;h3&gt;Test File Structure&lt;/h3&gt;&lt;hr /&gt;
Each testcase must be a single .js file.&lt;br /&gt;A testcase is made up of the following parts (1) license header (2) test registration call (3) test case object literal and looks like:&lt;br /&gt;&lt;pre&gt;
/// Copyright (c) &amp;lt;&amp;lt;year&amp;gt;&amp;gt; &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt;. 
/// 
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met: 
///    * Redistributions of source code must retain the above copyright notice, this list of conditions and
///      the following disclaimer. 
///    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and 
///      the following disclaimer in the documentation and/or other materials provided with the distribution.  
///    * Neither the name of &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; nor the names of its contributors may be used to
///      endorse or promote products derived from this software without specific prior written permission.
/// 
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;amp;quot;AS IS&amp;amp;quot; AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 


/* be sure to put your personal &amp;lt;&amp;lt;year&amp;gt;&amp;gt; and &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; information into the above header */
 

ES5Harness.registerTest( {
id: &amp;quot;sectionNumber[@nnn][-algorithmStepNumber]-testNumber[-s]&amp;quot;,  //put a unique test id here

path: &amp;quot;TestCases/testTemplate.js&amp;quot;,    //the directory path of this test starting at TestCases

description: 'Insert text descripting the test here',

test: function testcase() {
  //Add test code here, return true if test passes
 }

precondition: function precond() {
 //Add code to test any preconditions that must be establish in order to run this test.
 //Return true if it is ok to run the test.
 //This property may be completely omitted in which case the test will always be run.
 return true;
 }

});
&lt;/pre&gt;&lt;br /&gt;The license header is the copyright notice and New BSD license text. &lt;br /&gt;Be sure to fill in the actual year and name of the copyright holder.&lt;br /&gt;&lt;br /&gt;The test registration is a JavaScript function call of the form:&lt;br /&gt;&lt;pre&gt;
   ES5Harness.registerTest( testObject);
&lt;/pre&gt; &lt;b&gt;ES5Harness&lt;/b&gt; is the global name of the test harness and &lt;b&gt;registerTest&lt;/b&gt; is the method that is used to register tests. &lt;br /&gt;The argument is an object that defines an individual test. Normally the argument &lt;i&gt;testObject&lt;/i&gt;is an object literal. &lt;br /&gt;&lt;br /&gt;A test case object has the following properties:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;id&lt;/b&gt;:  A string containing the name of this test file using the above naming conventions. The file extension is not included in the id.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;path&lt;/b&gt;:  A string containing the relative directory path of this test starting at TestCases.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;description&lt;/b&gt;: A string describing the purpose of this test.&amp;amp;nbsp; It is used to generate test reports.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;test&lt;/b&gt;: A function that performs the actual test. The test harness will call this function to execute the test.&amp;amp;nbsp; It must return true if the test  passes. Any other return value indicates a failed test. The test function is called as a method with its this value set to its defining test case object.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;precondition&lt;/b&gt;: (Optional) A function that is called before the test function to see if it is ok to run the test.&amp;amp;nbsp; If all preconditions necessary to run the test are established it should return true. If it returns , the test will not be run.&amp;amp;nbsp; The precondition function is called as a  method with its this value set to its defining test case object. This property is  optional. If it is not present, the test function will always be executed.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;A text case object may also define other properties.  The test case file may also contain additional global code and declarations. However, this is not recommended unless necessary for creating a test relating  to global access. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Tue, 30 Jun 2009 00:32:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: testOrg 20090630123231A</guid></item><item><title>Updated Wiki: testOrg</title><link>http://es5conform.codeplex.com/Wiki/View.aspx?title=testOrg&amp;version=9</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Test File Directory Hierarchy&lt;/h3&gt;&lt;hr /&gt;
With in the &lt;b&gt;TestCases&lt;/b&gt; directory individual tests are organized into subdirectories corresponding to chapters (top level section numbers) of the ECMAScript 5 Specification.&lt;br /&gt;For Example:&lt;br /&gt;&lt;pre&gt;
TestCases
      chapter11
           11.1
           11.4
                  11.4.1
      chapter12
           12.10
      chapter13
&lt;/pre&gt;
&lt;h3&gt;Test File Naming Conventions&lt;/h3&gt;&lt;hr /&gt;
Individual test files have the following format:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;[&lt;b&gt;@&lt;/b&gt;&lt;i&gt;nnn&lt;/i&gt;][&lt;b&gt;-&lt;/b&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;]&lt;b&gt;-&lt;/b&gt;&lt;i&gt;testNumber&lt;/i&gt;[&lt;b&gt;-&lt;/b&gt;s][x].js&lt;br /&gt;&lt;br /&gt;Where:&lt;br /&gt;&lt;i&gt;sectionNumber&lt;/i&gt;: is the section number of the ECMAScript 5 Specification that this test is primarily concerned with.&lt;br /&gt;@&lt;i&gt;n&lt;/i&gt;:  is optional and used if a section contains more than one algorithm.  &lt;i&gt;n&lt;/i&gt; is ordinal number of the algorithm within the section.&lt;br /&gt;&lt;i&gt;algorithmStepNumber&lt;/i&gt;: is the step number within the algorithm that the rest relates to.  It is excluded for tests that relate to non-algorithmic sections of the specification.&lt;br /&gt;&lt;i&gt;testNumber&lt;/i&gt;: is present if there is more than one testcase for a particular algorithm step or non-algorithm specification section.&lt;br /&gt;-s: is an optional suffix -s that identifies that the test is only applies to strict mode&lt;br /&gt;x: is an optional suffix that identifies that the test intentionally contains something that should case a syntax error. Such tests are expected to not load correctly and if they do it load it is a test failure. The test function should not return true.&lt;br /&gt;
&lt;h3&gt;Test File Structure&lt;/h3&gt;&lt;hr /&gt;
Each testcase must be a single .js file.&lt;br /&gt;A testcase is made up of the following parts (1) license header (2) test registration call (3) test case object literal and looks like:&lt;br /&gt;&lt;pre&gt;
/// Copyright (c) &amp;lt;&amp;lt;year&amp;gt;&amp;gt; &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt;. 
/// 
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met: 
///    * Redistributions of source code must retain the above copyright notice, this list of conditions and
///      the following disclaimer. 
///    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and 
///      the following disclaimer in the documentation and/or other materials provided with the distribution.  
///    * Neither the name of &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; nor the names of its contributors may be used to
///      endorse or promote products derived from this software without specific prior written permission.
/// 
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;amp;quot;AS IS&amp;amp;quot; AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 


/* be sure to put your personal &amp;lt;&amp;lt;year&amp;gt;&amp;gt; and &amp;lt;&amp;lt;copyright owner&amp;gt;&amp;gt; information into the above header */
 

ES5Harness.registerTest( {
id: &amp;quot;sectionNumber[@nnn][-algorithmStepNumber]-testNumber[-s]&amp;quot;,  //put a unique test id here

path: &amp;quot;TestCases/testTemplate.js&amp;quot;,    //the directory path of this test starting at TestCases

description: 'Insert text descripting the test here',

test: function testcase() {
  //Add test code here, return true if test passes
 }

precondition: function precond() {
 //Add code to test any preconditions that must be establish in order to run this test.
 //Return true if it is ok to run the test.
 //This property may be completely omitted in which case the test will always be run.
 return true;
 }

});
&lt;/pre&gt;&lt;br /&gt;The license header is the copyright notice and New BSD license text. &lt;br /&gt;Be sure to fill in the actual year and name of the copyright holder.&lt;br /&gt;&lt;br /&gt;The test registration is a JavaScript function call of the form:&lt;br /&gt;&lt;pre&gt;
   ES5Harness.registerTest( testObject);
&lt;/pre&gt; &lt;b&gt;ES5Harness&lt;/b&gt; is the global name of the test harness and &lt;b&gt;registerTest&lt;/b&gt; is the method that is used to register tests. &lt;br /&gt;The argument is an object that defines an individual test. Normally the argument &lt;i&gt;testObject&lt;/i&gt;is an object literal. &lt;br /&gt;&lt;br /&gt;A test case object has the following properties:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;id&lt;/b&gt;:  A string containing the name of this test file using the above naming conventions. The file extension is not included in the id.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;path&lt;/b&gt;:  A string containing the relative directory path of this test starting at TestCases.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;description&lt;/b&gt;: A string describing the purpose of this test.&amp;amp;nbsp; It is used to generate test reports.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;test&lt;/b&gt;: A function that performs the actual test. The test harness will call this function to execute the test.&amp;amp;nbsp; It must return true if the test  passes. Any other return value indicates a failed test. The test function is called as a method with its this value set to its defining test case object.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;precondition&lt;/b&gt;: (Optional) A function that is called before the test function to see if it is ok to run the test.&amp;amp;nbsp; If all preconditions necessary to run the test are established it should return true. If it returns , the test will not be run.&amp;amp;nbsp; The precondition function is called as a  method with its this value set to its defining test case object. This property is  optional. If it is not present, the test function will always be executed.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;A text case object may also define other properties.  The test case file may also contain additional global code and declarations. However, this is not recommended unless necessary for creating a test relating  to global access. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><author>allenwb</author><pubDate>Sun, 28 Jun 2009 00:22:37 GMT</pubDate><guid isPermaLink="false">Updated Wiki: testOrg 20090628122237A</guid></item></channel></rss>