diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Symbol/prototype/description/is-not-own-property.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Symbol/prototype/description/is-not-own-property.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Symbol/prototype/description/is-not-own-property.js b/js/src/tests/test262/built-ins/Symbol/prototype/description/is-not-own-property.js new file mode 100644 index 0000000000..d5bbe141fc --- /dev/null +++ b/js/src/tests/test262/built-ins/Symbol/prototype/description/is-not-own-property.js @@ -0,0 +1,16 @@ +// Copyright 2018 Igalia, S.L. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-symbol.prototype.description +description: Ensure that 'description' is not an own property of Symbols +features: [Symbol.prototype.description] +---*/ + +assert.sameValue( + Symbol().hasOwnProperty('description'), + false, + 'Symbol().hasOwnProperty("description") returns false' +); + +reportCompare(0, 0); |