Re: On Bug 23128 - 'Add an explicit "get access to media" call'

On 09/21/2013 07:02 AM, cowwoc wrote:
> Hi Harald,
>
>     Good point. How about just making sure that the JS API provides a 
> mechanism for implementing this UI (without mandating it)?

You misunderstood.

Prompting users for permission can't be done in Javascript, because the 
Javascript is not trusted.
>
>     I believe the current API allows one to implement "Always trust 
> this provider" but there is no mechanism allowing the application to 
> ask for one permission while providing a full list of permissions it 
> plans to ask for later on. If you want to allow the latter UI 
> implementation, you'll need to add the necessary JS support.

That particular API support was explicitly proposed, and explicitly 
rejected.

Received on Saturday, 21 September 2013 05:47:38 UTC