diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/SharedArrayBuffer/prototype/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/built-ins/SharedArrayBuffer/prototype/prop-desc.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/SharedArrayBuffer/prototype/prop-desc.js b/js/src/tests/test262/built-ins/SharedArrayBuffer/prototype/prop-desc.js new file mode 100644 index 0000000000..d930563d65 --- /dev/null +++ b/js/src/tests/test262/built-ins/SharedArrayBuffer/prototype/prop-desc.js @@ -0,0 +1,20 @@ +// |reftest| skip-if(!this.hasOwnProperty('SharedArrayBuffer')) -- SharedArrayBuffer is not enabled unconditionally +// Copyright (C) 2021 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +esid: sec-sharedarraybuffer.prototype +description: Property descriptor of the 'prototype' property +info: | + This property has the attributes { [[Writable]]: false, [[Enumerable]]: + false, [[Configurable]]: false }. +includes: [propertyHelper.js] +features: [SharedArrayBuffer] +---*/ + +verifyProperty(SharedArrayBuffer, 'prototype', { + enumerable: false, + writable: false, + configurable: false +}); + +reportCompare(0, 0); |