mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 11:08:49 +02:00
Enable strict mode testing for sm/Exceptions
This commit is contained in:
parent
8c2c38426b
commit
53e5d81251
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
/*---
|
||||
flags:
|
||||
- noStrict
|
||||
description: |
|
||||
Reconfiguring the first expando property added to an Error object shouldn't assert
|
||||
esid: pending
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user