From 53e5d81251f1a651dbc0255e4874a3c7b32c0cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:27 +0200 Subject: [PATCH] Enable strict mode testing for sm/Exceptions --- test/staging/sm/Exceptions/error-expando-reconfigure.js | 2 -- test/staging/sm/Exceptions/error-property-enumerability.js | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/staging/sm/Exceptions/error-expando-reconfigure.js b/test/staging/sm/Exceptions/error-expando-reconfigure.js index 8196c2e383..b58e5508e3 100644 --- a/test/staging/sm/Exceptions/error-expando-reconfigure.js +++ b/test/staging/sm/Exceptions/error-expando-reconfigure.js @@ -4,8 +4,6 @@ */ /*--- -flags: - - noStrict description: | Reconfiguring the first expando property added to an Error object shouldn't assert esid: pending diff --git a/test/staging/sm/Exceptions/error-property-enumerability.js b/test/staging/sm/Exceptions/error-property-enumerability.js index 8bc57a91d3..804cb343a7 100644 --- a/test/staging/sm/Exceptions/error-property-enumerability.js +++ b/test/staging/sm/Exceptions/error-property-enumerability.js @@ -4,12 +4,11 @@ */ /*--- -flags: - - noStrict description: | pending esid: pending ---*/ + var errors = ["Error", "EvalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"]; @@ -33,4 +32,3 @@ for (var i = 0; i < errors.length; i++) { assert.sameValue(!!desc, true, "new " + errors[i] + "(...).message should exist"); assert.sameValue((desc || {}).enumerable, false, "new " + errors[i] + "(...).message should not be enumerable"); } -