New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606036 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature
Team-Security-UX



Sign in to add a comment

Suggestion: Require user guesture for permission requests for all new APIs

Project Member Reported by owe...@chromium.org, Apr 22 2016

Issue description

I think on-load permission requests are really bad for UX and would suggest ideally we would deprecate them, but that it is difficult to do without breaking existing sites and implementations.

Therefore I propose that all new permission requesting mechanisms and new APIs require a user gesture.

We could then show a message in the console for any sites that break this rule pointing them to a guide for how to construct a nice permissions flow.

Curious if this has been considered previously - reflecting on our experiences with push I wish we had done this for it.

Thanks
 

Comment 1 by palmer@chromium.org, Apr 22 2016

Cc: palmer@chromium.org jyasskin@chromium.org
Yes, I think you are on the right track here. Permission requests should ideally be part of the normal workflow, like when you upload a file attachment to a bug in this bug tracker. (You are giving the web origin 'permission' to read that 1 file 1 time.) That's the gold standard; but any movement in that direction is a good improvement.
The Permissions API has a bug for this at https://github.com/w3c/permissions/issues/77.

In Web Bluetooth, our users have run into trouble with issue 404161, that Promises block a user-gesture chain. Otherwise, I think we're doing well.

Comment 3 by f...@chromium.org, Jul 11 2016

Cc: dominickn@chromium.org f...@chromium.org kcaratt...@chromium.org
Components: UI>Browser>Permissions
Labels: -Type-Bug Type-Feature
Owner: ----
Status: Available (was: Untriaged)
Components: -Security>UX UI>Browser>Permissions>Prompts

Comment 5 by raymes@chromium.org, Nov 29 2016

Components: -UI>Browser>Permissions

Comment 6 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 7 by est...@chromium.org, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment