-
Notifications
You must be signed in to change notification settings - Fork 58
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
Request review of (text only) Async Clipboard API #222
Comments
Note: We'll have a separate TAG review for the image/delayed-gen portions once we have general agreement on the specification |
Hi is there any feedback on this API? I see labels for possible review in the f2f in London? |
(also just for context, this API is currently targeting a launch in M66 which branches on March 1st, so if there are any concerns, it'd be great to hear them ASAP) |
In looking through the minutes, it looks like we triaged, but didn't get a chance to discuss this :( So the short--no we don't have any feedback [yet] on this API. |
Had a few rounds of follow-up with @garykac et. al. over on blink-dev: https://groups.google.com/a/chromium.org/d/msg/blink-dev/epeaao7l13M/edF5Ho9PBgAJ The explainer is in a much better place now, which I'm pretty happy about. I have concerns with the spec regarding image formats, introspection of available types, but those aren't being discussed to ship. We got to agreement to continue the discuss on those points here and it looks like Blink is moving forward with shipping the text-only portions. |
My concern re: privacy considerations - the response to the self-review doesn't appear to take the privacy issues seriously enough in my view. Lots of private info can be in the clipboard and we should be very very careful before allowing access to it without explicit user consent. Arguably a permission approach does not cover it as once the permission is granted it is not visible to the user what is happening. Arguably it goes against user expectation if the webapp can gain access to the clipboard without affirmative user action (passively). Also arguably the behaviour should be different in private / incognito mode due to these privacy considerations. |
What worries me is that we've all spent a lot energy encouraging users to use password managers, which often rely on pasting passwords in to a form. If an open tab is able to inspect the contents of my clipboard, thereby giving away the password that I've copied... this seems concerning to me. How can we mitigate that here? |
Attempt to consolidate TAG feedback on privacy concerns: We are generally very concerned about the potential for passive monitoring of the clipboard contents, which could easily capture passwords. We would like to encourage implementations to be as conservative as possible in their attempts to prevent this, and wonder if mechanisms such as these have been considered:
|
I'd also note that even if these things aren't normatively required, they should be discussed in the security considerations section of the spec. |
Ditto on @dbaron 's comment above. Extra emphasis would be to mention unfocused tab reading being disallowed, since that seems to be how it is implemented in Canary. Another thing that we touched on during the review is that the special case API for text seems something we may regret in the future. Extensibility to allow arbitrary types/objects for content which can be serialized for objects to cross web application boundaries would help a lot of non-text editing application use cases. (e.g. Copy and pasting between two different tabs running web based CAD software, for one example - comes to mind.) Personal question: The choice of DataTransfer for non-text seems a bit strange. Aside from "it was already there, and was the closest thing to what we needed" were there any compelling reasons for this choice? |
I think we are looking specifically for responses on:
|
Discussed on call 5-8 |
hey @garykac; seems like we keep discussing this without you. My apologies! Would you be up for joining a future call to talk through the details? |
Sure. Next Tue at 8am works. Do you meet only on IRC or is it a conference call? |
Raised w3c/clipboard-apis#78 as a follow-up from May 15 telco. |
Hello TAG!
I'm requesting a TAG review of:
navigator.clipboard
,readText()
andwriteText()
)Further details (optional):
You should also know that...
This review is only for the text parts of the API since we are still in the process of designing the portions of the API that add clipboard support for images and delayed content generation.
We'd prefer the TAG provide feedback as (please select one):
The text was updated successfully, but these errors were encountered: