-
Notifications
You must be signed in to change notification settings - Fork 14
Inconsistent request storage Access behavior #4
Copy link
Copy link
Closed
Description
While testing the RSA implementation we found that in few cases permissions.query would result in Prompt output, however document.hasStorageAccess() results in true. Not sure what's causing it though.
await navigator.permissions.query({
name: "storage-access",
});
Are there any known bugs/issues among hasStorageAccess v/s navigator.permissions.query?
Also another scenario observed is, even after making an explicit rsa call, the permissions goes into denied mode (DOMException: requestStorageAccess not allowed) , not sure how to get this working again. We are using an explicit button click action to request the permission. Tried clearing the site data and other info nothing worked.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels