Re: [w3c/permissions] Consider making `request-permission-to-use` aware of user activation (#194)

I can't imagine any situation where the user would be prompted (i.e, UI is shown), but the user activation wouldn't be consumed (...but I may be lacking imagination, so someone enlighten me?). 

Thus, I think we should add these checks... It would require modifying the (or adding a new) algorithm to take a promise. The transient activation would be checked (potentially causing a promise rejection), user activation would be consumed, and the prompt would be shown. 

We could keep things backwards compatible by making the promise optional. 



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/194#issuecomment-1326990073
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/194/1326990073@github.com>

Received on Friday, 25 November 2022 03:36:09 UTC