| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.seal - the [[Configurable]] attribute of own data property |
| of 'O' is set from true to false and other attributes of the |
| includes: [propertyHelper.js] |
| Object.defineProperty(obj, "foo", { |
| var preCheck = Object.isExtensible(obj); |
| $ERROR('Expected preCheck to be true, actually ' + preCheck); |
| verifyEqualTo(obj, "foo", 10); |
| verifyWritable(obj, "foo"); |
| verifyEnumerable(obj, "foo"); |
| verifyNotConfigurable(obj, "foo"); |