Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Object/defineProperty/15.2.3.6-4-52.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
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 ---*/
12
13 var obj = {};
14
15 Object.defineProperty(obj, "property", {});
16
17 verifyEqualTo(obj, "property", undefined);
18
19 verifyNotWritable(obj, "property");
20
21 verifyNotEnumerable(obj, "property");
22
23 verifyNotConfigurable(obj, "property");