mirror of https://github.com/tc39/test262.git
Fix: Broken test: language/global-code/decl-lex-configurable-global.js. Closes gh-2897
This commit is contained in:
parent
df1bce9c2e
commit
e1bfbbfdc8
|
@ -19,14 +19,15 @@ info: |
|
|||
1. Perform ? envRec.CreateImmutableBinding(dn, true).
|
||||
ii. Else,
|
||||
1. Perform ? envRec.CreateMutableBinding(dn, false).
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
let Array;
|
||||
|
||||
assert.sameValue(Array, undefined);
|
||||
|
||||
assert.sameValue(typeof this.Array, 'function');
|
||||
verifyNotEnumerable(this, 'Array');
|
||||
verifyWritable(this, 'Array');
|
||||
verifyConfigurable(this, 'Array');
|
||||
|
||||
// DO NOT USE propertyHelper API!
|
||||
let descriptor = Object.getOwnPropertyDescriptor(this, 'Array');
|
||||
assert.sameValue(descriptor.configurable, true);
|
||||
assert.sameValue(descriptor.enumerable, false);
|
||||
assert.sameValue(descriptor.writable, true);
|
||||
|
|
Loading…
Reference in New Issue