- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 09 Dec 2019 03:40:59 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 December 2019 11:41:01 UTC
@aestes, @danyao, @rsolomakhin, moving discussion from #885.
HTML has a new activation model. Right now, we presumedly have "transient" activation for `show()`:
```JS
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();
}
```
Presumedly, because of the modal nature of `.show()` we want to "consume" the activation, so that things like `requestFullscreen()` would fail if called immediately after `.show()`.
--
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/issues/886
Received on Monday, 9 December 2019 11:41:01 UTC