mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +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: |
|
description: |
|
||||||
Reconfiguring the first expando property added to an Error object shouldn't assert
|
Reconfiguring the first expando property added to an Error object shouldn't assert
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,12 +4,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var errors = ["Error", "EvalError", "RangeError", "ReferenceError",
|
var errors = ["Error", "EvalError", "RangeError", "ReferenceError",
|
||||||
"SyntaxError", "TypeError", "URIError"];
|
"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, true, "new " + errors[i] + "(...).message should exist");
|
||||||
assert.sameValue((desc || {}).enumerable, false, "new " + errors[i] + "(...).message should not be enumerable");
|
assert.sameValue((desc || {}).enumerable, false, "new " + errors[i] + "(...).message should not be enumerable");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user