From e7a05742934cfb23d3a2aac71c8c9d69eca21726 Mon Sep 17 00:00:00 2001 From: strudy-bot <> Date: Fri, 6 Sep 2024 09:18:40 +0000 Subject: [PATCH] File report on Missing tasks in parallel steps in Indexed Database API 3.0 --- issues/IndexedDB-3-missingtask.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 issues/IndexedDB-3-missingtask.md diff --git a/issues/IndexedDB-3-missingtask.md b/issues/IndexedDB-3-missingtask.md new file mode 100644 index 00000000..3532c00d --- /dev/null +++ b/issues/IndexedDB-3-missingtask.md @@ -0,0 +1,14 @@ +--- +Title: Missing tasks in parallel steps in Indexed Database API 3.0 +Tracked: N/A +Repo: 'https://github.com/w3c/IndexedDB' +--- + +While crawling [Indexed Database API 3.0](https://w3c.github.io/IndexedDB/), 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 [IDBFactory/databases()](https://w3c.github.io/IndexedDB/#dom-idbfactory-databases) 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/).