1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 es5id: 15.2.3.7-6-a-272
7 Object.defineProperties - 'O' is an Array, 'P' is generic own data
8 property of 'O', test TypeError is thrown when updating the
9 [[Enumerable]] attribute value of 'P' which is defined as
10 non-configurable (15.4.5.1 step 5)
11 includes: [propertyHelper.js]
17 Object.defineProperty(arr, "property", {
23 Object.defineProperties(arr, {
28 throw new Test262Error("Expected an exception.");
30 if (!(e instanceof TypeError)) {
31 throw new Test262Error("Expected TypeError, got " + e);
35 verifyProperty(arr, "property", {