diff --git a/spec.emu b/spec.emu index 7a76f8d..5e62e7e 100644 --- a/spec.emu +++ b/spec.emu @@ -844,7 +844,7 @@ contributors: Mark S. Miller, Richard Gibson 1. If IsSharedArrayBuffer(_O_) is *true*, throw a *TypeError* exception. 1. Let _newByteLength_ be ? ToIndex(_newLength_). 1. If IsDetachedBuffer(_O_) is *true*, throw a *TypeError* exception. - 1. If IsImmutableBuffer(_O_) is *true*, throw a *TypeError* exception. + 1. Assert: IsImmutableBuffer(_O_) is *false*. 1. If _newByteLength_ > _O_.[[ArrayBufferMaxByteLength]], throw a *RangeError* exception. 1. Let _hostHandled_ be ? HostResizeArrayBuffer(_O_, _newByteLength_). 1. If _hostHandled_ is ~handled~, return *undefined*.