From 24c129ef4085f2b178ae1a51a285485992f49f3b Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Wed, 12 Nov 2025 10:43:47 +0900 Subject: [PATCH] Fix missing tasks in parallel steps in WebCodecs --- index.src.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.src.html b/index.src.html index 3da26074..2f61c009 100644 --- a/index.src.html +++ b/index.src.html @@ -5583,8 +5583,10 @@ 1. If |type| is not a [=valid image MIME type=], return a {{Promise}} rejected with {{TypeError}}. 2. Let |p| be a new {{Promise}}. - 3. In parallel, resolve |p| with the result of running the - [=Check Type Support=] algorithm with |type|. + 3. Run the following steps [=in parallel=]: + 1. Let |isSupported| be the result of running the + [=Check Type Support=] algorithm with |type|. + 2. [=Queue a task=] to resolve |p| with |isSupported|. 4. Return |p|. ### Algorithms ### {#imagedecoder-algorithms}