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 Arguments object, 'name' is own
8 accessor property of 'O', test TypeError is thrown when updating
9 the [[Configurable]] attribute value of 'name' which is defined as
10 non-configurable (10.6 [[DefineOwnProperty]] step 4)
11 includes: [propertyHelper.js]
18 Object.defineProperty(arguments, "0", {
24 Object.defineProperty(arguments, "0", {
27 throw new Test262Error("Expected an exception.");
29 verifyEqualTo(arguments, "0", getFunc());
31 if (!(e instanceof TypeError)) {
32 throw new Test262Error("Expected TypeError, got " + e);
36 verifyProperty(arguments, "0", {