Skip to content

Ignore canceled ImageDecoder settlement tasks - #993

Merged
Djuffin merged 1 commit into
w3c:mainfrom
JinDX:patch-5
Nov 9, 2026
Merged

Djuffin merged 1 commit into
w3c:mainfrom
JinDX:patch-5

Conversation

@JinDX

@JinDX JinDX commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Skip queued Resolve Decode and Reject Infeasible Decode tasks when their promise has already been removed from [[pending decode promises]].

Reset ImageDecoder rejects and removes pending decode promises without setting [[closed]]. A previously queued settlement task can therefore pass the current closed check after reset, then reach the assertion that its removed promise is still pending. Checking membership before continuing prevents those stale tasks while preserving settlement of promises that remain pending.


Preview | Diff

@w3cbot

w3cbot commented Nov 9, 2026

Copy link
Copy Markdown

tidoust marked as non substantive for IPR from ash-nazg.

@Djuffin
Djuffin merged commit fa8bfbb into w3c:main Nov 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants