diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/normal-object.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/normal-object.js b/js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/normal-object.js new file mode 100644 index 0000000000..44faa13b10 --- /dev/null +++ b/js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/normal-object.js @@ -0,0 +1,15 @@ +// Copyright (C) 2016 Jordan Harband. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +description: Object.getOwnPropertyDescriptors should produce a normal object inheriting from Object.prototype +esid: sec-object.getownpropertydescriptors +author: Jordan Harband +---*/ + +assert.sameValue( + Object.getPrototypeOf(Object.getOwnPropertyDescriptors({})), + Object.prototype +); + +reportCompare(0, 0); |