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

Web Custom formats for Async Clipboard API #43

Open
svoisen opened this issue Aug 2, 2022 · 4 comments
Open

Web Custom formats for Async Clipboard API #43

svoisen opened this issue Aug 2, 2022 · 4 comments
Assignees
Labels
from: Google Proposed, edited, or co-edited by Google. from: Microsoft Proposed, edited, or co-edited by Microsoft. topic: app-like capabilities Spec relates to native app style capabilities (e.g. things under the "PWA" or "Fugu" brands) topic: editing Spec relates to text editing venue: W3C Web Editing WG

Comments

@svoisen
Copy link

svoisen commented Aug 2, 2022

Request for position on an emerging web specification

Information about the spec

Design reviews and vendor positions

Bugs tracking this feature

  • WebKit Bugzilla:
  • Radar:

Anything else we need to know

Previous request for position in webkit-dev: https://lists.webkit.org/pipermail/webkit-dev/2021-May/031855.html

Web custom formats for Async Clipboard API aims to web applications read and write custom, unsanitized, web-originated payloads from the clipboard using a standardized web custom format. Support for this is important for allowing native applications to exchange data with web applications outside the standardized formats.

I'm filing this request because Adobe is interested in this API for supporting copy/paste interop between our web and native applications using our own formats.

@tomayac
Copy link

tomayac commented Aug 2, 2022

Thanks for filing this, @svoisen! Apple folks: developer-facing documentation for this feature can be found on Chrome Developers.

@othermaciej othermaciej added venue: W3C Web Editing WG topic: editing Spec relates to text editing topic: app-like capabilities Spec relates to native app style capabilities (e.g. things under the "PWA" or "Fugu" brands) from: Google Proposed, edited, or co-edited by Google. from: Microsoft Proposed, edited, or co-edited by Microsoft. and removed venue: W3C Web Editing WG labels Sep 25, 2022
@hober hober moved this from Unscreened to Needs position in Standards Positions Review Backlog Mar 23, 2023
@hober hober moved this from Needs position to Needs assignees in Standards Positions Review Backlog Mar 27, 2023
@hober hober moved this from Needs assignees to Needs position in Standards Positions Review Backlog Mar 27, 2023
@annevk
Copy link
Contributor

annevk commented Dec 13, 2023

I discussed this with colleagues and we have concerns about clipboard data that has not been sanitized by WebKit (which will be true for all custom formats) moving between different origins or origins and apps. We could see making an exception for the latter when the app has claimed the origin through associated domains and could therefore be considered "same origin" from the end user's perspective.

From discussion in the Editing WG it's unclear if such a limitation is workable as it could prevent competition between applications so we're a bit unsure about this feature.

#144 is related here.

@benjamind
Copy link

Would it be possible to consider this API through the lens of an installed PWA? If the user has trusted the app for install, could it then get access to custom formats and delayed clipboard rendering? That would limit the potential for abuse in that the user trusted the app, while still keeping competition open?

@annevk
Copy link
Contributor

annevk commented May 7, 2024

I don't think "installation" conveys trust. It's essentially a bookmark, an easy way to get back to something. I might install a game, but that doesn't mean I trust the developer. I just like the game and would like to play it somewhat regularly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. from: Microsoft Proposed, edited, or co-edited by Microsoft. topic: app-like capabilities Spec relates to native app style capabilities (e.g. things under the "PWA" or "Fugu" brands) topic: editing Spec relates to text editing venue: W3C Web Editing WG
Projects
Development

No branches or pull requests

7 participants