Re: [w3c/permissions] Clipboard permissions (#175)

In the Clipboard Specification, it mentions that:

> two separate permissions are defined: "clipboard-read" and "clipboard-write"

From there, these 2 permissions each are further enhanced by a ClipboardPermissionDescriptor, which provides an allowWithoutGesture parameter.

I was thinking it would therefore make sense to have these 2 separate permissions here, with a reference to the Clipboard spec, so that the permission descriptor is defined in the clipboard spec, and doesn't need to be synced between 2 specifications.

Chrome also happens to have implemented these two separate permissions already, and the MDN also documents using these separate permissions.

Changing the Clipboard specification/implementation to have one unified clipboard permission does seem to be more consistent with the existing Permissions spec, but this could break sites already expecting there to be two separate permissions.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/175#issuecomment-642575324

Received on Thursday, 11 June 2020 11:10:42 UTC