- From: Timothy B. Terriberry <tterriberry@mozilla.com>
- Date: Tue, 17 Apr 2012 08:19:07 -0700
- CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
Josh Soref wrote: >> There has been no discussion that I can tell that describes how and if permissions should be handled or stored by user agents. > > See above. I think the question is, should there be an API to allow the app to know, before calling getUserMedia(), if such a call will require a prompt for user consent? (N.B. that this is different from knowing such a call _won't_ require a prompt.) Applications may want to have different behavior depending on the answer to this question. The only simple example I can think of is to stop asking the user if they've said no once, and that's easy enough for the UA to enforce by itself (with a "Never allow this site to access the camera" option), or by the site simply remembering the result of its first attempt. Are there any other good examples that would require such an API?
Received on Tuesday, 17 April 2012 15:19:37 UTC