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.defineProperties throws TypeError when P.configurable is
8 false, both properties.[[Get]] and P.[[Get]] are two objects which
9 refer to different objects (8.12.9 step 11.a.ii)
10 includes: [propertyHelper.js]
16 function set_func(value) {
17 obj.setVerifyHelpProp = value;
20 function get_func1() {
24 Object.defineProperty(obj, "foo", {
31 function get_func2() {
36 Object.defineProperties(obj, {
41 throw new Test262Error("Expected an exception");
43 verifyEqualTo(obj, "foo", get_func1());
45 verifyWritable(obj, "foo", "setVerifyHelpProp");
47 if (!(e instanceof TypeError)) {
48 throw new Test262Error("Expected TypeError, got " + e);
52 verifyProperty(obj, "foo", {