Sputnik tests were previously modified to ensure global objects with common names (e.g., 'obj')

were actually unique across the test cases.  This *was* needed prior to November as we weren't
running each test case in it's own private global environment.  The situation now is that
we're running each test within it's own iframe => the modifications are no longer needed.

Few small improvements to SputnikConverter:
- App.config file locations have been fixed
- template files get pushed alongside generated tool binaries
- the root path for Sputnik conformance files is "Conformance", not "tests"
- allow the main exe to throw exceptions so they can be properly debugged with VS
This commit is contained in:
David Fugate 2011-02-10 17:58:47 -08:00
parent bd20fef7a1
commit d3d9d28c18
126 changed files with 556 additions and 536 deletions

View File

@ -20,7 +20,12 @@ description: "IdentifierPart :: \\u0067 (g)",
test: function testcase() {
//CHECK#1
var regexp = /(?:)/\u0067;
//Test262 Change
//var regexp = /(?:)/\u0067;
var regexp;
eval('regexp = /(?:)/\\u0067;');
if (regexp.global !== true) {
$ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global));
}

View File

@ -20,7 +20,13 @@ description: "IdentifierPart :: \\u0069 (i)",
test: function testcase() {
//CHECK#1
var regexp = /(?:)/\u0069;
//Test262 Change
//var regexp = /(?:)/\u0069;
var regexp;
eval('regexp = /(?:)/\\u0069;');
if (regexp.ignoreCase !== true) {
$ERROR('#1: var regexp = /(?:)/\\u0069; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
}

View File

@ -20,7 +20,12 @@ description: "IdentifierPart :: \\u006D (m)",
test: function testcase() {
//CHECK#1
var regexp = /(?:)/\u006D;
//Test262 Change
//var regexp = /(?:)/\u006D;
var regexp;
eval('regexp = /(?:)/\\u006D;');
if (regexp.multiline !== true) {
$ERROR('#1: var regexp = /(?:)/\\u006D; regexp.multiline === true. Actual: ' + (regexp.multiline));
}

View File

@ -19,14 +19,14 @@ path: "8.3",
description: "Assign true and false to variables",
test: function testcase() {
if (S8_3_A1_T1_x == undefined) {
$ERROR("S8_3_A1_T1_x == undefined, but actual is " + S8_3_A1_T1_x);
if (x == undefined) {
$ERROR("x == undefined, but actual is "+ x);
}
////////////////////////////////////////////////////////////////////////
// CHECK#1
var S8_3_A1_T1_x = true;
var S8_3_A1_T1_y = false;
var x = true;
var y = false;
//
////////////////////////////////////////////////////////////////////////

View File

@ -22,16 +22,16 @@ description: "Execute this.x++, where this.x is undefined",
test: function testcase() {
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (this.S8_7_2_A3_x !== undefined) {
$ERROR('#1: this.S8_7_2_A3_x === undefined. Actual: ' + (this.S8_7_2_A3_x));
if (this.x !== undefined) {
$ERROR('#1: this.x === undefined. Actual: ' + (this.x));
}
//
//////////////////////////////////////////////////////////////////////////////
this.S8_7_2_A3_x++;
this.x++;
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (S8_7_2_A3_x === undefined) {
$ERROR('#2: this.S8_7_2_A3_x; this.S8_7_2_A3_x++; S8_7_2_A3_x !== undefined');
if (x === undefined) {
$ERROR('#2: this.x; this.x++; x !== undefined');
}
//
//////////////////////////////////////////////////////////////////////////////

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_10_1_A2_1_T2_x & 1;
$ERROR('#1.1: S11_10_1_A2_1_T2_x & 1 throw ReferenceError. Actual: ' + (S11_10_1_A2_1_T2_x & 1));
x & 1;
$ERROR('#1.1: x & 1 throw ReferenceError. Actual: ' + (x & 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_1_A2_1_T2_x & 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x & 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 & S11_10_1_A2_1_T3_y;
$ERROR('#1.1: 1 & y throw ReferenceError. Actual: ' + (1 & S11_10_1_A2_1_T3_y));
1 & y;
$ERROR('#1.1: 1 & y throw ReferenceError. Actual: ' + (1 & y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 & S11_10_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 & y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_10_1_A2_4_T3_x & (S11_10_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_10_1_A2_4_T3_x & (S11_10_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_10_1_A2_4_T3_x & (S11_10_1_A2_4_T3_x = 1)));
x & (x = 1);
$ERROR('#1.1: x & (x = 1) throw ReferenceError. Actual: ' + (x & (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_1_A2_4_T3_x & (S11_10_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x & (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_10_1_A2_4_T3_y = 1) & S11_10_1_A2_4_T3_y) !== 1) {
$ERROR('#2: ((S11_10_1_A2_4_T3_y = 1) & S11_10_1_A2_4_T3_y) === 1. Actual: ' + (((S11_10_1_A2_4_T3_y = 1) & S11_10_1_A2_4_T3_y)));
if (((y = 1) & y) !== 1) {
$ERROR('#2: ((y = 1) & y) === 1. Actual: ' + (((y = 1) & y)));
}

View File

@ -22,12 +22,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_10_2_A2_1_T2_x ^ 1;
$ERROR('#1.1: S11_10_2_A2_1_T2_x ^ 1 throw ReferenceError. Actual: ' + (S11_10_2_A2_1_T2_x ^ 1));
x ^ 1;
$ERROR('#1.1: x ^ 1 throw ReferenceError. Actual: ' + (x ^ 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_2_A2_1_T2_x ^ 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x ^ 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 ^ S11_10_2_A2_1_T3_y;
$ERROR('#1.1: 1 ^ S11_10_2_A2_1_T3_y throw ReferenceError. Actual: ' + (1 ^ S11_10_2_A2_1_T3_y));
1 ^ y;
$ERROR('#1.1: 1 ^ y throw ReferenceError. Actual: ' + (1 ^ y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 ^ S11_10_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 ^ y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_10_2_A2_4_T3_x ^ (S11_10_2_A2_4_T3_x = 1);
$ERROR('#1.1: S11_10_2_A2_4_T3_x ^ (S11_10_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_10_2_A2_4_T3_x ^ (S11_10_2_A2_4_T3_x = 1)));
x ^ (x = 1);
$ERROR('#1.1: x ^ (x = 1) throw ReferenceError. Actual: ' + (x ^ (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_2_A2_4_T3_x ^ (S11_10_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x ^ (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_10_2_A2_4_T3_y = 1) ^ S11_10_2_A2_4_T3_y) !== 0) {
$ERROR('#2: ((S11_10_2_A2_4_T3_y = 1) ^ S11_10_2_A2_4_T3_y) === 0. Actual: ' + (((S11_10_2_A2_4_T3_y = 1) ^ S11_10_2_A2_4_T3_y)));
if (((y = 1) ^ y) !== 0) {
$ERROR('#2: ((y = 1) ^ y) === 0. Actual: ' + (((y = 1) ^ y)));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_10_3_A2_1_T2_x | 1;
$ERROR('#1.1: S11_10_3_A2_1_T2_x | 1 throw ReferenceError. Actual: ' + (S11_10_3_A2_1_T2_x | 1));
x | 1;
$ERROR('#1.1: x | 1 throw ReferenceError. Actual: ' + (x | 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_3_A2_1_T2_x | 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x | 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 | S11_10_3_A2_1_T3_y;
$ERROR('#1.1: 1 | S11_10_3_A2_1_T3_y throw ReferenceError. Actual: ' + (1 | S11_10_3_A2_1_T3_y));
1 | y;
$ERROR('#1.1: 1 | y throw ReferenceError. Actual: ' + (1 | y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 | S11_10_3_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 | y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_10_3_A2_4_T3_x | (S11_10_3_A2_4_T3_x = 1);
$ERROR('#1.1: S11_10_3_A2_4_T3_x | (S11_10_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_10_3_A2_4_T3_x | (S11_10_3_A2_4_T3_x = 1)));
x | (x = 1);
$ERROR('#1.1: x | (x = 1) throw ReferenceError. Actual: ' + (x | (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_10_3_A2_4_T3_x | (S11_10_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x | (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_10_3_A2_4_T3_y = 1) | S11_10_3_A2_4_T3_y) !== 1) {
$ERROR('#2: ((S11_10_3_A2_4_T3_y = 1) | S11_10_3_A2_4_T3_y) === 1. Actual: ' + (((S11_10_3_A2_4_T3_y = 1) | S11_10_3_A2_4_T3_y)));
if (((y = 1) | y) !== 1) {
$ERROR('#2: ((y = 1) | y) === 1. Actual: ' + (((y = 1) | y)));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_11_1_A2_1_T2_x && true;
$ERROR('#1.1: S11_11_1_A2_1_T2_x && true throw ReferenceError. Actual: ' + (S11_11_1_A2_1_T2_x && true));
x && true;
$ERROR('#1.1: x && true throw ReferenceError. Actual: ' + (x && true));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_11_1_A2_1_T2_x && true throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x && true throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceErr
test: function testcase() {
//CHECK#1
try {
true && S11_11_1_A2_1_T3_y;
$ERROR('#1.1: true && S11_11_1_A2_1_T3_y throw ReferenceError. Actual: ' + (true && S11_11_1_A2_1_T3_y));
true && y;
$ERROR('#1.1: true && y throw ReferenceError. Actual: ' + (true && y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: true && S11_11_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: true && y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_11_1_A2_4_T3_x && (S11_11_1_A2_4_T3_x = true);
$ERROR('#1.1: x && (S11_11_1_A2_4_T3_x = true) throw ReferenceError. Actual: ' + (S11_11_1_A2_4_T3_x && (S11_11_1_A2_4_T3_x = true)));
x && (x = true);
$ERROR('#1.1: x && (x = true) throw ReferenceError. Actual: ' + (x && (x = true)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_11_1_A2_4_T3_x && (S11_11_1_A2_4_T3_x = true) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x && (x = true) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_11_1_A2_4_T3_y = true) && S11_11_1_A2_4_T3_y) !== true) {
$ERROR('#2: ((S11_11_1_A2_4_T3_y = true) && S11_11_1_A2_4_T3_y) === true');
if (((y = true) && y) !== true) {
$ERROR('#2: ((y = true) && y) === true');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_11_2_A2_1_T2_x || true;
$ERROR('#1.1: S11_11_2_A2_1_T2_x || true throw ReferenceError. Actual: ' + (S11_11_2_A2_1_T2_x || true));
x || true;
$ERROR('#1.1: x || true throw ReferenceError. Actual: ' + (x || true));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_11_2_A2_1_T2_x || true throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x || true throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If ToBoolean(x) is false and GetBase(y) is null, throw ReferenceEr
test: function testcase() {
//CHECK#1
try {
false || S11_11_2_A2_1_T3_y;
$ERROR('#1.1: false || S11_11_2_A2_1_T3_y throw ReferenceError. Actual: ' + (false || S11_11_2_A2_1_T3_y));
false || y;
$ERROR('#1.1: false || y throw ReferenceError. Actual: ' + (false || y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: false || S11_11_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: false || y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_11_2_A2_4_T3_x || (S11_11_2_A2_4_T3_x = true);
$ERROR('#1.1: S11_11_2_A2_4_T3_x || (S11_11_2_A2_4_T3_x = true) throw ReferenceError. Actual: ' + (S11_11_2_A2_4_T3_x || (S11_11_2_A2_4_T3_x = true)));
x || (x = true);
$ERROR('#1.1: x || (x = true) throw ReferenceError. Actual: ' + (x || (x = true)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_11_2_A2_4_T3_x || (S11_11_2_A2_4_T3_x = true) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x || (x = true) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_11_2_A2_4_T3_y = true) || S11_11_2_A2_4_T3_y) !== true) {
$ERROR('#2: ((S11_11_2_A2_4_T3_y = true) || S11_11_2_A2_4_T3_y) === true');
if (((y = true) || y) !== true) {
$ERROR('#2: ((y = true) || y) === true');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_12_A2_1_T2_x ? true : false;
$ERROR('#1.1: S11_12_A2_1_T2_x ? true : false throw ReferenceError. Actual: ' + (S11_12_A2_1_T2_x ? true : false));
x ? true : false;
$ERROR('#1.1: x ? true : false throw ReferenceError. Actual: ' + (x ? true : false));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_12_A2_1_T2_x ? true : false throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x ? true : false throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceErr
test: function testcase() {
//CHECK#1
try {
true ? S11_12_A2_1_T3_y : false;
$ERROR('#1.1: true ? S11_12_A2_1_T3_y : false throw ReferenceError. Actual: ' + (true ? S11_12_A2_1_T3_y : false));
true ? y : false;
$ERROR('#1.1: true ? y : false throw ReferenceError. Actual: ' + (true ? y : false));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: true ? S11_12_A2_1_T3_y : false throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: true ? y : false throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If ToBoolean(x) is false and GetBase(z) is null, throw ReferenceEr
test: function testcase() {
//CHECK#1
try {
false ? true : S11_12_A2_1_T4_z;
$ERROR('#1.1: false ? true : S11_12_A2_1_T4_z throw ReferenceError. Actual: ' + (false ? true : S11_12_A2_1_T4_z));
false ? true : z;
$ERROR('#1.1: false ? true : z throw ReferenceError. Actual: ' + (false ? true : z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: false ? true : S11_12_A2_1_T4_z throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: false ? true : z throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(AssigmentExpression) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_13_1_A2_1_T2_x = S11_13_1_A2_1_T2_y;
$ERROR('#1.1: S11_13_1_A2_1_T2_x = S11_13_1_A2_1_T2_y throw ReferenceError. Actual: ' + (S11_13_1_A2_1_T2_x = S11_13_1_A2_1_T2_y));
x = y;
$ERROR('#1.1: x = y throw ReferenceError. Actual: ' + (x = y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_1_A2_1_T2_x = S11_13_1_A2_1_T2_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x = y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,11 +21,11 @@ description: "Syntax check if \"x = x\" throws ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_13_1_A4_T2_x = S11_13_1_A4_T2_x;
$ERROR('#1.1: S11_13_1_A4_T2_x = S11_13_1_A4_T2_x throw ReferenceError. Actual: ' + (S11_13_1_A4_T2_x = S11_13_1_A4_T2_x));
x = x;
$ERROR('#1.1: x = x throw ReferenceError. Actual: ' + (x = x));
} catch(e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_1_A4_T2_x = S11_13_1_A4_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x = x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x *= S11_13_2_A2_1_T2_1_y);
$ERROR('#1.1: var x = 1; x *= S11_13_2_A2_1_T2_1_y throw ReferenceError. Actual: ' + (z));
var z = (x *= y);
$ERROR('#1.1: var x = 1; x *= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x *= S11_13_2_A2_1_T2_1_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x *= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x ^= S11_13_2_A2_1_T2_10_y);
$ERROR('#1.1: var x = 1; x ^= S11_13_2_A2_1_T2_10_y throw ReferenceError. Actual: ' + (z));
var z = (x ^= y);
$ERROR('#1.1: var x = 1; x ^= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x ^= S11_13_2_A2_1_T2_10_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x ^= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x |= S11_13_2_A2_1_T2_11_y);
$ERROR('#1.1: var x = 1; x |= S11_13_2_A2_1_T2_11_y throw ReferenceError. Actual: ' + (z));
var z = (x |= y);
$ERROR('#1.1: var x = 1; x |= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x |= S11_13_2_A2_1_T2_11_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x |= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x /= S11_13_2_A2_1_T2_2_y);
$ERROR('#1.1: var x = 1; x /= S11_13_2_A2_1_T2_2_y throw ReferenceError. Actual: ' + (z));
var z = (x /= y);
$ERROR('#1.1: var x = 1; x /= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x /= S11_13_2_A2_1_T2_2_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x /= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x %= S11_13_2_A2_1_T2_3_y);
$ERROR('#1.1: var x = 1; x %= S11_13_2_A2_1_T2_3_y throw ReferenceError. Actual: ' + (z));
var z = (x %= y);
$ERROR('#1.1: var x = 1; x %= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x %= S11_13_2_A2_1_T2_3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x %= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x += S11_13_2_A2_1_T2_4_y);
$ERROR('#1.1: var x = 1; x += S11_13_2_A2_1_T2_4_y throw ReferenceError. Actual: ' + (z));
var z = (x += y);
$ERROR('#1.1: var x = 1; x += y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x += S11_13_2_A2_1_T2_4_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x += y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x -= S11_13_2_A2_1_T2_5_y);
$ERROR('#1.1: var x = 1; x -= S11_13_2_A2_1_T2_5_y throw ReferenceError. Actual: ' + (z));
var z = (x -= y);
$ERROR('#1.1: var x = 1; x -= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x -= S11_13_2_A2_1_T2_5_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x -= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x <<= S11_13_2_A2_1_T2_6_y);
$ERROR('#1.1: var x = 1; x <<= S11_13_2_A2_1_T2_6_y throw ReferenceError. Actual: ' + (z));
var z = (x <<= y);
$ERROR('#1.1: var x = 1; x <<= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x <<= S11_13_2_A2_1_T2_6_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x <<= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x >>= S11_13_2_A2_1_T2_7_y);
$ERROR('#1.1: var x = 1; x >>= S11_13_2_A2_1_T2_7_y throw ReferenceError. Actual: ' + (z));
var z = (x >>= y);
$ERROR('#1.1: var x = 1; x >>= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x >>= S11_13_2_A2_1_T2_7_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x >>= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x >>>= S11_13_2_A2_1_T2_8_y);
$ERROR('#1.1: var x = 1; x >>>= S11_13_2_A2_1_T2_8_y throw ReferenceError. Actual: ' + (z));
var z = (x >>>= y);
$ERROR('#1.1: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x >>>= S11_13_2_A2_1_T2_8_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x >>>= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -22,12 +22,12 @@ test: function testcase() {
//CHECK#1
try {
var x = 1;
var z = (x &= S11_13_2_A2_1_T2_9_y);
$ERROR('#1.1: var x = 1; x &= S11_13_2_A2_1_T2_9_y throw ReferenceError. Actual: ' + (z));
var z = (x &= y);
$ERROR('#1.1: var x = 1; x &= y throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: var x = 1; x &= S11_13_2_A2_1_T2_9_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: var x = 1; x &= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_1_x *= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_1_x *= 1 throw ReferenceError. Actual: ' + (z));
var z = (x *= 1);
$ERROR('#1.1: x *= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_1_x *= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x *= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_10_x ^= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_10_x ^= 1 throw ReferenceError. Actual: ' + (z));
var z = (x ^= 1);
$ERROR('#1.1: x ^= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_10_x ^= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x ^= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_11_x |= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_11_x |= 1 throw ReferenceError. Actual: ' + (z));
var z = (x |= 1);
$ERROR('#1.1: x |= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_11_x |= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x |= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_2_x /= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_2_x /= 1 throw ReferenceError. Actual: ' + (z));
var z = (x /= 1);
$ERROR('#1.1: x /= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_2_x /= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x /= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_3_x %= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_3_x %= 1 throw ReferenceError. Actual: ' + (z));
var z = (x %= 1);
$ERROR('#1.1: x %= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_3_x %= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x %= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_4_x += 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_4_x += 1 throw ReferenceError. Actual: ' + (z));
var z = (x += 1);
$ERROR('#1.1: x += 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_4_x += 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x += 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_5_x -= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_5_x -= 1 throw ReferenceError. Actual: ' + (z));
var z = (x -= 1);
$ERROR('#1.1: x -= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_5_x -= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x -= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_6_x <<= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_6_x <<= 1 throw ReferenceError. Actual: ' + (z));
var z = (x <<= 1);
$ERROR('#1.1: x <<= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_6_x <<= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x <<= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_7_x >>= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_7_x >>= 1 throw ReferenceError. Actual: ' + (z));
var z = (x >>= 1);
$ERROR('#1.1: x >>= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_7_x >>= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >>= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_8_x >>>= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_8_x >>>= 1 throw ReferenceError. Actual: ' + (z));
var z = (x >>>= 1);
$ERROR('#1.1: x >>>= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_8_x >>>= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >>>= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(LeftHandSideExpression) is null, throw ReferenceError.
test: function testcase() {
//CHECK#1
try {
var z = (S11_13_2_A2_1_T3_9_x &= 1);
$ERROR('#1.1: S11_13_2_A2_1_T3_9_x &= 1 throw ReferenceError. Actual: ' + (z));
var z = (x &= 1);
$ERROR('#1.1: x &= 1 throw ReferenceError. Actual: ' + (z));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_13_2_A2_1_T3_9_x &= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x &= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(Expression) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_14_A2_1_T2_x, 1;
$ERROR('#1.1: S11_14_A2_1_T2_x, 1 throw ReferenceError. Actual: ' + (S11_14_A2_1_T2_x, 1));
x, 1;
$ERROR('#1.1: x, 1 throw ReferenceError. Actual: ' + (x, 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_14_A2_1_T2_x, 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x, 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(AssigmentExpression) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1, S11_14_A2_1_T3_y;
$ERROR('#1.1: 1, S11_14_A2_1_T3_y throw ReferenceError. Actual: ' + (1, S11_14_A2_1_T3_y));
1, y;
$ERROR('#1.1: 1, y throw ReferenceError. Actual: ' + (1, y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1, S11_14_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1, y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -20,8 +20,8 @@ description: "Creating variables without defining it",
test: function testcase() {
//CHECK#1
if (this.S11_1_2_A1_T1_x !== undefined) {
$ERROR('#1: this.S11_1_2_A1_T1_x === undefined. Actual: ' + (this.S11_1_2_A1_T1_x));
if (this.x !== undefined) {
$ERROR('#1: this.x === undefined. Actual: ' + (this.x));
}
//CHECK#2
@ -31,9 +31,9 @@ if (object.prop !== undefined) {
}
//CHECK#3
this.S11_1_2_A1_T1_y++;
if (isNaN(S11_1_2_A1_T1_y) !== true) {
$ERROR('#3: this.S11_1_2_A1_T1_y++; S11_1_2_A1_T1_y === Not-a-Number. Actual: ' + (S11_1_2_A1_T1_y));
this.y++;
if (isNaN(y) !== true) {
$ERROR('#3: this.y++; y === Not-a-Number. Actual: ' + (y));
}
}

View File

@ -21,12 +21,12 @@ description: "Trying to generate ReferenceError",
test: function testcase() {
//CHECK#1
try {
this.S11_1_2_A1_T2_z;
S11_1_2_A1_T2_z;
$ERROR('#1.1: this.S11_1_2_A1_T2_z; S11_1_2_A1_T2_z === undefined throw ReferenceError. Actual: ' + (S11_1_2_A1_T2_z));
this.z;
z;
$ERROR('#1.1: this.z; z === undefined throw ReferenceError. Actual: ' + (z));
} catch(e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: this.S11_1_2_A1_T2_z; S11_1_2_A1_T2_z === undefined throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: this.z; z === undefined throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -27,12 +27,12 @@ test: function testcase() {
//CHECK#1
try {
f_arg(S11_2_4_A1_4_T2_x, S11_2_4_A1_4_T2_x = 1);
$ERROR('#1.1: function f_arg() {} f_arg(S11_2_4_A1_4_T2_x,S11_2_4_A1_4_T2_x=1) throw ReferenceError. Actual: ' + (f_arg(S11_2_4_A1_4_T2_x, S11_2_4_A1_4_T2_x = 1)));
f_arg(x,x=1);
$ERROR('#1.1: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (f_arg(x,x=1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: function f_arg() {} f_arg(S11_2_4_A1_4_T2_x,S11_2_4_A1_4_T2_x=1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: function f_arg() {} f_arg(x,x=1) throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_3_1_A2_1_T2_x++;
$ERROR('#1.1: S11_3_1_A2_1_T2_x++ throw ReferenceError. Actual: ' + (S11_3_1_A2_1_T2_x++));
x++;
$ERROR('#1.1: x++ throw ReferenceError. Actual: ' + (x++));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_3_1_A2_1_T2_x++ throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x++ throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_3_2_A2_1_T2_x--;
$ERROR('#1.1: S11_3_2_A2_1_T2_x-- throw ReferenceError. Actual: ' + (S11_3_2_A2_1_T2_x--));
x--;
$ERROR('#1.1: x-- throw ReferenceError. Actual: ' + (x--));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_3_2_A2_1_T2_x-- throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x-- throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
++S11_4_4_A2_1_T2_x;
$ERROR('#1.1: ++S11_4_4_A2_1_T2_x throw ReferenceError. Actual: ' + (++S11_4_4_A2_1_T2_x));
++x;
$ERROR('#1.1: ++x throw ReferenceError. Actual: ' + (++x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: ++S11_4_4_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: ++x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
--S11_4_5_A2_1_T2_x;
$ERROR('#1.1: --S11_4_5_A2_1_T2_x throw ReferenceError. Actual: ' + (--S11_4_5_A2_1_T2_x));
--x;
$ERROR('#1.1: --x throw ReferenceError. Actual: ' + (--x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: --S11_4_5_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: --x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
+S11_4_6_A2_1_T2_x;
$ERROR('#1.1: +S11_4_6_A2_1_T2_x throw ReferenceError. Actual: ' + (+S11_4_6_A2_1_T2_x));
+x;
$ERROR('#1.1: +x throw ReferenceError. Actual: ' + (+x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: +S11_4_6_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: +x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
-S11_4_7_A2_1_T2_x;
$ERROR('#1.1: -S11_4_7_A2_1_T2_x throw ReferenceError. Actual: ' + (-S11_4_7_A2_1_T2_x));
-x;
$ERROR('#1.1: -x throw ReferenceError. Actual: ' + (-x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: -S11_4_7_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: -x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
~S11_4_8_A2_1_T2_x;
$ERROR('#1.1: ~x throw ReferenceError. Actual: ' + (~S11_4_8_A2_1_T2_x));
~x;
$ERROR('#1.1: ~x throw ReferenceError. Actual: ' + (~x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: ~S11_4_8_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: ~x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
!S11_4_9_A2_1_T2_x;
$ERROR('#1.1: !S11_4_9_A2_1_T2_x throw ReferenceError. Actual: ' + (!S11_4_9_A2_1_T2_x));
!x;
$ERROR('#1.1: !x throw ReferenceError. Actual: ' + (!x));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: !S11_4_9_A2_1_T2_x throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: !x throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_5_1_A2_1_T2_x * 1;
$ERROR('#1.1: S11_5_1_A2_1_T2_x * 1 throw ReferenceError. Actual: ' + (S11_5_1_A2_1_T2_x * 1));
x * 1;
$ERROR('#1.1: x * 1 throw ReferenceError. Actual: ' + (x * 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_1_A2_1_T2_x * 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x * 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 * S11_5_1_A2_1_T3_y;
$ERROR('#1.1: 1 * S11_5_1_A2_1_T3_y throw ReferenceError. Actual: ' + (1 * S11_5_1_A2_1_T3_y));
1 * y;
$ERROR('#1.1: 1 * y throw ReferenceError. Actual: ' + (1 * y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 * S11_5_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 * y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_5_1_A2_4_T3_x * (S11_5_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_5_1_A2_4_T3_x * (S11_5_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_5_1_A2_4_T3_x * (S11_5_1_A2_4_T3_x = 1)));
x * (x = 1);
$ERROR('#1.1: x * (x = 1) throw ReferenceError. Actual: ' + (x * (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_1_A2_4_T3_x * (S11_5_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x * (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_5_1_A2_4_T3_y = 1) * S11_5_1_A2_4_T3_y !== 1) {
$ERROR('#2: (S11_5_1_A2_4_T3_y = 1) * S11_5_1_A2_4_T3_y === 1. Actual: ' + ((S11_5_1_A2_4_T3_y = 1) * S11_5_1_A2_4_T3_y));
if ((y = 1) * y !== 1) {
$ERROR('#2: (y = 1) * y === 1. Actual: ' + ((y = 1) * y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_5_2_A2_1_T2_x / 1;
$ERROR('#1.1: S11_5_2_A2_1_T2_x / 1 throw ReferenceError. Actual: ' + (S11_5_2_A2_1_T2_x / 1));
x / 1;
$ERROR('#1.1: x / 1 throw ReferenceError. Actual: ' + (x / 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_2_A2_1_T2_x / 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x / 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 / S11_5_2_A2_1_T3_y;
$ERROR('#1.1: 1 / S11_5_2_A2_1_T3_y throw ReferenceError. Actual: ' + (1 / S11_5_2_A2_1_T3_y));
1 / y;
$ERROR('#1.1: 1 / y throw ReferenceError. Actual: ' + (1 / y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 / S11_5_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 / y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_5_2_A2_4_T3_x / (S11_5_2_A2_4_T3_x = 1);
$ERROR('#1.1: S11_5_2_A2_4_T3_x / (S11_5_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_5_2_A2_4_T3_x / (S11_5_2_A2_4_T3_x = 1)));
x / (x = 1);
$ERROR('#1.1: x / (x = 1) throw ReferenceError. Actual: ' + (x / (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_2_A2_4_T3_x / (S11_5_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x / (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_5_2_A2_4_T3_y = 1) / S11_5_2_A2_4_T3_y !== 1) {
$ERROR('#2: (S11_5_2_A2_4_T3_y = 1) / S11_5_2_A2_4_T3_y === 1. Actual: ' + ((S11_5_2_A2_4_T3_y = 1) / S11_5_2_A2_4_T3_y));
if ((y = 1) / y !== 1) {
$ERROR('#2: (y = 1) / y === 1. Actual: ' + ((y = 1) / y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_5_3_A2_1_T2_x % 1;
$ERROR('#1.1: S11_5_3_A2_1_T2_x % 1 throw ReferenceError. Actual: ' + (S11_5_3_A2_1_T2_x % 1));
x % 1;
$ERROR('#1.1: x % 1 throw ReferenceError. Actual: ' + (x % 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_3_A2_1_T2_x % 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x % 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 % S11_5_3_A2_1_T3_y;
$ERROR('#1.1: 1 % S11_5_3_A2_1_T3_y throw ReferenceError. Actual: ' + (1 % S11_5_3_A2_1_T3_y));
1 % y;
$ERROR('#1.1: 1 % y throw ReferenceError. Actual: ' + (1 % y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 % S11_5_3_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 % y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_5_3_A2_4_T3_x % (S11_5_3_A2_4_T3_x = 1);
$ERROR('#1.1: S11_5_3_A2_4_T3_x % (S11_5_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_5_3_A2_4_T3_x % (S11_5_3_A2_4_T3_x = 1)));
x % (x = 1);
$ERROR('#1.1: x % (x = 1) throw ReferenceError. Actual: ' + (x % (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_5_3_A2_4_T3_x % (S11_5_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x % (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_5_3_A2_4_T3_y = 1) % S11_5_3_A2_4_T3_y !== 0) {
$ERROR('#2: (S11_5_3_A2_4_T3_y = 1) % S11_5_3_A2_4_T3_y === 0. Actual: ' + ((S11_5_3_A2_4_T3_y = 1) % S11_5_3_A2_4_T3_y));
if ((y = 1) % y !== 0) {
$ERROR('#2: (y = 1) % y === 0. Actual: ' + ((y = 1) % y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_6_1_A2_1_T2_x + 1;
$ERROR('#1.1: S11_6_1_A2_1_T2_x + 1 throw ReferenceError. Actual: ' + (S11_6_1_A2_1_T2_x + 1));
x + 1;
$ERROR('#1.1: x + 1 throw ReferenceError. Actual: ' + (x + 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_6_1_A2_1_T2_x + 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x + 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 + S11_6_1_A2_1_T3_y;
$ERROR('#1.1: 1 + S11_6_1_A2_1_T3_y throw ReferenceError. Actual: ' + (1 + S11_6_1_A2_1_T3_y));
1 + y;
$ERROR('#1.1: 1 + y throw ReferenceError. Actual: ' + (1 + y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 + S11_6_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 + y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_6_1_A2_4_T3_x + (S11_6_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_6_1_A2_4_T3_x + (S11_6_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_6_1_A2_4_T3_x + (S11_6_1_A2_4_T3_x = 1)));
x + (x = 1);
$ERROR('#1.1: x + (x = 1) throw ReferenceError. Actual: ' + (x + (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_6_1_A2_4_T3_x + (S11_6_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x + (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_6_1_A2_4_T3_y = 1) + S11_6_1_A2_4_T3_y !== 2) {
$ERROR('#2: (S11_6_1_A2_4_T3_y = 1) + S11_6_1_A2_4_T3_y === 2. Actual: ' + ((S11_6_1_A2_4_T3_y = 1) + S11_6_1_A2_4_T3_y));
if ((y = 1) + y !== 2) {
$ERROR('#2: (y = 1) + y === 2. Actual: ' + ((y = 1) + y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_6_2_A2_1_T2_x - 1;
$ERROR('#1.1: S11_6_2_A2_1_T2_x - 1 throw ReferenceError. Actual: ' + (S11_6_2_A2_1_T2_x - 1));
x - 1;
$ERROR('#1.1: x - 1 throw ReferenceError. Actual: ' + (x - 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_6_2_A2_1_T2_x - 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x - 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 - S11_6_2_A2_1_T3_y;
$ERROR('#1.1: 1 - S11_6_2_A2_1_T3_y throw ReferenceError. Actual: ' + (1 - S11_6_2_A2_1_T3_y));
1 - y;
$ERROR('#1.1: 1 - y throw ReferenceError. Actual: ' + (1 - y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 - S11_6_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 - y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_6_2_A2_4_T3_x - (S11_6_2_A2_4_T3_x = 1);
$ERROR('#1.1: S11_6_2_A2_4_T3_x - (S11_6_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_6_2_A2_4_T3_x - (S11_6_2_A2_4_T3_x = 1)));
x - (x = 1);
$ERROR('#1.1: x - (x = 1) throw ReferenceError. Actual: ' + (x - (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_6_2_A2_4_T3_x - (S11_6_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x - (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_6_2_A2_4_T3_y = 1) - S11_6_2_A2_4_T3_y !== 0) {
$ERROR('#2: (S11_6_2_A2_4_T3_y = 1) - S11_6_2_A2_4_T3_y === 0. Actual: ' + ((S11_6_2_A2_4_T3_y = 1) - S11_6_2_A2_4_T3_y));
if ((y = 1) - y !== 0) {
$ERROR('#2: (y = 1) - y === 0. Actual: ' + ((y = 1) - y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_7_1_A2_1_T2_x << 1;
$ERROR('#1.1: S11_7_1_A2_1_T2_x << 1 throw ReferenceError. Actual: ' + (S11_7_1_A2_1_T2_x << 1));
x << 1;
$ERROR('#1.1: x << 1 throw ReferenceError. Actual: ' + (x << 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_1_A2_1_T2_x << 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x << 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 << S11_7_1_A2_1_T3_y;
$ERROR('#1.1: 1 << S11_7_1_A2_1_T3_y throw ReferenceError. Actual: ' + (1 << S11_7_1_A2_1_T3_y));
1 << y;
$ERROR('#1.1: 1 << y throw ReferenceError. Actual: ' + (1 << y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 << S11_7_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 << y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_7_1_A2_4_T3_x << (S11_7_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_7_1_A2_4_T3_x << (S11_7_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_7_1_A2_4_T3_x << (S11_7_1_A2_4_T3_x = 1)));
x << (x = 1);
$ERROR('#1.1: x << (x = 1) throw ReferenceError. Actual: ' + (x << (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_1_A2_4_T3_x << (S11_7_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x << (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_7_1_A2_4_T3_y = 1) << S11_7_1_A2_4_T3_y !== 2) {
$ERROR('#2: (S11_7_1_A2_4_T3_y = 1) << S11_7_1_A2_4_T3_y === 2. Actual: ' + ((S11_7_1_A2_4_T3_y = 1) << S11_7_1_A2_4_T3_y));
if ((y = 1) << y !== 2) {
$ERROR('#2: (y = 1) << y === 2. Actual: ' + ((y = 1) << y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_7_2_A2_1_T2_x >> 1;
$ERROR('#1.1: S11_7_2_A2_1_T2_x >> 1 throw ReferenceError. Actual: ' + (S11_7_2_A2_1_T2_x >> 1));
x >> 1;
$ERROR('#1.1: x >> 1 throw ReferenceError. Actual: ' + (x >> 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_2_A2_1_T2_x >> 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >> 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 >> S11_7_2_A2_1_T3_y;
$ERROR('#1.1: 1 >> S11_7_2_A2_1_T3_y throw ReferenceError. Actual: ' + (1 >> S11_7_2_A2_1_T3_y));
1 >> y;
$ERROR('#1.1: 1 >> y throw ReferenceError. Actual: ' + (1 >> y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 >> S11_7_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 >> y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_7_2_A2_4_T3_x >> (S11_7_2_A2_4_T3_x = 1);
$ERROR('#1.1: S11_7_2_A2_4_T3_x >> (S11_7_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_7_2_A2_4_T3_x >> (S11_7_2_A2_4_T3_x = 1)));
x >> (x = 1);
$ERROR('#1.1: x >> (x = 1) throw ReferenceError. Actual: ' + (x >> (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_2_A2_4_T3_x >> (S11_7_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >> (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_7_2_A2_4_T3_y = 1) >> S11_7_2_A2_4_T3_y !== 0) {
$ERROR('#2: (S11_7_2_A2_4_T3_y = 1) >> S11_7_2_A2_4_T3_y === 0. Actual: ' + ((S11_7_2_A2_4_T3_y = 1) >> S11_7_2_A2_4_T3_y));
if ((y = 1) >> y !== 0) {
$ERROR('#2: (y = 1) >> y === 0. Actual: ' + ((y = 1) >> y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_7_3_A2_1_T2_x >>> 1;
$ERROR('#1.1: S11_7_3_A2_1_T2_x >>> 1 throw ReferenceError. Actual: ' + (S11_7_3_A2_1_T2_x >>> 1));
x >>> 1;
$ERROR('#1.1: x >>> 1 throw ReferenceError. Actual: ' + (x >>> 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_3_A2_1_T2_x >>> 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >>> 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 >>> S11_7_3_A2_1_T3_y;
$ERROR('#1.1: 1 >>> S11_7_3_A2_1_T3_y throw ReferenceError. Actual: ' + (1 >>> S11_7_3_A2_1_T3_y));
1 >>> y;
$ERROR('#1.1: 1 >>> y throw ReferenceError. Actual: ' + (1 >>> y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 >>> S11_7_3_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 >>> y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_7_3_A2_4_T3_x >>> (S11_7_3_A2_4_T3_x = 1);
$ERROR('#1.1: S11_7_3_A2_4_T3_x >>> (S11_7_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_7_3_A2_4_T3_x >>> (S11_7_3_A2_4_T3_x = 1)));
x >>> (x = 1);
$ERROR('#1.1: x >>> (x = 1) throw ReferenceError. Actual: ' + (x >>> (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_7_3_A2_4_T3_x >>> (S11_7_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >>> (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_7_3_A2_4_T3_y = 1) >>> S11_7_3_A2_4_T3_y !== 0) {
$ERROR('#2: (S11_7_3_A2_4_T3_y = 1) >>> S11_7_3_A2_4_T3_y === 0. Actual: ' + ((S11_7_3_A2_4_T3_y = 1) >>> S11_7_3_A2_4_T3_y));
if ((y = 1) >>> y !== 0) {
$ERROR('#2: (y = 1) >>> y === 0. Actual: ' + ((y = 1) >>> y));
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_8_1_A2_1_T2_x < 1;
$ERROR('#1.1: S11_8_1_A2_1_T2_x < 1 throw ReferenceError. Actual: ' + (S11_8_1_A2_1_T2_x < 1));
x < 1;
$ERROR('#1.1: x < 1 throw ReferenceError. Actual: ' + (x < 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_1_A2_1_T2_x < 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x < 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 < S11_8_1_A2_1_T3_y;
$ERROR('#1.1: 1 < S11_8_1_A2_1_T3_y throw ReferenceError. Actual: ' + (1 < S11_8_1_A2_1_T3_y));
1 < y;
$ERROR('#1.1: 1 < y throw ReferenceError. Actual: ' + (1 < y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 < S11_8_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 < y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_8_1_A2_4_T3_x < (S11_8_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_8_1_A2_4_T3_x < (S11_8_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_8_1_A2_4_T3_x < (S11_8_1_A2_4_T3_x = 1)));
x < (x = 1);
$ERROR('#1.1: x < (x = 1) throw ReferenceError. Actual: ' + (x < (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_1_A2_4_T3_x < (S11_8_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x < (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_8_1_A2_4_T3_y = 1) < S11_8_1_A2_4_T3_y !== false) {
$ERROR('#2: (S11_8_1_A2_4_T3_y = 1) < S11_8_1_A2_4_T3_y === false');
if ((y = 1) < y !== false) {
$ERROR('#2: (y = 1) < y === false');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_8_2_A2_1_T2_x > 1;
$ERROR('#1.1: S11_8_2_A2_1_T2_x > 1 throw ReferenceError. Actual: ' + (S11_8_2_A2_1_T2_x > 1));
x > 1;
$ERROR('#1.1: x > 1 throw ReferenceError. Actual: ' + (x > 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_2_A2_1_T2_x > 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x > 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 > S11_8_2_A2_1_T3_y;
$ERROR('#1.1: 1 > S11_8_2_A2_1_T3_y throw ReferenceError. Actual: ' + (1 > S11_8_2_A2_1_T3_y));
1 > y;
$ERROR('#1.1: 1 > y throw ReferenceError. Actual: ' + (1 > y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 > S11_8_2_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 > y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_8_2_A2_4_T3_x > (S11_8_2_A2_4_T3_x = 1);
$ERROR('#1.1: S11_8_2_A2_4_T3_x > (S11_8_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_8_2_A2_4_T3_x > (S11_8_2_A2_4_T3_x = 1)));
x > (x = 1);
$ERROR('#1.1: x > (x = 1) throw ReferenceError. Actual: ' + (x > (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_2_A2_4_T3_x > (S11_8_2_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x > (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_8_2_A2_4_T3_y = 1) > S11_8_2_A2_4_T3_y !== false) {
$ERROR('#2: (S11_8_2_A2_4_T3_y = 1) > S11_8_2_A2_4_T3_y === false');
if ((y = 1) > y !== false) {
$ERROR('#2: (y = 1) > y === false');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_8_3_A2_1_T2_x <= 1;
$ERROR('#1.1: S11_8_3_A2_1_T2_x <= 1 throw ReferenceError. Actual: ' + (S11_8_3_A2_1_T2_x <= 1));
x <= 1;
$ERROR('#1.1: x <= 1 throw ReferenceError. Actual: ' + (x <= 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_3_A2_1_T2_x <= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x <= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 <= S11_8_3_A2_1_T3_y;
$ERROR('#1.1: 1 <= S11_8_3_A2_1_T3_y throw ReferenceError. Actual: ' + (1 <= S11_8_3_A2_1_T3_y));
1 <= y;
$ERROR('#1.1: 1 <= y throw ReferenceError. Actual: ' + (1 <= y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 <= S11_8_3_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 <= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_8_3_A2_4_T3_x <= (S11_8_3_A2_4_T3_x = 1);
$ERROR('#1.1: S11_8_3_A2_4_T3_x <= (S11_8_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_8_3_A2_4_T3_x <= (S11_8_3_A2_4_T3_x = 1)));
x <= (x = 1);
$ERROR('#1.1: x <= (x = 1) throw ReferenceError. Actual: ' + (x <= (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_3_A2_4_T3_x <= (S11_8_3_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x <= (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_8_3_A2_4_T3_y = 1) <= S11_8_3_A2_4_T3_y !== true) {
$ERROR('#2: (S11_8_3_A2_4_T3_y = 1) <= S11_8_3_A2_4_T3_y === true');
if ((y = 1) <= y !== true) {
$ERROR('#2: (y = 1) <= y === true');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_8_4_A2_1_T2_x >= 1;
$ERROR('#1.1: S11_8_4_A2_1_T2_x >= 1 throw ReferenceError. Actual: ' + (S11_8_4_A2_1_T2_x >= 1));
x >= 1;
$ERROR('#1.1: x >= 1 throw ReferenceError. Actual: ' + (x >= 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_4_A2_1_T2_x >= 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >= 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 >= S11_8_4_A2_1_T3_y;
$ERROR('#1.1: 1 >= S11_8_4_A2_1_T3_y throw ReferenceError. Actual: ' + (1 >= S11_8_4_A2_1_T3_y));
1 >= y;
$ERROR('#1.1: 1 >= y throw ReferenceError. Actual: ' + (1 >= y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 >= S11_8_4_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 >= y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_8_4_A2_4_T3_x >= (S11_8_4_A2_4_T3_x = 1);
$ERROR('#1.1: S11_8_4_A2_4_T3_x >= (S11_8_4_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_8_4_A2_4_T3_x >= (S11_8_4_A2_4_T3_x = 1)));
x >= (x = 1);
$ERROR('#1.1: x >= (x = 1) throw ReferenceError. Actual: ' + (x >= (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_8_4_A2_4_T3_x >= (S11_8_4_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x >= (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if ((S11_8_4_A2_4_T3_y = 1) >= S11_8_4_A2_4_T3_y !== true) {
$ERROR('#2: (S11_8_4_A2_4_T3_y = 1) >= S11_8_4_A2_4_T3_y === true');
if ((y = 1) >= y !== true) {
$ERROR('#2: (y = 1) >= y === true');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_9_1_A2_1_T2_x == 1;
$ERROR('#1.1: S11_9_1_A2_1_T2_x == 1 throw ReferenceError. Actual: ' + (S11_9_1_A2_1_T2_x == 1));
x == 1;
$ERROR('#1.1: x == 1 throw ReferenceError. Actual: ' + (x == 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_9_1_A2_1_T2_x == 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x == 1 throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(y) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
1 == S11_9_1_A2_1_T3_y;
$ERROR('#1.1: 1 == S11_9_1_A2_1_T3_y throw ReferenceError. Actual: ' + (1 == S11_9_1_A2_1_T3_y));
1 == y;
$ERROR('#1.1: 1 == y throw ReferenceError. Actual: ' + (1 == y));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: 1 == S11_9_1_A2_1_T3_y throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: 1 == y throw ReferenceError. Actual: ' + (e));
}
}

View File

@ -21,18 +21,18 @@ description: "Checking with undeclarated variables",
test: function testcase() {
//CHECK#1
try {
S11_9_1_A2_4_T3_x == (S11_9_1_A2_4_T3_x = 1);
$ERROR('#1.1: S11_9_1_A2_4_T3_x == (S11_9_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (S11_9_1_A2_4_T3_x == (S11_9_1_A2_4_T3_x = 1)));
x == (x = 1);
$ERROR('#1.1: x == (x = 1) throw ReferenceError. Actual: ' + (x == (x = 1)));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_9_1_A2_4_T3_x == (S11_9_1_A2_4_T3_x = 1) throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x == (x = 1) throw ReferenceError. Actual: ' + (e));
}
}
//CHECK#2
if (((S11_9_1_A2_4_T3_y = 1) == S11_9_1_A2_4_T3_y) !== true) {
$ERROR('#2: ((S11_9_1_A2_4_T3_y = 1) == S11_9_1_A2_4_T3_y) === true');
if (((y = 1) == y) !== true) {
$ERROR('#2: ((y = 1) == y) === true');
}

View File

@ -21,12 +21,12 @@ description: "If GetBase(x) is null, throw ReferenceError",
test: function testcase() {
//CHECK#1
try {
S11_9_2_A2_1_T2_x != 1;
$ERROR('#1.1: S11_9_2_A2_1_T2_x != 1 throw ReferenceError. Actual: ' + (S11_9_2_A2_1_T2_x != 1));
x != 1;
$ERROR('#1.1: x != 1 throw ReferenceError. Actual: ' + (x != 1));
}
catch (e) {
if ((e instanceof ReferenceError) !== true) {
$ERROR('#1.2: S11_9_2_A2_1_T2_x != 1 throw ReferenceError. Actual: ' + (e));
$ERROR('#1.2: x != 1 throw ReferenceError. Actual: ' + (e));
}
}

Some files were not shown because too many files have changed in this diff Show More