[w3c/payment-handler] Normative what happens when users closing the window opened by PaymentRequestEvent.openWindow (#299)

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?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/299

Received on Tuesday, 24 April 2018 15:07:04 UTC