Skip to content

Commit

Permalink
Require timeout in waitFor
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed Sep 23, 2024
1 parent 0489456 commit 779ca58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,6 @@ <h1>Atomics.Condition.waitFor ( _cv_, _mutexUnlockToken_, _timeout_ [ , _predica
1. Perform ? RequireInternalSlot(_mutexUnlockToken_, [[LockedMutex]]).
1. Let _mutex_ be _mutexUnlockToken_.[[LockedMutex]].
1. If _mutex_ is ~empty~, throw a *TypeError* exception.
1. If _timeout_ is *undefined*, set _timeout_ to *+∞*<sub>𝔽</sub>.
1. If _timeout_ is not a Number, throw a *TypeError* exception.
1. If _timeout_ is either *NaN* or *+∞*<sub>𝔽</sub>, let _tMillis_ be +∞; else if _timeout_ is *-∞*<sub>𝔽</sub>, let _tMillis_ be 0; else let _tMillis_ be max(ℝ(_timeout_), 0).
1. If _predicate_ is not *undefined* and IsCallable(_predicate_) is *false*, throw a *TypeError* exception.
Expand Down

0 comments on commit 779ca58

Please sign in to comment.