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 data property of 'O', test TypeError is thrown when updating the
9 [[Enumerable]] attribute value of 'name' which is defined as
10 non-configurable (15.4.5.1 step 5)
11 includes: [propertyHelper.js]
16 Object.defineProperty(arrObj, "property", {
21 Object.defineProperty(arrObj, "property", {
24 throw new Test262Error("Expected an exception.");
26 if (!(e instanceof TypeError)) {
27 throw new Test262Error("Expected TypeError, got " + e);
31 verifyProperty(arrObj, "property", {