From 9cd23855917307b26ea51dbd62232dbcb47f8d08 Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Thu, 20 Nov 2025 09:17:24 +0200 Subject: [PATCH] fix: unify and clarify language around undefined timeout arg in DoWait --- .../Atomics/waitAsync/bigint/undefined-for-timeout-agent.js | 2 +- .../built-ins/Atomics/waitAsync/bigint/undefined-for-timeout.js | 2 +- .../Atomics/waitAsync/implicit-infinity-for-timeout.js | 2 +- test/built-ins/Atomics/waitAsync/undefined-for-timeout-agent.js | 2 +- test/built-ins/Atomics/waitAsync/undefined-for-timeout.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout-agent.js b/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout-agent.js index 64636d7e3c..220bffaa83 100644 --- a/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout-agent.js +++ b/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout-agent.js @@ -4,7 +4,7 @@ /*--- esid: sec-atomics.waitasync description: > - Undefined timeout arg is coerced to zero + Undefined timeout arg should result in an infinite timeout info: | Atomics.waitAsync( typedArray, index, value, timeout ) diff --git a/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout.js b/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout.js index 43500c09e7..47df907264 100644 --- a/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout.js +++ b/test/built-ins/Atomics/waitAsync/bigint/undefined-for-timeout.js @@ -3,7 +3,7 @@ /*--- esid: sec-atomics.waitasync description: > - Undefined timeout arg is coerced to zero + Undefined timeout arg should result in an infinite timeout info: | Atomics.waitAsync( typedArray, index, value, timeout ) diff --git a/test/built-ins/Atomics/waitAsync/implicit-infinity-for-timeout.js b/test/built-ins/Atomics/waitAsync/implicit-infinity-for-timeout.js index 59fb382f25..77a6531af8 100644 --- a/test/built-ins/Atomics/waitAsync/implicit-infinity-for-timeout.js +++ b/test/built-ins/Atomics/waitAsync/implicit-infinity-for-timeout.js @@ -4,7 +4,7 @@ /*--- esid: sec-atomics.waitasync description: > - Undefined timeout arg is coerced to zero + Undefined timeout arg should result in an infinite timeout info: | Atomics.waitAsync( typedArray, index, value, timeout ) diff --git a/test/built-ins/Atomics/waitAsync/undefined-for-timeout-agent.js b/test/built-ins/Atomics/waitAsync/undefined-for-timeout-agent.js index ddda9280fa..79de4432b2 100644 --- a/test/built-ins/Atomics/waitAsync/undefined-for-timeout-agent.js +++ b/test/built-ins/Atomics/waitAsync/undefined-for-timeout-agent.js @@ -4,7 +4,7 @@ /*--- esid: sec-atomics.waitasync description: > - Undefined timeout arg is coerced to zero + Undefined timeout arg should result in an infinite timeout info: | Atomics.waitAsync( typedArray, index, value, timeout ) diff --git a/test/built-ins/Atomics/waitAsync/undefined-for-timeout.js b/test/built-ins/Atomics/waitAsync/undefined-for-timeout.js index 6015c551b6..1eaffb5930 100644 --- a/test/built-ins/Atomics/waitAsync/undefined-for-timeout.js +++ b/test/built-ins/Atomics/waitAsync/undefined-for-timeout.js @@ -4,7 +4,7 @@ /*--- esid: sec-atomics.waitasync description: > - Undefined timeout arg is coerced to zero + Undefined timeout arg should result in an infinite timeout info: | Atomics.waitAsync( typedArray, index, value, timeout )