Skip to content

Commit

Permalink
File report on Missing tasks in parallel steps in Screen Orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
strudy-bot authored and dontcallmedom committed Jan 7, 2025
1 parent 333389e commit e32e428
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions issues/screen-orientation-missingtask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
Title: Missing tasks in parallel steps in Screen Orientation
Tracked: N/A
Repo: 'https://github.com/w3c/screen-orientation'
---

While crawling [Screen Orientation](https://w3c.github.io/screen-orientation/), 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 [apply orientation lock](https://w3c.github.io/screen-orientation/#dfn-apply-orientation-lock) 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 e32e428

Please sign in to comment.