blob: 6d776dcd28a15a4693e24351ab11ca52f06807eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// |reftest| skip-if(!this.hasOwnProperty('SharedArrayBuffer')) -- SharedArrayBuffer is not enabled unconditionally
// Copyright (C) 2015 André Bargull. 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: >
The `SharedArrayBuffer.prototype.constructor` property descriptor.
includes: [propertyHelper.js]
features: [SharedArrayBuffer]
---*/
assert.sameValue(SharedArrayBuffer.prototype.constructor, SharedArrayBuffer);
verifyNotEnumerable(SharedArrayBuffer.prototype, "constructor");
verifyWritable(SharedArrayBuffer.prototype, "constructor");
verifyConfigurable(SharedArrayBuffer.prototype, "constructor");
reportCompare(0, 0);
|