Skip to content

Commit

Permalink
File report on [shape-detection-api] Missing tasks in parallel steps …
Browse files Browse the repository at this point in the history
…in Accelerated Shape Detection in Images
  • Loading branch information
strudy-bot committed Jan 7, 2025
1 parent 79be405 commit acf11d2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions issues/shape-detection-api-missingtask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
Title: >-
[shape-detection-api] Missing tasks in parallel steps in Accelerated Shape
Detection in Images
Tracked: N/A
Repo: 'https://github.com/WICG/shape-detection-api'
---

While crawling [Accelerated Shape Detection in Images](https://wicg.github.io/shape-detection-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 [BarcodeDetector/getSupportedFormats()](https://wicg.github.io/shape-detection-api/#dom-barcodedetector-getsupportedformats) 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 acf11d2

Please sign in to comment.