blob: 3465ce0753edf1a3e4c938366d7d3c613b097a48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// |reftest| skip -- resizable-arraybuffer is not supported
// Copyright (C) 2021 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-sharedarraybuffer.prototype.grow
description: SharedArrayBuffer.prototype.grow is extensible.
info: |
SharedArrayBuffer.prototype.grow ( newLength )
17 ECMAScript Standard Built-in Objects:
Unless specified otherwise, the [[Extensible]] internal slot
of a built-in object initially has the value true.
features: [SharedArrayBuffer, resizable-arraybuffer]
---*/
assert(Object.isExtensible(SharedArrayBuffer.prototype.grow));
reportCompare(0, 0);
|