Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Object / defineProperty / 15.2.3.6-3-102.js
blob9352cdf3283678694431e8f5aed38e988ad8caf2
1 // Copyright (c) 2012 Ecma International.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 es5id: 15.2.3.6-3-102
6 description: >
7     Object.defineProperty - 'configurable' property in 'Attributes' is
8     false (8.10.5 step 4.b)
9 includes: [propertyHelper.js]
10 ---*/
12 var obj = {};
14 Object.defineProperty(obj, "property", {
15   configurable: false
16 });
18 verifyProperty(obj, "property", {
19   configurable: false,
20 });
22 reportCompare(0, 0);