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 will throw TypeError when name.configurable
8 = false, name.[[Set]] is undefined, desc.[[Set]] refers to an
9 object (8.12.9 step 11.a.i)
10 includes: [propertyHelper.js]
20 Object.defineProperty(obj, "property", {
26 Object.defineProperty(obj, "property", {
32 throw new Test262Error("Expected an exception.");
34 verifyEqualTo(obj, "property", getFunc());
36 if (!(e instanceof TypeError)) {
37 throw new Test262Error("Expected TypeError, got " + e);
41 verifyProperty(obj, "property", {