From 53962c4cdf4bbb816f68fda8c5a0d049e401afe8 Mon Sep 17 00:00:00 2001 From: strudy-bot <> Date: Mon, 9 Sep 2024 09:59:54 +0000 Subject: [PATCH] File report on Missing tasks in parallel steps in EyeDropper API --- issues/eyedropper-api-missingtask.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 issues/eyedropper-api-missingtask.md diff --git a/issues/eyedropper-api-missingtask.md b/issues/eyedropper-api-missingtask.md new file mode 100644 index 00000000..a145514b --- /dev/null +++ b/issues/eyedropper-api-missingtask.md @@ -0,0 +1,14 @@ +--- +Title: Missing tasks in parallel steps in EyeDropper API +Tracked: N/A +Repo: 'https://github.com/WICG/eyedropper-api' +--- + +While crawling [EyeDropper API](https://wicg.github.io/eyedropper-api/), 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 [EyeDropper/open()](https://wicg.github.io/eyedropper-api/#dom-eyedropper-open) 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/).