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 - 'O' is an Array, 'name' is generic own
8 accessor property of 'O', test TypeError is thrown when updating
9 the [[Configurable]] attribute value of 'name' which is defined as
10 non-configurable (15.4.5.1 step 5)
11 includes: [propertyHelper.js]
17 function setFunc(value) {
18 arrObj.setVerifyHelpProp = value;
20 Object.defineProperty(arrObj, "property", {
25 Object.defineProperty(arrObj, "property", {
28 throw new Test262Error("Expected an exception.");
30 verifyWritable(arrObj, "property", "setVerifyHelpProp");
32 if (!(e instanceof TypeError)) {
33 throw new Test262Error("Expected TypeError, got " + e);
37 verifyProperty(arrObj, "property", {