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 an array index
8 named property, 'name' is own accessor property, test TypeError is
9 thrown on updating the configurable attribute from false to true
11 includes: [propertyHelper.js]
15 var getFunc = function() {
19 Object.defineProperty(arrObj, "0", {
25 Object.defineProperty(arrObj, "0", {
28 throw new Test262Error("Expected an exception.");
30 verifyEqualTo(arrObj, "0", getFunc());
32 if (!(e instanceof TypeError)) {
33 throw new Test262Error("Expected TypeError, got " + e.name);
37 verifyProperty(arrObj, "0", {