Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Object / defineProperty / 15.2.3.6-4-52.js
blob0d2ca8420a89adf868f91ed315211a62bd7944cc
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-4-52
6 description: >
7     Object.defineProperty - 'desc' is generic descriptor without any
8     attribute, test 'name' is defined in 'obj' with all default
9     attribute values (8.12.9 step 4.a.i)
10 includes: [propertyHelper.js]
11 ---*/
13 var obj = {};
15 Object.defineProperty(obj, "property", {});
17 verifyEqualTo(obj, "property", undefined);
19 verifyNotWritable(obj, "property");
21 verifyNotEnumerable(obj, "property");
23 verifyNotConfigurable(obj, "property");
25 reportCompare(0, 0);