blob: 9a124c9d045ad6f1bacb1b13164e510b9e32e5e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// |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-get-sharedarraybuffer.prototype.growable
description: Requires this value to have a [[ArrayBufferData]] internal slot
info: |
get SharedArrayBuffer.prototype.growable
1. Let O be the this value.
2. Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
[...]
features: [SharedArrayBuffer, resizable-arraybuffer]
---*/
assert.throws(TypeError, function() {
SharedArrayBuffer.prototype.growable;
});
reportCompare(0, 0);
|