diff --git a/issues/digital-credentials-missingtask.md b/issues/digital-credentials-missingtask.md new file mode 100644 index 00000000..568d66a1 --- /dev/null +++ b/issues/digital-credentials-missingtask.md @@ -0,0 +1,14 @@ +--- +Title: Missing tasks in parallel steps in Digital Credentials +Tracked: N/A +Repo: 'https://github.com/w3c-fedid/digital-credentials' +--- + +While crawling [Digital Credentials](https://w3c-fedid.github.io/digital-credentials/), the following algorithms fire an event, or resolve or reject a Promise, within a step that runs [in parallel](https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel) without first queuing a task: +* [ ] The [credential request coordinator/initiate the credential request](https://w3c-fedid.github.io/digital-credentials/#dfn-initiate-the-credential-request) algorithm resolves/rejects a promise directly in a step that runs in parallel + +See [Dealing with the event loop](https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-for-spec-authors) 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](https://github.com/w3c/strudy/) based on data collected in [webref](https://github.com/w3c/webref/).