-
Notifications
You must be signed in to change notification settings - Fork 27
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
Consider building on top of Permissions instead of using the "storage access map" #121
Comments
+1, to this. This would also reflect the implementation in Edge/Chromium that leverages the permissions system for managing any prompts as it can leverage other permissions mechanisms for stopping nuisance prompts and holistically seeing if the site(s) in question are also requesting other permissions/prompts. |
As mentioned in #122 I think this is what we should do to reflect the reality in both Firefox and Chrome and also because it fits well onto the per-frame model where the browser maintains an "storage access when requested" permission and a separate "storage access" map on the browsing context. The "storage access when requested" permission could be queried through permissions API or watched through |
This would allow sharing a bunch of logic around murky concepts such as "user intent".
(There's also some related problems with regards to scope of the grant. Currently the specification uses the agent cluster for this, but there's talk about changing it back to WebKit's original model of document. We should probably track that separately.)
The text was updated successfully, but these errors were encountered: