-
Notifications
You must be signed in to change notification settings - Fork 42
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
Normative what happens when users closing the window opened by PaymentRequestEvent.openWindow #299
Comments
Does it make sense for us to have a
|
I would prefer to add
This situation would be ideal, but I'm not sure whether this is how |
(Seems reasonable but I am not a promise expert.) |
Right now, it is not easy for PH to detect the window is closing/closed (note that 'beforeunload' event can be triggered by page navigation and refresh). And UA may provide different ways to let users close the window to abort payment request in the middle. So I would like to suggest we let UA handles closing opened window so as to abort payment request and send 'AbortPaymentEvent' to the service worker without waiting for result.
Ideas?
The text was updated successfully, but these errors were encountered: