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-306
7 Object.defineProperties - 'O' is an Arguments object, 'P' is
8 generic own data property of 'O', test TypeError is thrown when
9 updating the [[Value]] attribute value of 'P' which is not
10 writable and not configurable (10.6 [[DefineOwnProperty]] step 4)
11 includes: [propertyHelper.js]
14 var arg = (function() {
18 Object.defineProperty(arg, "genericProperty", {
25 Object.defineProperties(arg, {
31 throw new Test262Error("Expected an exception.");
33 if (!(e instanceof TypeError)) {
34 throw new Test262Error("Expected TypeError, got " + e);
38 verifyProperty(arg, "genericProperty", {