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 not throw TypeError when
8 name.configurable = false, name.writable = false, desc.value and
9 name.value are two numbers with the same value (8.12.9 step
11 includes: [propertyHelper.js]
17 Object.defineProperty(obj, "foo", {
23 Object.defineProperty(obj, "foo", {
26 verifyEqualTo(obj, "foo", 100);
28 verifyNotWritable(obj, "foo");
30 verifyNotEnumerable(obj, "foo");
32 verifyNotConfigurable(obj, "foo");