Skip to content

Commit

Permalink
clarified that only exact permissions given can be stored
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Burnett committed Mar 4, 2015
1 parent a5b455f commit 5ba9df5
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions getusermedia.html
Expand Up @@ -3306,15 +3306,19 @@ <h2>Implementation Suggestions</h2>
<span id="stored-permissions" class="practicelab">Stored
Permissions</span>
<p class="practicedesc">When permission is requested for a
device, the User Agent may choose to store that permission, if granted, for later
use by the same origin, so that the user does not need to
grant permission again at a later time. Such storing
MUST
only be done when the page is secure (served over HTTPS and
having no mixed content). It is an User Agent choice whether it
offers functionality to store permission to each device
separately, all devices of a given class, or all devices; the
choice needs to be apparent to the user.</p>
device, the User Agent may choose to store that
permission, if granted, for later use by the same origin,
so that the user does not need to grant permission again
at a later time. Such storing MUST only be done when the
page is secure (served over HTTPS and having no mixed
content). It is a User Agent choice whether it offers
functionality to store permission to each device
separately, all devices of a given class, or all devices;
the choice needs to be apparent to the user, and
permission must have been granted for the entire set whose
permission is being stored, e.g., to store permission to
use all cameras the user must have given permission to use
all cameras and not just one.</p>
<p class="practicedesc">When permission is not stored,
permission should last only until such time as all
MediaStreamTracks sourced from that device have been stopped.</p>
Expand Down

0 comments on commit 5ba9df5

Please sign in to comment.