-
Notifications
You must be signed in to change notification settings - Fork 65
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
Support write-only handles #119
Milestone
Comments
The changing of the API file code |
mkruisselbrink
added a commit
that referenced
this issue
Jul 14, 2020
This is partially editorial (just changing how algorithms check permissions), but also has a couple of normative changes: - A change from `boolean writable` to a enum, with currently "read" and "readwrite" options. This is to keep open the possibility for write-only handles as discussed in #119. - Changes from NotAllowedError to SecurityError in a couple of places, to better align with how other APIs behave. - And of course the integration with navigator.permissions.query, although that is unlikely to be implemented in chrome any time soon, as a lot of the infra for that is missing in chrome. This fixes #120.
mkruisselbrink
added a commit
that referenced
this issue
Jul 20, 2020
…200) * Rewrite the permissions logic to integrate with the permissions API. This is partially editorial (just changing how algorithms check permissions), but also has a couple of normative changes: - A change from `boolean writable` to a enum, with currently "read" and "readwrite" options. This is to keep open the possibility for write-only handles as discussed in #119. - Changes from NotAllowedError to SecurityError in a couple of places, to better align with how other APIs behave. - And of course the integration with navigator.permissions.query, although that is unlikely to be implemented in chrome any time soon, as a lot of the infra for that is missing in chrome. This fixes #120.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The inline issue in https://wicg.github.io/native-file-system/#api-filesystemhandle-querypermission states:
#29 is about one use case for this, but I couldn't find an issue that would cover write-only directory downloads, so here it is.
The text was updated successfully, but these errors were encountered: