diff --git a/issues/get-installed-related-apps-missingtask.md b/issues/get-installed-related-apps-missingtask.md new file mode 100644 index 0000000..57d207c --- /dev/null +++ b/issues/get-installed-related-apps-missingtask.md @@ -0,0 +1,14 @@ +--- +Title: Missing tasks in parallel steps in Get Installed Related Apps API +Tracked: N/A +Repo: 'https://github.com/WICG/get-installed-related-apps' +--- + +While crawling [Get Installed Related Apps API](https://wicg.github.io/get-installed-related-apps/spec/), 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 [getInstalledRelatedApps()](https://wicg.github.io/get-installed-related-apps/spec/#dom-navigator-getinstalledrelatedapps) 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/).