Skip to content

Need information about whether a permission is persistent or temporary #63

Closed
@alvestrand

Description

@alvestrand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions