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