-
Notifications
You must be signed in to change notification settings - Fork 72
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
Reading unsanitized data from the async clipboard API #1178
Conversation
This one has no corresponding keys in BCD, so it's all manual. |
@captainbrosset can you add this to BCD? They BCD path would be We could still land this without waiting for the BCD change to be merged or released. |
Adding it in mdn/browser-compat-data#23236 Let's wait for this to ship and then I'll add the compat key here. |
Co-authored-by: Philip Jägenstedt <philip@foolip.org>
That's OK if you like, but if you want to move faster I'm OK with a TODO here as well. |
…lipboard-supports
…eatures into unsanitized
This branch targets another PR branch I've got ongoing. I messed up the merge a little bit, but let's no worry about this for now. In any case, we need to wait for the next BCD bump since I'm using a new BCD key here. Once it's available I'll clean things up here and make the PR target main. |
I believe the new BCD key that this PR depends on is in BCD 5.5.32, which is about to be added to the repo. |
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.
Excellent. Thank you Patrick!
Since Edge/Chrome 122, devs can optionally pass formats when using the
Clipboard.read()
async API to get the non browser-sanitized version of the data. This is useful for apps that deal with HTML for example.