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.freeze - 'P' is own data property that overrides an
8 inherited accessor property
9 includes: [propertyHelper.js]
14 Object.defineProperty(proto, "foo", {
21 var Con = function() {};
22 Con.prototype = proto;
24 var child = new Con();
25 Object.defineProperty(child, "foo", {
32 verifyNotWritable(child, "foo");
33 verifyNotConfigurable(child, "foo");
34 assert.sameValue(child.foo, 10);