Open
Description
While crawling Payment Handler API, the following algorithms fire an event, or resolve or reject a Promise, within a step that runs in parallel without first queuing a task:
- The algorithm that starts with "Upon receiving a PaymentRequest by way of PaymentRequest.show() and subsequent user selection of a payment handler, the user agent MUST run the following steps:" resolves/rejects a promise directly in a step that runs in parallel
- The Open Window Algorithm resolves/rejects a promise directly in a step that runs in parallel
See Dealing with the event loop in the HTML specification for guidance on how to deal with algorithm sections that run in parallel.
This issue was detected and reported semi-automatically by Strudy based on data collected in webref.
Metadata
Metadata
Assignees
Labels
No labels