From 1282833f3c7c56b35afab68883923deee055d752 Mon Sep 17 00:00:00 2001
From: strudy-bot <>
Date: Tue, 7 Jan 2025 09:46:46 +0000
Subject: [PATCH 1/2] File report on Missing tasks in parallel steps in Media
 Session

---
 issues/mediasession-missingtask.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 issues/mediasession-missingtask.md

diff --git a/issues/mediasession-missingtask.md b/issues/mediasession-missingtask.md
new file mode 100644
index 0000000..a9b8df1
--- /dev/null
+++ b/issues/mediasession-missingtask.md
@@ -0,0 +1,14 @@
+---
+Title: Missing tasks in parallel steps in Media Session
+Tracked: N/A
+Repo: 'https://github.com/w3c/mediasession'
+---
+
+While crawling [Media Session](https://w3c.github.io/mediasession/), 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 [update capture state algorithm](https://w3c.github.io/mediasession/#update-capture-state-algorithm) 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*.
+
+<sub>Cc @dontcallmedom @tidoust</sub>
+
+<sub>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/).</sub>

From 03aa361b2bade9401d01aef4e0dc40af2195fd05 Mon Sep 17 00:00:00 2001
From: Dominique Hazael-Massieux <dom@w3.org>
Date: Thu, 9 Jan 2025 09:21:00 +0100
Subject: [PATCH 2/2] Update issues/mediasession-missingtask.md

---
 issues/mediasession-missingtask.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/issues/mediasession-missingtask.md b/issues/mediasession-missingtask.md
index a9b8df1..ee042e4 100644
--- a/issues/mediasession-missingtask.md
+++ b/issues/mediasession-missingtask.md
@@ -1,6 +1,6 @@
 ---
 Title: Missing tasks in parallel steps in Media Session
-Tracked: N/A
+Tracked: https://github.com/w3c/mediasession/issues/339
 Repo: 'https://github.com/w3c/mediasession'
 ---