webhid icon indicating copy to clipboard operation
webhid copied to clipboard

Missing tasks in parallel steps in WebHID API

Open dontcallmedom-bot opened this issue 1 year ago • 0 comments

While crawling WebHID API, the following algorithms fire an event, or resolve or reject a Promise, within a step that runs in parallel without first queuing a task:

  • [ ] The algorithm that starts with "The forget() method steps are:" resolves/rejects a promise directly in a step that runs in parallel

See Dealing with the event loop in the HTML specification for guidance on how to deal with algorithm sections that run in parallel.

Cc @dontcallmedom @tidoust

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

dontcallmedom-bot avatar Jan 30 '25 10:01 dontcallmedom-bot