blob: 32562f120827e3832d6691bc80e1798b4f6d95bd [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
`Symbol.toStringTag` property descriptor
info: |
The initial value of the @@toStringTag property is the String value
"SharedArrayBuffer".
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [SharedArrayBuffer, Symbol.toStringTag]
---*/
assert.sameValue(SharedArrayBuffer.prototype[Symbol.toStringTag], 'SharedArrayBuffer');
verifyNotEnumerable(SharedArrayBuffer.prototype, Symbol.toStringTag);
verifyNotWritable(SharedArrayBuffer.prototype, Symbol.toStringTag);
verifyConfigurable(SharedArrayBuffer.prototype, Symbol.toStringTag);