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 - 'name' and 'desc' are accessor properties,
8 several attributes values of 'name' and 'desc' are different
10 includes: [propertyHelper.js]
20 function setFunc1() {}
22 Object.defineProperty(obj, "foo", {
33 function setFunc2(value) {
34 obj.setVerifyHelpProp = value;
36 Object.defineProperty(obj, "foo", {
41 verifyEqualTo(obj, "foo", getFunc2());
43 verifyWritable(obj, "foo", "setVerifyHelpProp");
45 verifyNotEnumerable(obj, "foo");
47 verifyConfigurable(obj, "foo");