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-312
7 Object.defineProperties - 'O' is an Arguments object, 'P' is
8 generic own accessor property of 'O', test TypeError is thrown
9 when updating the [[Enumerable]] attribute value of 'P' which is
10 not configurable (10.6 [[DefineOwnProperty]] step 4)
11 includes: [propertyHelper.js]
14 var arg = (function() {
18 function setFun(value) {
19 arg.genericPropertyString = value;
21 Object.defineProperty(arg, "genericProperty", {
28 Object.defineProperties(arg, {
34 throw new Test262Error("Expected an exception.");
36 verifyWritable(arg, "genericProperty", "genericPropertyString");
38 if (!(e instanceof TypeError)) {
39 throw new Test262Error("Expected TypeError, got " + e);
43 verifyProperty(arg, "genericProperty", {