Skip to content

Commit 8ac7073

Browse files
committed
Editorial: Indicate the expected future change of AllocateArrayBuffer parameter _maxByteLength_
1 parent e2cacdb commit 8ac7073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec.emu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,14 @@ contributors: Mark S. Miller, Richard Gibson
375375
AllocateArrayBuffer (
376376
_constructor_: a constructor,
377377
_byteLength_: a non-negative integer,
378-
optional _maxByteLength_: a non-negative integer, or either ~empty~ or ~immutable~,
378+
optional _maxByteLength_: a non-negative integer, <del>or ~empty~</del> <ins>or either ~empty~ or ~immutable~</ins>,
379379
): either a normal completion containing an ArrayBuffer or a throw completion
380380
</h1>
381381
<dl class="header">
382382
<dt>description</dt>
383383
<dd>It is used to create an ArrayBuffer.</dd>
384384
</dl>
385+
<emu-note type="editor">The current name and domain of parameter _maxByteLength_ is preserved for the benefit of diff readability, but both may be subject to change before acceptance into ECMA-262.</emu-note>
385386
<emu-alg>
386387
1. Let _slots_ be « [[ArrayBufferData]], [[ArrayBufferByteLength]], [[ArrayBufferDetachKey]] ».
387388
1. If _maxByteLength_ is present and _maxByteLength_ is <del>not ~empty~</del> <ins>an integer</ins>, let _allocatingResizableBuffer_ be *true*; otherwise let _allocatingResizableBuffer_ be *false*.

0 commit comments

Comments
 (0)