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