Skip to content
Snippets Groups Projects
Commit 071b5f03 authored by Mike Pennisi's avatar Mike Pennisi
Browse files

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 c33bf0e0
parent 5cb97c29
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 30 deletions
//function Test262Error(message) {
// if (message) this.message = message;
//}
//
//Test262Error.prototype.toString = function () {
// return "Test262 Error: " + this.message;
//};
...@@ -5,8 +5,6 @@ ...@@ -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
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
......
...@@ -5,8 +5,6 @@ ...@@ -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
---*/ ---*/
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
......
...@@ -4,7 +4,6 @@ ...@@ -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; };
......
...@@ -9,7 +9,6 @@ info: > ...@@ -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() {}
......
...@@ -12,7 +12,6 @@ info: > ...@@ -12,7 +12,6 @@ info: >
descObj»)). descObj»)).
11. ReturnIfAbrupt(booleanTrapResult). 11. ReturnIfAbrupt(booleanTrapResult).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {
......
...@@ -7,7 +7,6 @@ description: > ...@@ -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({}, {
......
...@@ -9,7 +9,6 @@ info: > ...@@ -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;
......
...@@ -9,7 +9,6 @@ info: > ...@@ -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({}, {
......
...@@ -11,7 +11,6 @@ info: > ...@@ -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({}, {
......
...@@ -7,7 +7,6 @@ description: > ...@@ -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({}, {
......
...@@ -11,7 +11,6 @@ info: > ...@@ -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({}, {
......
...@@ -12,7 +12,6 @@ info: > ...@@ -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({}, {
......
...@@ -11,7 +11,6 @@ info: > ...@@ -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({}, {
......
...@@ -14,7 +14,6 @@ info: > ...@@ -14,7 +14,6 @@ info: >
1. ReturnIfAbrupt(obj). 1. ReturnIfAbrupt(obj).
... ...
includes: [Test262Error.js]
---*/ ---*/
var p = new Proxy({}, { var p = new Proxy({}, {
......
...@@ -11,7 +11,6 @@ info: > ...@@ -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({}, {
......
...@@ -11,7 +11,6 @@ info: > ...@@ -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({}, {
......
...@@ -9,7 +9,6 @@ info: > ...@@ -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({}, {
......
...@@ -5,8 +5,6 @@ ...@@ -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;
......
...@@ -5,8 +5,6 @@ ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment