diff --git a/spec.html b/spec.html index 683fae764f..80db0a62e7 100644 --- a/spec.html +++ b/spec.html @@ -35090,6 +35090,7 @@

DataView ( _buffer_ [ , _byteOffset_ [ , _byteLength_ ] ] )

1. Let _viewByteLength_ be ? ToIndex(_byteLength_). 1. If _offset_+_viewByteLength_ > _bufferByteLength_, throw a *RangeError* exception. 1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, `"%DataViewPrototype%"`, « [[DataView]], [[ViewedArrayBuffer]], [[ByteLength]], [[ByteOffset]] »). + 1. If IsDetachedBuffer(_buffer_) is *true*, throw a *TypeError* exception. 1. Set _O_.[[ViewedArrayBuffer]] to _buffer_. 1. Set _O_.[[ByteLength]] to _viewByteLength_. 1. Set _O_.[[ByteOffset]] to _offset_.