diff --git a/spec.html b/spec.html index 965b18318d5..e9039e66a5d 100644 --- a/spec.html +++ b/spec.html @@ -39505,7 +39505,6 @@

1. Let _data_ be ? CloneArrayBuffer(_srcData_, _srcByteOffset_, _byteLength_). 1. Else, 1. Let _data_ be ? AllocateArrayBuffer(%ArrayBuffer%, _byteLength_). - 1. Assert: IsDetachedBuffer(_srcData_) is *false*. 1. If _srcArray_.[[ContentType]] ≠ _O_.[[ContentType]], throw a *TypeError* exception. 1. Let _srcByteIndex_ be _srcByteOffset_. 1. Let _targetByteIndex_ be 0. @@ -40680,8 +40679,8 @@

It creates a new ArrayBuffer whose data is a copy of _srcBuffer_'s data over the range starting at _srcByteOffset_ and continuing for _srcLength_ bytes.
+ 1. Assert: IsDetachedBuffer(_srcBuffer_) is *false*. 1. Let _targetBuffer_ be ? AllocateArrayBuffer(%ArrayBuffer%, _srcLength_). - 1. Assert: IsDetachedBuffer(_surcBuffer_) is *false*. 1. Let _srcBlock_ be _srcBuffer_.[[ArrayBufferData]]. 1. Let _targetBlock_ be _targetBuffer_.[[ArrayBufferData]]. 1. Perform CopyDataBlockBytes(_targetBlock_, 0, _srcBlock_, _srcByteOffset_, _srcLength_).