tests/auto/qml/ecmascripttests/test262/test/built-ins/global/property-descriptor.js
raw| 1 | // Copyright (C) 2016 Jordan Harband. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | esid: sec-other-properties-of-the-global-object-global |
| 6 | description: "'global' should be writable, non-enumerable, and configurable" |
| 7 | author: Jordan Harband |
| 8 | includes: [propertyHelper.js] |
| 9 | ---*/ |
| 10 | |
| 11 | verifyNotEnumerable(this, 'global'); |
| 12 | verifyWritable(this, 'global'); |
| 13 | verifyConfigurable(this, 'global'); |