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

Is "clipboard" permission replaced by "clipboard-read" and "clipboard-write"? #101

Closed
saschanaz opened this issue Sep 27, 2019 · 13 comments · Fixed by #132
Closed

Is "clipboard" permission replaced by "clipboard-read" and "clipboard-write"? #101

saschanaz opened this issue Sep 27, 2019 · 13 comments · Fixed by #132

Comments

@saschanaz
Copy link
Member

saschanaz commented Sep 27, 2019

The Permissions spec still mentions "clipboard" but it seems it's removed from the Clipboard spec. Should the Permissons spec be updated to use the new permission names?

@marcoscaceres
Copy link
Member

I think this is w3c/permissions#155 ?

@saschanaz
Copy link
Member Author

saschanaz commented Oct 15, 2019

@marcoscaceres Kinda, but that seems outdated. It still uses "clipboard" instead of "clipboard-read" and "clipboard-write", which doesn't match this spec.

Edit: aa1f8ac added those to the spec.

@nickalbrecht
Copy link

Any traction on this one?

@saschanaz
Copy link
Member Author

Can somebody confirm this please so that I can open a PR there?

@marcoscaceres
Copy link
Member

A PR would be good. I know what the implementation status of any of this is, however. @saschanaz, would you mind investigating a little bit?

@saschanaz
Copy link
Member Author

saschanaz commented Feb 17, 2020

Firefox Nightly: No support
Chrome (as of 80 stable): Support for clipboard-read and clipboard-write, while no clipboard.
Epiphany (WebKit): No navigator.permissions support at all

@marcoscaceres
Copy link
Member

marcoscaceres commented Feb 17, 2020

Much sadness... let me see if I can find who owns clipboard on the Gecko side.

@saschanaz
Copy link
Member Author

Related Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1560373

@marcoscaceres
Copy link
Member

Good find! thank you!

@saschanaz
Copy link
Member Author

Does that mean there is no owner? Should I wait until someone takes it?

@annevk
Copy link
Member

annevk commented Feb 17, 2020

Yeah, it's not clear to me how much buy-in the current setup has here so I'd definitely hold off a bit for now.

@rniwa
Copy link

rniwa commented Feb 19, 2020

FWIW, Safari will likely never support non-gesture based copy & paste permission (as in we'd likely always require a new gesture for each copy & paste). As such, we don't see this permission ever being implemented / supported in Safari.

@wandyezj
Copy link

What is really annoying is that browsers have gone ahead with their own implementation for a critical feature. This ends up forcing developers to use commands to read and write to the clipboard to work around this nonsense.

This seems like a people problem and not a technical problem.

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 a pull request may close this issue.

6 participants