From 8a2bfb48d4fffa85a59b543de00a138652dabde8 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 14 Sep 2020 15:56:23 -0400 Subject: [PATCH] Delete invalid tests --- .../expressions/assignment/S11.13.1_A5_T4.js | 28 --------------- .../expressions/assignment/S11.13.1_A5_T5.js | 29 ---------------- .../compound-assignment/S11.13.2_A5.10_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.10_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.11_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.11_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.1_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.1_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.2_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.2_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.3_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.3_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.4_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.4_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.5_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.5_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.6_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.6_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.7_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.7_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.8_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.8_T5.js | 32 ----------------- .../compound-assignment/S11.13.2_A5.9_T4.js | 34 ------------------- .../compound-assignment/S11.13.2_A5.9_T5.js | 32 ----------------- .../postfix-decrement/S11.3.2_A5_T4.js | 33 ------------------ .../postfix-decrement/S11.3.2_A5_T5.js | 31 ----------------- .../postfix-increment/S11.3.1_A5_T4.js | 33 ------------------ .../postfix-increment/S11.3.1_A5_T5.js | 31 ----------------- .../prefix-decrement/S11.4.5_A5_T4.js | 33 ------------------ .../prefix-decrement/S11.4.5_A5_T5.js | 31 ----------------- .../prefix-increment/S11.4.4_A5_T4.js | 33 ------------------ .../prefix-increment/S11.4.4_A5_T5.js | 31 ----------------- 32 files changed, 1039 deletions(-) delete mode 100644 test/language/expressions/assignment/S11.13.1_A5_T4.js delete mode 100644 test/language/expressions/assignment/S11.13.1_A5_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.10_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.10_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.11_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.11_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.1_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.1_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.2_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.2_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.3_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.3_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.4_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.4_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.5_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.5_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.6_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.6_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.7_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.7_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.8_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.8_T5.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.9_T4.js delete mode 100644 test/language/expressions/compound-assignment/S11.13.2_A5.9_T5.js delete mode 100644 test/language/expressions/postfix-decrement/S11.3.2_A5_T4.js delete mode 100644 test/language/expressions/postfix-decrement/S11.3.2_A5_T5.js delete mode 100644 test/language/expressions/postfix-increment/S11.3.1_A5_T4.js delete mode 100644 test/language/expressions/postfix-increment/S11.3.1_A5_T5.js delete mode 100644 test/language/expressions/prefix-decrement/S11.4.5_A5_T4.js delete mode 100644 test/language/expressions/prefix-decrement/S11.4.5_A5_T5.js delete mode 100644 test/language/expressions/prefix-increment/S11.4.4_A5_T4.js delete mode 100644 test/language/expressions/prefix-increment/S11.4.4_A5_T5.js diff --git a/test/language/expressions/assignment/S11.13.1_A5_T4.js b/test/language/expressions/assignment/S11.13.1_A5_T4.js deleted file mode 100644 index e02c07f297..0000000000 --- a/test/language/expressions/assignment/S11.13.1_A5_T4.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Assignment Operator calls PutValue(lref, rval) -es5id: S11.13.1_A5_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, rval) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when assignment is in strict-mode code and the - original binding is no longer present. -flags: [noStrict] ----*/ - -var scope = {x: 1}; - -with (scope) { - (function() { - "use strict"; - x = (delete scope.x, 2); - })(); -} - -if (scope.x !== 2) { - $ERROR('#1: scope.x === 2. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/assignment/S11.13.1_A5_T5.js b/test/language/expressions/assignment/S11.13.1_A5_T5.js deleted file mode 100644 index cc11e5fdbe..0000000000 --- a/test/language/expressions/assignment/S11.13.1_A5_T5.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Assignment Operator calls PutValue(lref, rval) -es5id: S11.13.1_A5_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, rval) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when assignment is in strict-mode code and the - original binding is no longer present. ----*/ - -var global = this; -Object.defineProperty(this, "x", { - configurable: true, - value: 1 -}); - -(function() { - "use strict"; - x = (delete global.x, 2); -})(); - -if (this.x !== 2) { - $ERROR('#1: this.x === 2. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.10_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.10_T4.js deleted file mode 100644 index e99bac8abe..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.10_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.10_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x ^= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x ^= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x ^= 3; - })(); -} - -if (scope.x !== 1) { - $ERROR('#1: scope.x === 1. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.10_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.10_T5.js deleted file mode 100644 index 4aef65ddfc..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.10_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.10_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x ^= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x ^= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x ^= 3; -})(); - -if (this.x !== 1) { - $ERROR('#1: this.x === 1. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.11_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.11_T4.js deleted file mode 100644 index 8c8412f814..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.11_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.11_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x |= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x |= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x |= 4; - })(); -} - -if (scope.x !== 6) { - $ERROR('#1: scope.x === 6. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.11_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.11_T5.js deleted file mode 100644 index ecbed1071a..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.11_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.11_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x |= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x |= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x |= 4; -})(); - -if (this.x !== 6) { - $ERROR('#1: this.x === 6. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.1_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.1_T4.js deleted file mode 100644 index 96d309fc19..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.1_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.1_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x *= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x *= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x *= 3; - })(); -} - -if (scope.x !== 6) { - $ERROR('#1: scope.x === 6. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.1_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.1_T5.js deleted file mode 100644 index ebbf1f6d52..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.1_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.1_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x *= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x *= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x *= 3; -})(); - -if (this.x !== 6) { - $ERROR('#1: this.x === 6. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.2_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.2_T4.js deleted file mode 100644 index c198639414..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.2_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.2_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x /= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x /= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 6; - } -}; - -with (scope) { - (function() { - "use strict"; - x /= 3; - })(); -} - -if (scope.x !== 2) { - $ERROR('#1: scope.x === 2. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.2_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.2_T5.js deleted file mode 100644 index e1753f7072..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.2_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.2_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x /= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x /= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 6; - } -}); - -(function() { - "use strict"; - x /= 3; -})(); - -if (this.x !== 2) { - $ERROR('#1: this.x === 2. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.3_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.3_T4.js deleted file mode 100644 index 7513278717..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.3_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.3_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x %= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x %= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 5; - } -}; - -with (scope) { - (function() { - "use strict"; - x %= 3; - })(); -} - -if (scope.x !== 2) { - $ERROR('#1: scope.x === 2. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.3_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.3_T5.js deleted file mode 100644 index 70fa8fa78e..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.3_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.3_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x %= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x %= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 5; - } -}); - -(function() { - "use strict"; - x %= 3; -})(); - -if (this.x !== 2) { - $ERROR('#1: this.x === 2. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.4_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.4_T4.js deleted file mode 100644 index df24808bc7..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.4_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.4_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x += y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x += y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x += 1; - })(); -} - -if (scope.x !== 3) { - $ERROR('#1: scope.x === 3. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.4_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.4_T5.js deleted file mode 100644 index d49c695f46..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.4_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.4_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x += y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x += y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x += 1; -})(); - -if (this.x !== 3) { - $ERROR('#1: this.x === 3. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.5_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.5_T4.js deleted file mode 100644 index 7da5d5470d..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.5_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.5_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x -= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x -= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x -= 1; - })(); -} - -if (scope.x !== 1) { - $ERROR('#1: scope.x === 1. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.5_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.5_T5.js deleted file mode 100644 index b2c7ad6e03..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.5_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.5_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x -= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x -= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x -= 1; -})(); - -if (this.x !== 1) { - $ERROR('#1: this.x === 1. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.6_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.6_T4.js deleted file mode 100644 index b766a7dcb6..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.6_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.6_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x <<= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x <<= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x <<= 3; - })(); -} - -if (scope.x !== 16) { - $ERROR('#1: scope.x === 16. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.6_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.6_T5.js deleted file mode 100644 index 7eb81cd932..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.6_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.6_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x <<= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x <<= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x <<= 3; -})(); - -if (this.x !== 16) { - $ERROR('#1: this.x === 16. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.7_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.7_T4.js deleted file mode 100644 index 484b412d10..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.7_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.7_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x >>= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x >>= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 16; - } -}; - -with (scope) { - (function() { - "use strict"; - x >>= 3; - })(); -} - -if (scope.x !== 2) { - $ERROR('#1: scope.x === 2. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.7_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.7_T5.js deleted file mode 100644 index a818c56508..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.7_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.7_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x >>= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x >>= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 16; - } -}); - -(function() { - "use strict"; - x >>= 3; -})(); - -if (this.x !== 2) { - $ERROR('#1: this.x === 2. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.8_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.8_T4.js deleted file mode 100644 index 718e63da48..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.8_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.8_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x >>>= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x >>>= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 16; - } -}; - -with (scope) { - (function() { - "use strict"; - x >>>= 3; - })(); -} - -if (scope.x !== 2) { - $ERROR('#1: scope.x === 2. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.8_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.8_T5.js deleted file mode 100644 index f9dad8a82e..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.8_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.8_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x >>>= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x >>>= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 16; - } -}); - -(function() { - "use strict"; - x >>>= 3; -})(); - -if (this.x !== 2) { - $ERROR('#1: this.x === 2. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.9_T4.js b/test/language/expressions/compound-assignment/S11.13.2_A5.9_T4.js deleted file mode 100644 index f3c9a35e5f..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.9_T4.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.9_T4 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x &= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x &= y". -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 5; - } -}; - -with (scope) { - (function() { - "use strict"; - x &= 3; - })(); -} - -if (scope.x !== 1) { - $ERROR('#1: scope.x === 1. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/compound-assignment/S11.13.2_A5.9_T5.js b/test/language/expressions/compound-assignment/S11.13.2_A5.9_T5.js deleted file mode 100644 index 20bfbea156..0000000000 --- a/test/language/expressions/compound-assignment/S11.13.2_A5.9_T5.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Compound Assignment Operator calls PutValue(lref, v) -es5id: S11.13.2_A5.9_T5 -description: > - Evaluating LeftHandSideExpression lref returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lref, v) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x &= y' is in strict-mode code and the - original binding is no longer present. - Check operator is "x &= y". ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 5; - } -}); - -(function() { - "use strict"; - x &= 3; -})(); - -if (this.x !== 1) { - $ERROR('#1: this.x === 1. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/postfix-decrement/S11.3.2_A5_T4.js b/test/language/expressions/postfix-decrement/S11.3.2_A5_T4.js deleted file mode 100644 index 1b4f49d405..0000000000 --- a/test/language/expressions/postfix-decrement/S11.3.2_A5_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator x-- calls PutValue(lhs, newValue) -es5id: S11.3.2_A5_T4 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x--' is in strict-mode code and the - original binding is no longer present. -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x--; - })(); -} - -if (scope.x !== 1) { - $ERROR('#1: scope.x === 1. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/postfix-decrement/S11.3.2_A5_T5.js b/test/language/expressions/postfix-decrement/S11.3.2_A5_T5.js deleted file mode 100644 index 15576f9eb7..0000000000 --- a/test/language/expressions/postfix-decrement/S11.3.2_A5_T5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator x-- calls PutValue(lhs, newValue) -es5id: S11.3.2_A5_T5 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x--' is in strict-mode code and the - original binding is no longer present. ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x--; -})(); - -if (this.x !== 1) { - $ERROR('#1: this.x === 1. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/postfix-increment/S11.3.1_A5_T4.js b/test/language/expressions/postfix-increment/S11.3.1_A5_T4.js deleted file mode 100644 index f4733d98ad..0000000000 --- a/test/language/expressions/postfix-increment/S11.3.1_A5_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator x++ calls PutValue(lhs, newValue) -es5id: S11.3.1_A5_T4 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x++' is in strict-mode code and the - original binding is no longer present. -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - x++; - })(); -} - -if (scope.x !== 3) { - $ERROR('#1: scope.x === 3. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/postfix-increment/S11.3.1_A5_T5.js b/test/language/expressions/postfix-increment/S11.3.1_A5_T5.js deleted file mode 100644 index 9416dc516b..0000000000 --- a/test/language/expressions/postfix-increment/S11.3.1_A5_T5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator x++ calls PutValue(lhs, newValue) -es5id: S11.3.1_A5_T5 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when 'x++' is in strict-mode code and the - original binding is no longer present. ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - x++; -})(); - -if (this.x !== 3) { - $ERROR('#1: this.x === 3. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/prefix-decrement/S11.4.5_A5_T4.js b/test/language/expressions/prefix-decrement/S11.4.5_A5_T4.js deleted file mode 100644 index d9de0395ea..0000000000 --- a/test/language/expressions/prefix-decrement/S11.4.5_A5_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator --x calls PutValue(lhs, newValue) -es5id: S11.4.5_A5_T4 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when '--x' is in strict-mode code and the - original binding is no longer present. -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - --x; - })(); -} - -if (scope.x !== 1) { - $ERROR('#1: scope.x === 1. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/prefix-decrement/S11.4.5_A5_T5.js b/test/language/expressions/prefix-decrement/S11.4.5_A5_T5.js deleted file mode 100644 index b59dc68c91..0000000000 --- a/test/language/expressions/prefix-decrement/S11.4.5_A5_T5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator --x calls PutValue(lhs, newValue) -es5id: S11.4.5_A5_T5 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when '--x' is in strict-mode code and the - original binding is no longer present. ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - --x; -})(); - -if (this.x !== 1) { - $ERROR('#1: this.x === 1. Actual: ' + (this.x)); -} diff --git a/test/language/expressions/prefix-increment/S11.4.4_A5_T4.js b/test/language/expressions/prefix-increment/S11.4.4_A5_T4.js deleted file mode 100644 index 67bfcd11b3..0000000000 --- a/test/language/expressions/prefix-increment/S11.4.4_A5_T4.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator ++x calls PutValue(lhs, newValue) -es5id: S11.4.4_A5_T4 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when '++x' is in strict-mode code and the - original binding is no longer present. -flags: [noStrict] ----*/ - -var scope = { - get x() { - delete this.x; - return 2; - } -}; - -with (scope) { - (function() { - "use strict"; - ++x; - })(); -} - -if (scope.x !== 3) { - $ERROR('#1: scope.x === 3. Actual: ' + (scope.x)); -} diff --git a/test/language/expressions/prefix-increment/S11.4.4_A5_T5.js b/test/language/expressions/prefix-increment/S11.4.4_A5_T5.js deleted file mode 100644 index 5381e2a733..0000000000 --- a/test/language/expressions/prefix-increment/S11.4.4_A5_T5.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2014 André Bargull. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: Operator ++x calls PutValue(lhs, newValue) -es5id: S11.4.4_A5_T5 -description: > - Evaluating LeftHandSideExpression lhs returns Reference type; Reference - base value is an environment record and environment record kind is - object environment record. PutValue(lhs, newValue) uses the initially - created Reference even if the environment binding is no longer present. - No ReferenceError is thrown when '++x' is in strict-mode code and the - original binding is no longer present. ----*/ - -Object.defineProperty(this, "x", { - configurable: true, - get: function() { - delete this.x; - return 2; - } -}); - -(function() { - "use strict"; - ++x; -})(); - -if (this.x !== 3) { - $ERROR('#1: this.x === 3. Actual: ' + (this.x)); -}