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