1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 esid: sec-setintegritylevel
7 Object.seal - 'P' is own accessor property that overrides an
8 inherited accessor property
9 includes: [propertyHelper.js]
14 Object.defineProperty(proto, "foo", {
21 var ConstructFun = function() {};
22 ConstructFun.prototype = proto;
24 var obj = new ConstructFun();
26 Object.defineProperty(obj, "foo", {
33 assert(Object.isExtensible(obj));
36 verifyProperty(obj, "foo", {
40 assert.sameValue(obj.foo, 10);