| 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 |
description: Object.getOwnPropertyDescriptors should have length 1 |
| 6 |
esid: sec-object.getownpropertydescriptors |
| 7 |
author: Jordan Harband |
| 8 |
includes: [propertyHelper.js] |
| 9 |
---*/ |
| 10 |
|
| 11 |
assert.sameValue(Object.getOwnPropertyDescriptors.length, 1, 'Expected Object.getOwnPropertyDescriptors.length to be 1'); |
| 12 |
|
| 13 |
verifyNotEnumerable(Object.getOwnPropertyDescriptors, 'length'); |
| 14 |
verifyNotWritable(Object.getOwnPropertyDescriptors, 'length'); |
| 15 |
verifyConfigurable(Object.getOwnPropertyDescriptors, 'length'); |