Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tasks in parallel steps in Payment Handler API #419

Open
2 tasks
dontcallmedom-bot opened this issue Sep 10, 2024 · 0 comments
Open
2 tasks

Missing tasks in parallel steps in Payment Handler API #419

dontcallmedom-bot opened this issue Sep 10, 2024 · 0 comments

Comments

@dontcallmedom-bot
Copy link

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.

Cc @dontcallmedom @tidoust

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant