Skip to content

Commit

Permalink
File report on [mediacapture-handle-actions] Missing tasks in paralle…
Browse files Browse the repository at this point in the history
…l steps in The Capture-Handle Actions Mechanism
  • Loading branch information
strudy-bot authored and dontcallmedom committed Sep 10, 2024
1 parent 34115f3 commit c1730f3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions issues/mediacapture-handle-actions-missingtask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
Title: >-
[mediacapture-handle-actions] Missing tasks in parallel steps in The
Capture-Handle Actions Mechanism
Tracked: N/A
Repo: 'https://github.com/w3c/mediacapture-handle'
---

While crawling [The Capture-Handle Actions Mechanism](https://w3c.github.io/mediacapture-handle/actions/), 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 [MediaStreamTrack/sendCaptureAction()](https://w3c.github.io/mediacapture-handle/actions/#dom-mediastreamtrack-sendcaptureaction) 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>

0 comments on commit c1730f3

Please sign in to comment.