1 // |reftest| skip-if(!this.hasOwnProperty('SharedArrayBuffer')) -- SharedArrayBuffer is not enabled unconditionally
2 // Copyright (C) 2015 André Bargull. All rights reserved.
3 // Copyright (C) 2017 Mozilla Corporation. All rights reserved.
4 // This code is governed by the BSD license found in the LICENSE file.
8 SharedArrayBuffer.prototype.slice.name is "slice".
10 SharedArrayBuffer.prototype.slice ( start, end )
12 17 ECMAScript Standard Built-in Objects:
13 Every built-in Function object, including constructors, that is not
14 identified as an anonymous function has a name property whose value
17 Unless otherwise specified, the name property of a built-in Function
18 object, if it exists, has the attributes { [[Writable]]: false,
19 [[Enumerable]]: false, [[Configurable]]: true }.
20 includes: [propertyHelper.js]
21 features: [SharedArrayBuffer]
24 assert.sameValue(SharedArrayBuffer.prototype.slice.name, "slice");
26 verifyNotEnumerable(SharedArrayBuffer.prototype.slice, "name");
27 verifyNotWritable(SharedArrayBuffer.prototype.slice, "name");
28 verifyConfigurable(SharedArrayBuffer.prototype.slice, "name");