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

Stabilize the Clipboard API #3991

Closed
evilpie opened this issue Jun 18, 2024 · 0 comments · Fixed by #3992
Closed

Stabilize the Clipboard API #3991

evilpie opened this issue Jun 18, 2024 · 0 comments · Fixed by #3992

Comments

@evilpie
Copy link
Contributor

evilpie commented Jun 18, 2024

Motivation

Currently the Clipboard API is in the unstable folder: https://github.com/rustwasm/wasm-bindgen/blob/main/crates/web-sys/webidls/unstable/Clipboard.webidl. Since Firefox 127 all browsers support this API in stable versions. There are still some difference like unsanitized where Safari/Firefox won't follow Chrome: w3c/clipboard-apis#206 (comment).

Additionally this would be useful for Ruffle so we don't need to opt-in to unstable for ruffle-rs/ruffle#16692.

Proposed Solution

I am going to make it stable.

Alternatives

n/a

Additional Context

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant