Remove unused harness file

The harness file `Test262Error.js` has not contained executable code since it
was introduced in this project [1]. The definition of the `Test262Error`
function has consistently been located in the `sta.js` harness file which test
runners are expected to inject into the test environment.

Remove the file and all references to it.

[1] See commit c33bf0e043
This commit is contained in:
Mike Pennisi 2016-02-12 13:10:27 -05:00
parent 5cb97c293b
commit 071b5f03c6
42 changed files with 0 additions and 57 deletions

View File

@ -1,7 +0,0 @@
//function Test262Error(message) {
// if (message) this.message = message;
//}
//
//Test262Error.prototype.toString = function () {
// return "Test262 Error: " + this.message;
//};

View File

@ -5,8 +5,6 @@
info: Since Error prototype object is not function it has no [[Call]] method info: Since Error prototype object is not function it has no [[Call]] method
es5id: 15.11.4_A3 es5id: 15.11.4_A3
description: Checking if call of Error prototype as a function fails description: Checking if call of Error prototype as a function fails
includes:
- Test262Error.js
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -5,8 +5,6 @@
info: Since Error prototype object is not function it has no [[Construct]] method info: Since Error prototype object is not function it has no [[Construct]] method
es5id: 15.11.4_A4 es5id: 15.11.4_A4
description: Checking if creating "new Error.prototype" fails description: Checking if creating "new Error.prototype" fails
includes:
- Test262Error.js
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -4,7 +4,6 @@
es6id: 9.5.13 es6id: 9.5.13
description: > description: >
Return is an abrupt completion Return is an abrupt completion
includes: [Test262Error.js]
---*/ ---*/
var target = function(a, b) { return a + b; }; var target = function(a, b) { return a + b; };

View File

@ -9,7 +9,6 @@ info: >
9. Let newObj be Call(trap, handler, «target, argArray, newTarget »). 9. Let newObj be Call(trap, handler, «target, argArray, newTarget »).
10. ReturnIfAbrupt(newObj). 10. ReturnIfAbrupt(newObj).
includes: [Test262Error.js]
---*/ ---*/
function Target() {} function Target() {}

View File

@ -12,7 +12,6 @@ info: >
descObj»)). descObj»)).
11. ReturnIfAbrupt(booleanTrapResult). 11. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -7,7 +7,6 @@ description: >
info: > info: >
9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P»)). 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P»)).
10. ReturnIfAbrupt(booleanTrapResult). 10. ReturnIfAbrupt(booleanTrapResult).
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -9,7 +9,6 @@ info: >
8. Let trapResult be Call(trap, handler, «target»). 8. Let trapResult be Call(trap, handler, «target»).
9. ReturnIfAbrupt(trapResult). 9. ReturnIfAbrupt(trapResult).
includes: [Test262Error.js]
---*/ ---*/
var x; var x;

View File

@ -9,7 +9,6 @@ info: >
9. Let trapResult be Call(trap, handler, «target, P, Receiver»). 9. Let trapResult be Call(trap, handler, «target, P, Receiver»).
10. ReturnIfAbrupt(trapResult). 10. ReturnIfAbrupt(trapResult).
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -11,7 +11,6 @@ info: >
9. Let trapResultObj be Call(trap, handler, «target, P»). 9. Let trapResultObj be Call(trap, handler, «target, P»).
10. ReturnIfAbrupt(trapResultObj). 10. ReturnIfAbrupt(trapResultObj).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -7,7 +7,6 @@ description: >
info: > info: >
8. Let handlerProto be Call(trap, handler, «target»). 8. Let handlerProto be Call(trap, handler, «target»).
9. ReturnIfAbrupt(handlerProto). 9. ReturnIfAbrupt(handlerProto).
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -11,7 +11,6 @@ info: >
9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P»)). 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P»)).
10. ReturnIfAbrupt(booleanTrapResult). 10. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -12,7 +12,6 @@ info: >
10. ReturnIfAbrupt(booleanTrapResult). 10. ReturnIfAbrupt(booleanTrapResult).
... ...
flags: [noStrict] flags: [noStrict]
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -11,7 +11,6 @@ info: >
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)). 8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
9. ReturnIfAbrupt(booleanTrapResult). 9. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -14,7 +14,6 @@ info: >
1. ReturnIfAbrupt(obj). 1. ReturnIfAbrupt(obj).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -11,7 +11,6 @@ info: >
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)). 8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
9. ReturnIfAbrupt(booleanTrapResult). 9. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -11,7 +11,6 @@ info: >
9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P, V, Receiver»)). 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P, V, Receiver»)).
10. ReturnIfAbrupt(booleanTrapResult). 10. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -9,7 +9,6 @@ info: >
9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, V»)). 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, V»)).
10. ReturnIfAbrupt(booleanTrapResult). 10. ReturnIfAbrupt(booleanTrapResult).
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {

View File

@ -5,8 +5,6 @@
info: String.fromCharCode has not [[construct]] method info: String.fromCharCode has not [[construct]] method
es5id: 15.5.3.2_A4 es5id: 15.5.3.2_A4
description: Checking if creating "new String.fromCharCode" fails description: Checking if creating "new String.fromCharCode" fails
includes:
- Test262Error.js
---*/ ---*/
var __fcc__func = String.fromCharCode; var __fcc__func = String.fromCharCode;

View File

@ -5,8 +5,6 @@
info: String.prototype.charCodeAt can't be used as constructor info: String.prototype.charCodeAt can't be used as constructor
es5id: 15.5.4.5_A7 es5id: 15.5.4.5_A7
description: Checking if creating the String.prototype.charCodeAt object fails description: Checking if creating the String.prototype.charCodeAt object fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.charCodeAt; var __FACTORY = String.prototype.charCodeAt;

View File

@ -5,8 +5,6 @@
info: String.prototype.concat can't be used as constructor info: String.prototype.concat can't be used as constructor
es5id: 15.5.4.6_A7 es5id: 15.5.4.6_A7
description: Checking if creating the String.prototype.concat object fails description: Checking if creating the String.prototype.concat object fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.concat; var __FACTORY = String.prototype.concat;

View File

@ -7,8 +7,6 @@ es5id: 15.5.4.9_A7
description: > description: >
Checking if creating the String.prototype.localeCompare object Checking if creating the String.prototype.localeCompare object
fails fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.localeCompare; var __FACTORY = String.prototype.localeCompare;

View File

@ -5,8 +5,6 @@
info: String.prototype.match can't be used as constructor info: String.prototype.match can't be used as constructor
es5id: 15.5.4.10_A7 es5id: 15.5.4.10_A7
description: Checking if creating "String.prototype.match object" fails description: Checking if creating "String.prototype.match object" fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.match; var __FACTORY = String.prototype.match;

View File

@ -5,8 +5,6 @@
info: String.prototype.replace can't be used as constructor info: String.prototype.replace can't be used as constructor
es5id: 15.5.4.11_A7 es5id: 15.5.4.11_A7
description: Checking if creating the String.prototype.replace object fails description: Checking if creating the String.prototype.replace object fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.replace; var __FACTORY = String.prototype.replace;

View File

@ -5,8 +5,6 @@
info: String.prototype.split can't be used as constructor info: String.prototype.split can't be used as constructor
es5id: 15.5.4.14_A7 es5id: 15.5.4.14_A7
description: Checking if creating the String.prototype.split object fails description: Checking if creating the String.prototype.split object fails
includes:
- Test262Error.js
---*/ ---*/
var __FACTORY = String.prototype.split; var __FACTORY = String.prototype.split;

View File

@ -5,7 +5,6 @@
info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1 info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1
es5id: 15.1.3.1_A2.2_T1 es5id: 15.1.3.1_A2.2_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -7,7 +7,6 @@ info: >
B1 = [0xC0, 0xC1], return UTF8(B1, B2) B1 = [0xC0, 0xC1], return UTF8(B1, B2)
es5id: 15.1.3.1_A2.3_T1 es5id: 15.1.3.1_A2.3_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -8,7 +8,6 @@ info: >
0xDFFF), return UTF8(B1, B2, B3) 0xDFFF), return UTF8(B1, B2, B3)
es5id: 15.1.3.1_A2.4_T1 es5id: 15.1.3.1_A2.4_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -8,7 +8,6 @@ info: >
return UTF8(B1, B2, B3, B4) return UTF8(B1, B2, B3, B4)
es5id: 15.1.3.1_A2.5_T1 es5id: 15.1.3.1_A2.5_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -5,7 +5,6 @@
info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1 info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1
es5id: 15.1.3.2_A2.2_T1 es5id: 15.1.3.2_A2.2_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -7,7 +7,6 @@ info: >
B1 = [0xC0, 0xC1], return UTF8(B1, B2) B1 = [0xC0, 0xC1], return UTF8(B1, B2)
es5id: 15.1.3.2_A2.3_T1 es5id: 15.1.3.2_A2.3_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -8,7 +8,6 @@ info: >
0xDFFF), return UTF8(B1, B2, B3) 0xDFFF), return UTF8(B1, B2, B3)
es5id: 15.1.3.2_A2.4_T1 es5id: 15.1.3.2_A2.4_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -8,7 +8,6 @@ info: >
return UTF8(B1, B2, B3, B4) return UTF8(B1, B2, B3, B4)
es5id: 15.1.3.2_A2.5_T1 es5id: 15.1.3.2_A2.5_T1
description: Complex tests, use RFC 3629 description: Complex tests, use RFC 3629
includes: [Test262Error.js]
---*/ ---*/
var errorCount = 0; var errorCount = 0;

View File

@ -7,7 +7,6 @@ info: >
evaluated first and only after it is done Expression is checked evaluated first and only after it is done Expression is checked
es5id: 12.6.1_A2 es5id: 12.6.1_A2
description: Evaluating Statement with error Expression description: Evaluating Statement with error Expression
includes: [Test262Error.js]
---*/ ---*/
var __in__do; var __in__do;

View File

@ -5,7 +5,6 @@
info: "\"do-while\" Statement is evaluated without syntax checks" info: "\"do-while\" Statement is evaluated without syntax checks"
es5id: 12.6.1_A9 es5id: 12.6.1_A9
description: Throwing system exception whithin a "do-while" loop description: Throwing system exception whithin a "do-while" loop
includes: [Test262Error.js]
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -8,7 +8,6 @@ info: >
if Result.type is returned then Result.value is returned too if Result.type is returned then Result.value is returned too
es5id: 13.2.1_A7_T3 es5id: 13.2.1_A7_T3
description: Returning number. Declaring a function with "function __func()" description: Returning number. Declaring a function with "function __func()"
includes: [Test262Error.js]
flags: [noStrict] flags: [noStrict]
---*/ ---*/

View File

@ -8,7 +8,6 @@ info: >
if Result.type is returned then Result.value is returned too if Result.type is returned then Result.value is returned too
es5id: 13.2.1_A7_T4 es5id: 13.2.1_A7_T4
description: Returning boolean. Declaring a function with "function __func()" description: Returning boolean. Declaring a function with "function __func()"
includes: [Test262Error.js]
---*/ ---*/
function __func(){ function __func(){

View File

@ -9,7 +9,6 @@ es5id: 13.2.2_A11
description: > description: >
Calling a function as a constructor after it has been declared Calling a function as a constructor after it has been declared
with "function func()" with "function func()"
includes: [Test262Error.js]
---*/ ---*/
function FACTORY(){ function FACTORY(){

View File

@ -9,7 +9,6 @@ es5id: 13.2.2_A13
description: > description: >
Calling a function as a constructor after it has been declared by Calling a function as a constructor after it has been declared by
eval eval
includes: [Test262Error.js]
---*/ ---*/
function FACTORY(){ function FACTORY(){

View File

@ -7,7 +7,6 @@ info: >
this.any_Function is called before it is declared this.any_Function is called before it is declared
es5id: 13.2.2_A9 es5id: 13.2.2_A9
description: Calling a function as a constructor description: Calling a function as a constructor
includes: [Test262Error.js]
---*/ ---*/
function FACTORY(){ function FACTORY(){

View File

@ -5,7 +5,6 @@
info: "\"while\" Statement is evaluated without syntax checks" info: "\"while\" Statement is evaluated without syntax checks"
es5id: 12.6.2_A9 es5id: 12.6.2_A9
description: Throwing system exception inside "while" loop description: Throwing system exception inside "while" loop
includes: [Test262Error.js]
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -7,7 +7,6 @@ description: >
Strict Mode - 'runtime' error is thrown before LeftHandSide Strict Mode - 'runtime' error is thrown before LeftHandSide
evaluates to an unresolvable Reference evaluates to an unresolvable Reference
flags: [onlyStrict] flags: [onlyStrict]
includes: [Test262Error.js]
---*/ ---*/
assert.throws(Test262Error, function() { assert.throws(Test262Error, function() {