-
Notifications
You must be signed in to change notification settings - Fork 55
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
Use PermissionState instead of PersistentStoragePermission #10
Comments
As far as I can tell this is an intentional move to align with the existing platform conventions ("default") instead of the new proposal, only implemented in Chrome's Permissions API, of "prompt". |
|
Is it? Sentiment looks mixed. https://groups.google.com/forum/#!topic/mozilla.dev.platform/7RnCrXoXdG4 |
Mozilla's Intent to Ship do not really work the same way as Blink's. I would be surprised if the API doesn't ship. |
It's a little hard to build on the Permission API if basic stuff like w3c/permissions#33 is not getting fixed. And e.g., the permission store does not take origin as an argument despite entries being associated with one. It doesn't seem to make much sense at the moment. |
To be clear, Firefox is now shipping the permission API. I don't see it as likely that we would implement the I.e. we should not let editorial issues affect what API we use. Ultimately what needs to be defined is what string should be passed to the permission API in order to check permission to use persistent storage. At least until we've gotten the various specs into the needed state to define this formally. I propose using |
I guess that's fair. Could you file a new issue on that or mention it in #14? |
The spec is re-introducing its own permission enum instead of re-using the one from the Permissions API. It would be great to re-use the Permissions API's PermissionState instead of PersistentStoragePermission.
The text was updated successfully, but these errors were encountered: