diff --git a/spec.html b/spec.html index c1b900b1a7..24fccebfd9 100644 --- a/spec.html +++ b/spec.html @@ -41923,7 +41923,7 @@

1. Perform ? ValidateTypedArray(_typedArray_). 1. Let _buffer_ be _typedArray_.[[ViewedArrayBuffer]]. 1. If _waitable_ is *true*, then - 1. If _typedArray_.[[TypedArrayName]] is not *"Int32Array"* or *"BigInt64Array"*, throw a *TypeError* exception. + 1. If _typedArray_.[[TypedArrayName]] is neither *"Int32Array"* nor *"BigInt64Array"*, throw a *TypeError* exception. 1. Else, 1. Let _type_ be TypedArrayElementType(_typedArray_). 1. If IsUnclampedIntegerElementType(_type_) is *false* and IsBigIntElementType(_type_) is *false*, throw a *TypeError* exception. @@ -42080,7 +42080,7 @@

1. Assert: The surrounding agent is in the critical section for _WL_. - 1. Assert: _W_ is equivalent to AgentSignifier(). + 1. Assert: _W_ is AgentSignifier(). 1. Assert: _W_ is on the list of waiters in _WL_. 1. Assert: AgentCanSuspend() is *true*. 1. Perform LeaveCriticalSection(_WL_) and suspend _W_ for up to _timeout_ milliseconds, performing the combined operation in such a way that a notification that arrives after the critical section is exited but before the suspension takes effect is not lost. _W_ can notify either because the timeout expired or because it was notified explicitly by another agent calling NotifyWaiter with arguments _WL_ and _W_, and not for any other reasons at all.