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

"load" should not be fired if wallet is not connected? #648

Open
sidvishnoi opened this issue Oct 9, 2024 · 0 comments
Open

"load" should not be fired if wallet is not connected? #648

sidvishnoi opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working triage Waiting to be assigned labels

Comments

@sidvishnoi
Copy link
Member

sidvishnoi commented Oct 9, 2024

Spec #link-type-monetization:

  1. If the user agent has exhausted the number of allowed payment sessions, set success to false.
  2. Otherwise, establish a new payment session.
  3. Queue an element task on the networking task source given element and the following steps:
    1. If success is true, fire an event named "load" at element.
    2. Otherwise, fire an event named "error" at element.

Relevant: WICG/webmonetization#246 (comment)

@sidvishnoi sidvishnoi added bug Something isn't working triage Waiting to be assigned labels labels Oct 9, 2024
@sidvishnoi sidvishnoi changed the title "load" not be fired if wallet is not connected "load" should not be fired if wallet is not connected? Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Waiting to be assigned labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant