Enable strict mode testing for sm/Exceptions

This commit is contained in:
André Bargull 2025-04-30 14:16:27 +02:00 committed by Philip Chimento
parent 8c2c38426b
commit 53e5d81251
2 changed files with 1 additions and 5 deletions

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Reconfiguring the first expando property added to an Error object shouldn't assert
esid: pending

View File

@ -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");
}