We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3b1cdf commit b862bc6Copy full SHA for b862bc6
spec.emu
@@ -845,7 +845,7 @@ contributors: Mark S. Miller, Richard Gibson
845
1. If IsSharedArrayBuffer(_O_) is *true*, throw a *TypeError* exception.
846
1. Let _newByteLength_ be ? ToIndex(_newLength_).
847
1. If IsDetachedBuffer(_O_) is *true*, throw a *TypeError* exception.
848
- 1. <ins>If IsImmutableBuffer(_O_) is *true*, throw a *TypeError* exception.</ins>
+ 1. <ins>Assert: IsImmutableBuffer(_O_) is *false*.</ins>
849
1. If _newByteLength_ > _O_.[[ArrayBufferMaxByteLength]], throw a *RangeError* exception.
850
1. Let _hostHandled_ be ? HostResizeArrayBuffer(_O_, _newByteLength_).
851
1. If _hostHandled_ is ~handled~, return *undefined*.
0 commit comments