blob: 112e905d3026d6dc72d6cac052c6bea2de2c72b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// |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: >
SharedArrayBuffer.prototype.slice has default data property attributes.
info: |
SharedArrayBuffer.prototype.slice ( start, end )
17 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 18 through 26 and in
Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [SharedArrayBuffer]
---*/
verifyNotEnumerable(SharedArrayBuffer.prototype, "slice");
verifyWritable(SharedArrayBuffer.prototype, "slice");
verifyConfigurable(SharedArrayBuffer.prototype, "slice");
reportCompare(0, 0);
|