From eba013851c97b5e21cc0ec8a37f8a90325ae30eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:39 +0200 Subject: [PATCH] Enable strict mode testing for sm/strict --- test/staging/sm/strict/10.4.2.js | 2 -- test/staging/sm/strict/10.6.js | 2 -- test/staging/sm/strict/11.1.5.js | 2 -- test/staging/sm/strict/11.13.1.js | 2 -- test/staging/sm/strict/11.13.2.js | 2 -- test/staging/sm/strict/11.3.1.js | 2 -- test/staging/sm/strict/11.3.2.js | 2 -- test/staging/sm/strict/11.4.1.js | 2 -- test/staging/sm/strict/11.4.4.js | 2 -- test/staging/sm/strict/11.4.5.js | 2 -- test/staging/sm/strict/12.10.1.js | 2 -- test/staging/sm/strict/12.14.1.js | 2 -- test/staging/sm/strict/12.2.1-01.js | 2 -- test/staging/sm/strict/12.2.1.js | 2 -- test/staging/sm/strict/13.1.js | 2 -- test/staging/sm/strict/15.10.7.js | 2 -- test/staging/sm/strict/15.3.5.1.js | 2 -- test/staging/sm/strict/15.3.5.2.js | 2 -- test/staging/sm/strict/15.4.4.11.js | 2 -- test/staging/sm/strict/15.4.4.12.js | 2 -- test/staging/sm/strict/15.4.4.13.js | 2 -- test/staging/sm/strict/15.4.4.6.js | 2 -- test/staging/sm/strict/15.4.4.8.js | 2 -- test/staging/sm/strict/15.4.4.9.js | 2 -- test/staging/sm/strict/15.5.5.1.js | 2 -- test/staging/sm/strict/15.5.5.2.js | 2 -- test/staging/sm/strict/8.12.5.js | 2 -- test/staging/sm/strict/8.12.7-2.js | 2 -- test/staging/sm/strict/8.12.7.js | 2 -- test/staging/sm/strict/8.7.2.js | 2 -- test/staging/sm/strict/B.1.1.js | 2 -- test/staging/sm/strict/B.1.2.js | 2 -- test/staging/sm/strict/eval-variable-environment.js | 2 -- test/staging/sm/strict/primitive-this-getter.js | 2 -- test/staging/sm/strict/primitive-this-no-writeback.js | 2 -- .../sm/strict/rebind-eval-should-fail-in-strict-mode.js | 2 -- test/staging/sm/strict/regress-532041.js | 2 -- test/staging/sm/strict/regress-532254.js | 2 -- test/staging/sm/strict/regress-599159.js | 4 +--- test/staging/sm/strict/strict-function-statements.js | 2 -- test/staging/sm/strict/strict-this-is-not-truthy.js | 2 -- test/staging/sm/strict/unbrand-this.js | 2 -- 42 files changed, 1 insertion(+), 85 deletions(-) diff --git a/test/staging/sm/strict/10.4.2.js b/test/staging/sm/strict/10.4.2.js index b21a858ce6..c55b66eeac 100644 --- a/test/staging/sm/strict/10.4.2.js +++ b/test/staging/sm/strict/10.4.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/10.6.js b/test/staging/sm/strict/10.6.js index caee83b0bc..bd47b8472a 100644 --- a/test/staging/sm/strict/10.6.js +++ b/test/staging/sm/strict/10.6.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.1.5.js b/test/staging/sm/strict/11.1.5.js index f38df0745c..b36d4d767a 100644 --- a/test/staging/sm/strict/11.1.5.js +++ b/test/staging/sm/strict/11.1.5.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.13.1.js b/test/staging/sm/strict/11.13.1.js index 81facfdfa9..415c23be64 100644 --- a/test/staging/sm/strict/11.13.1.js +++ b/test/staging/sm/strict/11.13.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.13.2.js b/test/staging/sm/strict/11.13.2.js index 17a8ed943a..a95c8e80da 100644 --- a/test/staging/sm/strict/11.13.2.js +++ b/test/staging/sm/strict/11.13.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.3.1.js b/test/staging/sm/strict/11.3.1.js index 654fea58e0..5d01ddade4 100644 --- a/test/staging/sm/strict/11.3.1.js +++ b/test/staging/sm/strict/11.3.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.3.2.js b/test/staging/sm/strict/11.3.2.js index f1234ad4e9..5f2ff46b27 100644 --- a/test/staging/sm/strict/11.3.2.js +++ b/test/staging/sm/strict/11.3.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.4.1.js b/test/staging/sm/strict/11.4.1.js index af30606532..7b7ee4620a 100644 --- a/test/staging/sm/strict/11.4.1.js +++ b/test/staging/sm/strict/11.4.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.4.4.js b/test/staging/sm/strict/11.4.4.js index 925496a88e..f6d863dc06 100644 --- a/test/staging/sm/strict/11.4.4.js +++ b/test/staging/sm/strict/11.4.4.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/11.4.5.js b/test/staging/sm/strict/11.4.5.js index 5dd4fdc6a7..5bcebf2688 100644 --- a/test/staging/sm/strict/11.4.5.js +++ b/test/staging/sm/strict/11.4.5.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/12.10.1.js b/test/staging/sm/strict/12.10.1.js index cd866a736f..b8d3c66e1d 100644 --- a/test/staging/sm/strict/12.10.1.js +++ b/test/staging/sm/strict/12.10.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/12.14.1.js b/test/staging/sm/strict/12.14.1.js index a716645cea..b9d8766cef 100644 --- a/test/staging/sm/strict/12.14.1.js +++ b/test/staging/sm/strict/12.14.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/12.2.1-01.js b/test/staging/sm/strict/12.2.1-01.js index a53eb9d225..2086d76f43 100644 --- a/test/staging/sm/strict/12.2.1-01.js +++ b/test/staging/sm/strict/12.2.1-01.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/12.2.1.js b/test/staging/sm/strict/12.2.1.js index e20102ffa4..ca9792e557 100644 --- a/test/staging/sm/strict/12.2.1.js +++ b/test/staging/sm/strict/12.2.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/13.1.js b/test/staging/sm/strict/13.1.js index 98ca801b51..4674bacef8 100644 --- a/test/staging/sm/strict/13.1.js +++ b/test/staging/sm/strict/13.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.10.7.js b/test/staging/sm/strict/15.10.7.js index 4acd3cf1ee..0f64c6c788 100644 --- a/test/staging/sm/strict/15.10.7.js +++ b/test/staging/sm/strict/15.10.7.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.3.5.1.js b/test/staging/sm/strict/15.3.5.1.js index 4c839e8dd3..f05ecd163e 100644 --- a/test/staging/sm/strict/15.3.5.1.js +++ b/test/staging/sm/strict/15.3.5.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.3.5.2.js b/test/staging/sm/strict/15.3.5.2.js index e1ae5f112d..0adc277435 100644 --- a/test/staging/sm/strict/15.3.5.2.js +++ b/test/staging/sm/strict/15.3.5.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.11.js b/test/staging/sm/strict/15.4.4.11.js index d5722a9064..6193a09d8e 100644 --- a/test/staging/sm/strict/15.4.4.11.js +++ b/test/staging/sm/strict/15.4.4.11.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.12.js b/test/staging/sm/strict/15.4.4.12.js index e03a2a1c9d..e70fb2f01a 100644 --- a/test/staging/sm/strict/15.4.4.12.js +++ b/test/staging/sm/strict/15.4.4.12.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.13.js b/test/staging/sm/strict/15.4.4.13.js index 881e30a312..39abf1c17e 100644 --- a/test/staging/sm/strict/15.4.4.13.js +++ b/test/staging/sm/strict/15.4.4.13.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.6.js b/test/staging/sm/strict/15.4.4.6.js index 705be7a131..5e3d5944cc 100644 --- a/test/staging/sm/strict/15.4.4.6.js +++ b/test/staging/sm/strict/15.4.4.6.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.8.js b/test/staging/sm/strict/15.4.4.8.js index a68c6f6193..df32ec2756 100644 --- a/test/staging/sm/strict/15.4.4.8.js +++ b/test/staging/sm/strict/15.4.4.8.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.4.4.9.js b/test/staging/sm/strict/15.4.4.9.js index 8b67c57b6e..891d1f1394 100644 --- a/test/staging/sm/strict/15.4.4.9.js +++ b/test/staging/sm/strict/15.4.4.9.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.5.5.1.js b/test/staging/sm/strict/15.5.5.1.js index 92b18ff13b..65bb942e39 100644 --- a/test/staging/sm/strict/15.5.5.1.js +++ b/test/staging/sm/strict/15.5.5.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/15.5.5.2.js b/test/staging/sm/strict/15.5.5.2.js index fbd1c08037..bf12987bf7 100644 --- a/test/staging/sm/strict/15.5.5.2.js +++ b/test/staging/sm/strict/15.5.5.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/8.12.5.js b/test/staging/sm/strict/8.12.5.js index 056c5704d0..a6978fac88 100644 --- a/test/staging/sm/strict/8.12.5.js +++ b/test/staging/sm/strict/8.12.5.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/8.12.7-2.js b/test/staging/sm/strict/8.12.7-2.js index 60c6aa6905..b4051c05cf 100644 --- a/test/staging/sm/strict/8.12.7-2.js +++ b/test/staging/sm/strict/8.12.7-2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/8.12.7.js b/test/staging/sm/strict/8.12.7.js index f1ce1202e5..58c8de3b93 100644 --- a/test/staging/sm/strict/8.12.7.js +++ b/test/staging/sm/strict/8.12.7.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/8.7.2.js b/test/staging/sm/strict/8.7.2.js index 45c57f2544..10aa37739e 100644 --- a/test/staging/sm/strict/8.7.2.js +++ b/test/staging/sm/strict/8.7.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/B.1.1.js b/test/staging/sm/strict/B.1.1.js index 38d3df8d31..562d4514c6 100644 --- a/test/staging/sm/strict/B.1.1.js +++ b/test/staging/sm/strict/B.1.1.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/B.1.2.js b/test/staging/sm/strict/B.1.2.js index e0a881ad9b..fddef8d663 100644 --- a/test/staging/sm/strict/B.1.2.js +++ b/test/staging/sm/strict/B.1.2.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/eval-variable-environment.js b/test/staging/sm/strict/eval-variable-environment.js index 2b6c7b5bf5..5c192ed794 100644 --- a/test/staging/sm/strict/eval-variable-environment.js +++ b/test/staging/sm/strict/eval-variable-environment.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/primitive-this-getter.js b/test/staging/sm/strict/primitive-this-getter.js index 3d84f36350..7879726a81 100644 --- a/test/staging/sm/strict/primitive-this-getter.js +++ b/test/staging/sm/strict/primitive-this-getter.js @@ -2,8 +2,6 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/primitive-this-no-writeback.js b/test/staging/sm/strict/primitive-this-no-writeback.js index f41ad4e7a1..fc92960d61 100644 --- a/test/staging/sm/strict/primitive-this-no-writeback.js +++ b/test/staging/sm/strict/primitive-this-no-writeback.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/rebind-eval-should-fail-in-strict-mode.js b/test/staging/sm/strict/rebind-eval-should-fail-in-strict-mode.js index 914042d65a..a495df3b90 100644 --- a/test/staging/sm/strict/rebind-eval-should-fail-in-strict-mode.js +++ b/test/staging/sm/strict/rebind-eval-should-fail-in-strict-mode.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/regress-532041.js b/test/staging/sm/strict/regress-532041.js index 58889ce843..ea32d44c8f 100644 --- a/test/staging/sm/strict/regress-532041.js +++ b/test/staging/sm/strict/regress-532041.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/regress-532254.js b/test/staging/sm/strict/regress-532254.js index bcd94bee18..9346c63545 100644 --- a/test/staging/sm/strict/regress-532254.js +++ b/test/staging/sm/strict/regress-532254.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/regress-599159.js b/test/staging/sm/strict/regress-599159.js index 4a926e3f36..e51428ae66 100644 --- a/test/staging/sm/strict/regress-599159.js +++ b/test/staging/sm/strict/regress-599159.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending @@ -16,7 +14,7 @@ function test(makeNonArray) { C.prototype = [] if (makeNonArray) C.prototype.constructor = C - c = new C(); + var c = new C(); c.push("foo"); return c.length } diff --git a/test/staging/sm/strict/strict-function-statements.js b/test/staging/sm/strict/strict-function-statements.js index 4bc76224be..11aa56d843 100644 --- a/test/staging/sm/strict/strict-function-statements.js +++ b/test/staging/sm/strict/strict-function-statements.js @@ -5,8 +5,6 @@ /*--- includes: [sm/non262-strict-shell.js] -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/strict-this-is-not-truthy.js b/test/staging/sm/strict/strict-this-is-not-truthy.js index fe05c631a1..ce705c0e0f 100644 --- a/test/staging/sm/strict/strict-this-is-not-truthy.js +++ b/test/staging/sm/strict/strict-this-is-not-truthy.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/strict/unbrand-this.js b/test/staging/sm/strict/unbrand-this.js index 7041543d34..beeeee0296 100644 --- a/test/staging/sm/strict/unbrand-this.js +++ b/test/staging/sm/strict/unbrand-this.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending