Re: [w3c/permissions] Only allow permissions.request() during user interaction (#77)

Note that the location request requiring a user gesture isn't actually true.

However, I agree that we should probably be requesting a user gesture. This has been in my TODO list for a while but my concern is that websites might use other means to request a permission than the Permissions API if we add restrictions compared to existing APIs (for example, `Notifications.requestPermission()` or `navigator.geolocation.getCurrentPosition(function(){})`). This said, it might be a good thing to do to enforce good practices and if new APIs use the Permissions API for request, they will force websites to use this pattern.

@adrifelt @annevk WDYT?

---
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/permissions/issues/77#issuecomment-208829030

Received on Tuesday, 12 April 2016 10:07:55 UTC