Re: [permissions] Why "prompt" instead of "default"? (#25)

I personally prefer `prompt` over `default`. `default` is arguably somewhat ambiguous if a UA decide to deny by default. For example for a UA which deny some permission for all http connections by default. Should such a UA return `deny` or `default`?

But I also agree with @mounirlamouri that one of the main use cases for this API is to enable a website to know if a given function call will put up a prompt or not. So it's preferable if the API answers that question as clearly as possible.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/25#issuecomment-98832291

Received on Monday, 4 May 2015 19:52:56 UTC