diff --git a/spec.html b/spec.html index b5e2f54a128..0f36977f8df 100644 --- a/spec.html +++ b/spec.html @@ -25602,7 +25602,7 @@

NativeError ( _message_ )

When a _NativeError_ function is called with argument _message_, the following steps are taken:

1. If NewTarget is *undefined*, let _newTarget_ be the active function object; else let _newTarget_ be NewTarget. - 1. Let _O_ be ? OrdinaryCreateFromConstructor(_newTarget_, "%NativeErrorPrototype%", « [[ErrorData]] »). + 1. Let _O_ be ? OrdinaryCreateFromConstructor(_newTarget_, "%NativeErrorPrototype%", « [[ErrorData]] »). 1. If _message_ is not *undefined*, then 1. Let _msg_ be ? ToString(_message_). 1. Let _msgDesc_ be the PropertyDescriptor { [[Value]]: _msg_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *true* }. @@ -33990,7 +33990,7 @@

_TypedArray_ ( )

1. If NewTarget is *undefined*, throw a *TypeError* exception. 1. Let _constructorName_ be the String value of the Constructor Name value specified in for this TypedArray constructor. - 1. Return ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%", 0). + 1. Return ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%", 0). @@ -34003,7 +34003,7 @@

_TypedArray_ ( _length_ )

1. If NewTarget is *undefined*, throw a *TypeError* exception. 1. Let _elementLength_ be ? ToIndex(_length_). 1. Let _constructorName_ be the String value of the Constructor Name value specified in for this TypedArray constructor. - 1. Return ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%", _elementLength_). + 1. Return ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%", _elementLength_).
@@ -34052,7 +34052,7 @@

_TypedArray_ ( _typedArray_ )

1. Assert: Type(_typedArray_) is Object and _typedArray_ has a [[TypedArrayName]] internal slot. 1. If NewTarget is *undefined*, throw a *TypeError* exception. 1. Let _constructorName_ be the String value of the Constructor Name value specified in for this TypedArray constructor. - 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). + 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). 1. Let _srcArray_ be _typedArray_. 1. Let _srcData_ be _srcArray_.[[ViewedArrayBuffer]]. 1. If IsDetachedBuffer(_srcData_) is *true*, throw a *TypeError* exception. @@ -34098,7 +34098,7 @@

_TypedArray_ ( _object_ )

1. Assert: Type(_object_) is Object and _object_ does not have either a [[TypedArrayName]] or an [[ArrayBufferData]] internal slot. 1. If NewTarget is *undefined*, throw a *TypeError* exception. 1. Let _constructorName_ be the String value of the Constructor Name value specified in for this TypedArray constructor. - 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). + 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). 1. Let _usingIterator_ be ? GetMethod(_object_, @@iterator). 1. If _usingIterator_ is not *undefined*, then 1. Let _values_ be ? IterableToList(_object_, _usingIterator_). @@ -34134,7 +34134,7 @@

_TypedArray_ ( _buffer_ [ , _byteOffset_ [ , _length_ ] ] )

1. Assert: Type(_buffer_) is Object and _buffer_ has an [[ArrayBufferData]] internal slot. 1. If NewTarget is *undefined*, throw a *TypeError* exception. 1. Let _constructorName_ be the String value of the Constructor Name value specified in for this TypedArray constructor. - 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). + 1. Let _O_ be ? AllocateTypedArray(_constructorName_, NewTarget, "%TypedArrayPrototype%"). 1. Let _elementSize_ be the Element Size value in for _constructorName_. 1. Let _offset_ be ? ToIndex(_byteOffset_). 1. If _offset_ modulo _elementSize_ ≠ 0, throw a *RangeError* exception.