Re: [w3c/permissions] The "prompt" permission state maps poorly across browsers (#230)

> Browsers like Safari use unknown heuristics to determine permission in some cases

These heuristics are not unknown, if needed. I can describe them here.
Safari could expose getUserMedia permission state consistently with those heuristics.
Agreed that lack of user gesture would not make it consistent.

> Proposal 2: remove guarantees of no browser UX in `"granted"`

One identified use case for exposing the permission state to web pages is to let them know whether they should help the user on answering to the prompt properly.
If we go with proposal 2, what would be the point of exposing the permission state to web pages?
FWIW, for Safari, we are not keen on exposing 'denied' and would probably end up exposing 'prompt' instead.

-- 
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/230#issuecomment-767379436

Received on Tuesday, 26 January 2021 08:18:25 UTC