Skip to content
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

Add clipboard-read and clipboard-write Feature Policies #385

Closed
wants to merge 1 commit into from
Closed

Add clipboard-read and clipboard-write Feature Policies #385

wants to merge 1 commit into from

Conversation

dway123
Copy link

@dway123 dway123 commented Jun 16, 2020

The clipboard specification specifies permissions "clipboard-read" and "clipboard-write", and feature policy is used to control use of this API in iframes. As the clipboard specification gains feature policy integration, feature policy documentation should be updated to reflect this.

@annevk
Copy link
Member

annevk commented Jun 16, 2020

Are multiple implementers interested in this?

@clelland
Copy link
Collaborator

There is ongoing discussion at w3c/permissions#175 about this as well.

My understanding is that the Permissions API was changed from "clipboard" to "clipboard-read" and "clipboard-write", which Chrome implements. "clipboard-read" may not have interest from other implementers, and could be removed from the Permissions spec if so, but it looks like "clipboard-write" does.

If the goal of features.md is to document what is in specs and what browsers support, then we should use it for that (even if there is only a single-implementation, we can at least document that). I'd suggest waiting a few days to see how that issue is resolved to know where the two feature names should go.

@clelland
Copy link
Collaborator

This is still unresolved in the spec, but is implemented in Chromium; I'll add it to the 'proposed' section for now, rather than merging this in. Please feel free to reopen or just ping when if and when the integration is merged into Clipboard

@clelland clelland closed this Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants