- From: Mounir Lamouri <notifications@github.com>
- Date: Tue, 17 Mar 2015 04:24:33 -0700
- To: w3c/permissions <permissions@noreply.github.com>
Received on Tuesday, 17 March 2015 11:25:25 UTC
_prompt_ is one of the main reason why ```query()``` exists. We have strong reasons to think that developers want to know whether a call will prompt. Naming that state _default_ will simply leave the confusion. The example given in the TAG review that says that a browser might decide in its own judgement whether a permissino is granted would be simple to expose using ```query()```. Basically, the browser would expose whether a call at that moment would succeed. Given that this is an enum, we can easily have a new entry added later. For example _unknown_. However, I would prefer to avoid adding it unless we have real life use case. As of today, I have not heard of any convincing one. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/12#issuecomment-82290507
Received on Tuesday, 17 March 2015 11:25:25 UTC