From 27b61f051b5374d8c721d232d35cfd8f9559c22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:32 +0200 Subject: [PATCH] Enable strict mode testing for sm/lexical-environment --- test/staging/sm/lexical-environment/bug-1216623.js | 2 -- test/staging/sm/lexical-environment/catch-body.js | 2 -- .../sm/lexical-environment/const-declaration-in-for-loop.js | 2 -- .../for-loop-with-bindings-added-at-runtime.js | 2 -- test/staging/sm/lexical-environment/for-loop.js | 2 -- 5 files changed, 10 deletions(-) diff --git a/test/staging/sm/lexical-environment/bug-1216623.js b/test/staging/sm/lexical-environment/bug-1216623.js index a156a06723..d794310eeb 100644 --- a/test/staging/sm/lexical-environment/bug-1216623.js +++ b/test/staging/sm/lexical-environment/bug-1216623.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/lexical-environment/catch-body.js b/test/staging/sm/lexical-environment/catch-body.js index 3582e9fb7f..00723209ba 100644 --- a/test/staging/sm/lexical-environment/catch-body.js +++ b/test/staging/sm/lexical-environment/catch-body.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/lexical-environment/const-declaration-in-for-loop.js b/test/staging/sm/lexical-environment/const-declaration-in-for-loop.js index 538ad93a2f..323a80820c 100644 --- a/test/staging/sm/lexical-environment/const-declaration-in-for-loop.js +++ b/test/staging/sm/lexical-environment/const-declaration-in-for-loop.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | Don't crash compiling a non-body-level for-loop whose loop declaration is a const esid: pending diff --git a/test/staging/sm/lexical-environment/for-loop-with-bindings-added-at-runtime.js b/test/staging/sm/lexical-environment/for-loop-with-bindings-added-at-runtime.js index 9568377b50..34c511208b 100644 --- a/test/staging/sm/lexical-environment/for-loop-with-bindings-added-at-runtime.js +++ b/test/staging/sm/lexical-environment/for-loop-with-bindings-added-at-runtime.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | Don't assert when freshening the scope chain for a for-loop whose head contains a lexical declaration, where the loop body might add more bindings at runtime esid: pending diff --git a/test/staging/sm/lexical-environment/for-loop.js b/test/staging/sm/lexical-environment/for-loop.js index c4ac829045..8b35e1469d 100644 --- a/test/staging/sm/lexical-environment/for-loop.js +++ b/test/staging/sm/lexical-environment/for-loop.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | for-loop semantics for for(;;) loops whose heads contain lexical declarations esid: pending