- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 08 Dec 2019 21:50:10 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 December 2019 05:50:13 UTC
> Should this consume user activation, or just observe it? That's probably a question for implementers and/or the working group?
I think because this predates the new user activation model in HTML, it's currently "transient". It's definitely transient in Gecko right now - but I think because of the modal nature the payment sheet, we should consume user activation.
@aestes, @danyao, @rsolomakhin... the problem we are solving is:
```
window.onclick = () => {
// set up payment stuff...
const pay = request.show();
// Does this succeed or reject? i.e., did .show() "consume" the user activation.
document.body.requestFullscreen();
}
```
--
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-request/pull/885#issuecomment-563074660
Received on Monday, 9 December 2019 05:50:13 UTC