| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.defineProperty - Update [[Enumerable]] and [[Configurable]] |
| attributes of 'name' property to false successfully when |
| [[Enumerable]] and [[Configurable]] attributes of 'name' property |
| are true, the 'desc' is a generic descriptor which contains |
| [[Enumerable]] and [[Configurable]] attributes as false, 'name' |
| property is a data property (8.12.9 step 8) |
| includes: [propertyHelper.js] |
| Object.defineProperty(obj, "foo", { |
| Object.defineProperty(obj, "foo", { |
| verifyEqualTo(obj, "foo", 1001); |
| verifyWritable(obj, "foo"); |
| verifyNotEnumerable(obj, "foo"); |
| verifyNotConfigurable(obj, "foo"); |