Closed marcoscaceres closed 3 years ago
@jdtoupin Do you have a product opinion here? My vote is to consume user activation, so a click can trigger only one powerful feature. Consuming would also make click-jacking more difficult.
EDIT: The right @jdtoupin
Yes, consuming user activation makes sense to me.
Ok, makes sense to me too.
As long as it's ok with @aestes (and we are not breaking anything with ApplePay... which I don't imagine we are), then I'll send a PR to add this and also update Firefox's implementation to match.
@aestes, when possible, please let me know if the above is ok 🙏.
@aestes, @danyao, @rsolomakhin, moving discussion from #885.
HTML has a new activation model. Right now, we presumedly have "transient" activation for
show()
:Presumedly, because of the modal nature of
.show()
we want to "consume" the activation, so that things likerequestFullscreen()
would fail if called immediately after.show()
.