Need a procedure reference for "request permission" #62

Closed
alvestrand opened this Issue Mar 2, 2016 · 1 comment

Projects

None yet

2 participants

@alvestrand
Collaborator

In connection with linking to this spec from the getusermedia spec, I need a reference for "request permission". This should be a procedure, not an API call (although I suppose the API call should just say "invoke the procedure").

Suggested content:

  • Query for the permission
  • if permission is "granted", return "granted"
  • if permission is "denied", return "denied"
  • if permission is "prompt" or does not exist, prompt the user in a browser-specific fashion, and return a value based on the user's decision. If the user never decides, do not return.
    (Yes, we found it necessary to write this explicitly in the getusermedia spec.)

Text that can be copied is in the getUserMedia section of the getusermedia spec.

@jyasskin jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 12, 2016
@jyasskin jyasskin Name the "request a permission" algorithm.
Fixes #62.
e7232e6
@jyasskin jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 18, 2016
@jyasskin jyasskin Name the "request a permission" algorithm.
Fixes #62.
21b4fd4
@mounirlamouri
Member

@jyasskin, can you extract your commit fixing this to a separate pull request?

@jyasskin jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 23, 2016
@jyasskin jyasskin Name the query, request, and revoke a permission algorithms.
Fixes #62.
68ab77e
@jyasskin jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 24, 2016
@jyasskin jyasskin Name the query, request, and revoke a permission algorithms.
Fixes #62.
4d60ac8
@jyasskin jyasskin closed this in #70 Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment