diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js b/js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js new file mode 100644 index 0000000000..e55efdd3e9 --- /dev/null +++ b/js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js @@ -0,0 +1,19 @@ +// Copyright (C) 2015 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +es6id: 19.4.2.13 +description: > + `Symbol.toStringTag` property descriptor +info: | + This property has the attributes { [[Writable]]: false, [[Enumerable]]: + false, [[Configurable]]: false }. +includes: [propertyHelper.js] +features: [Symbol.toStringTag] +---*/ + +assert.sameValue(typeof Symbol.toStringTag, 'symbol'); +verifyNotEnumerable(Symbol, 'toStringTag'); +verifyNotWritable(Symbol, 'toStringTag'); +verifyNotConfigurable(Symbol, 'toStringTag'); + +reportCompare(0, 0); |