docs: deprecate clipboard API access from renderer processes#48877
docs: deprecate clipboard API access from renderer processes#48877
Conversation
🪦 Deprecation Checklist🔥 New deprecations in this PR
@electron/wg-releases: Please confirm these deprecation changes conform to our deprecation policies listed in |
dsanders11
left a comment
There was a problem hiding this comment.
It looks like we don't have any direct tests of using the clipboard API in the renderer, so I'm OK with skipping the final item in the deprecation review checklist regarding confirming deprecation messages in tests.
Note to future us, we'll need to update the paste execCommand test in spec/chromium-spec.ts since it makes use of the clipboard API from the renderer for those tests.
|
Release Notes Persisted
|
|
I have automatically backported this PR to "40-x-y", please check out #48923 |
Description of Change
As documented in the Clipboard Module Rearchitecture RFC, direct access to the clipboard API from the renderer will be removed. This PR adds a deprecation message in preparation for the changes coming as part of the Clipboard Module Rearchitecture.
Checklist
npm testpassesRelease Notes
Notes: Deprecated clipboard API access from renderer processes