-
Notifications
You must be signed in to change notification settings - Fork 37
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
Remove clipboard-read permission #132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this work @saschanaz.
Chrome has shipped the @dway123 do we have any data we could share about the magnitude of the breakage? |
Sure. The suggested removal of While we don't know the exact magnitude of the breakage (we don't currently have metrics on clipboard read use without user activation), we do know that:
|
Aren't those sites also broken in Firefox & Safari? Or are you more concerned about Chrome only content? |
I suspect but have not verified these sites are also broken in Firefox and Safari, if they require user gesture for all Clipboard reads. I only discussed Chrome content because the question was regarding breakage in Chrome, and I only had public use information for Chrome, like chromestatus feature use data. Please share information about breakage in Firefox & Safari, if possible, to provide more color for this conversation. Sorry, I'm not well acquainted with available public data for Firefox & Safari. |
I don't think Firefox typically collects this kind of information (though some from Mozilla can correct me). They would need to check specific sites to see if they are breaking. However, likelihood is that they are not broken if the read is happening along with a user gesture... hopefully sites have figured that out already and at mitigating breakage by calling the API as a result of user activation. |
I can confirm that Mozilla doesn't have a use counter for |
So, just chiming in a chair here. The appropriate course of action would be to merge this to match implementations. Then, as a followup, if folks from Google would still like to pursue this option, it might be worth sending a PR reverting the changes made in this PR. |
Safari does not collect such data either. Given Safari always requires user gesture to paste, it's pretty safe to assume such websites are broken in Safari. If those websites are broken in Safari, on the other hand, it means the website has some Chrome/Chromium specific behavior. Even in such a scenario, this will likely remain Chrome/Chromium only permissions so the two-implementation requirement means that this permission should not be added back to the spec. |
Ok, I'm going to go ahead and merge this, as the two engine requirement hasn't been met for this feature. |
As its removed by w3c/clipboard-apis#132.
As its removed by w3c/clipboard-apis#132.
ClipboardEvent is part of the older API: https://w3c.github.io/clipboard-apis/#clipboard-event-api The "clipboard-read" permission was removed from the spec: w3c/clipboard-apis#132
The "clipboard-read" permission was removed from the spec: w3c/clipboard-apis#132
ClipboardEvent is part of the older API: https://w3c.github.io/clipboard-apis/#clipboard-event-api The "clipboard-read" permission was removed from the spec: w3c/clipboard-apis#132
The "clipboard-read" permission was removed from the spec: w3c/clipboard-apis#132
Closes #101, see also w3c/permissions#175
For normative changes, the following tasks have been completed:
Implementation commitment:
Preview | Diff