Re: [permissions] Should 'prompt' be renamed as 'default'? (#12)

_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