New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a procedure reference for "request permission" #62

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

Comments

Projects
None yet
2 participants
@alvestrand
Collaborator

alvestrand commented Mar 2, 2016

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 added a commit to jyasskin/permissions that referenced this issue Mar 12, 2016

jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 18, 2016

@mounirlamouri

This comment has been minimized.

Show comment
Hide comment
@mounirlamouri

mounirlamouri Mar 23, 2016

Member

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

Member

mounirlamouri commented Mar 23, 2016

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

jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 23, 2016

jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 24, 2016

@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