Skip to content

Commit ab596a0

Browse files
authored
Fix missing tasks in parallel steps in WebCodecs (#909)
1 parent d10c7d0 commit ab596a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.src.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5586,8 +5586,10 @@
55865586
1. If |type| is not a [=valid image MIME type=], return a {{Promise}}
55875587
rejected with {{TypeError}}.
55885588
2. Let |p| be a new {{Promise}}.
5589-
3. In parallel, resolve |p| with the result of running the
5590-
[=Check Type Support=] algorithm with |type|.
5589+
3. Run the following steps [=in parallel=]:
5590+
1. Let |isSupported| be the result of running the
5591+
[=Check Type Support=] algorithm with |type|.
5592+
2. [=Queue a task=] to resolve |p| with |isSupported|.
55915593
4. Return |p|.
55925594

55935595
### Algorithms ### {#imagedecoder-algorithms}

0 commit comments

Comments
 (0)