-
Notifications
You must be signed in to change notification settings - Fork 51
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 information about whether a permission is persistent or temporary #63
Comments
👎 |
On re-evaluating, "transient" permissions are better handled inside getusermedia. Closing request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In one case (closing a device), the getusermedia spec says that it will revoke a permission if the permission granted is temporary, while it will not revoke it if it's permanent. This distinction is presently not present in the permissions spec.
Suggestion: Add to the PermissionStatus interface a boolean flag:
boolean transient = false;
with the description
if "transient" is false, the permission is granted on an ongoing basis.
If "transient" is true, the permission is based on being used at present, and is expected to be deleted (which will revert it to its default state) as soon as it is no longer being used.
The lifetime of an ongoing permission is browser dependent. For permissions granted on insecure origins [[ref]], the lifetime MUST NOT (????) be longer than the lifetime of the top level browsing context.
The text was updated successfully, but these errors were encountered: