feat: route deprecated sync clipboard read through permission checks (#45472)

feat: route deprecated sync clipboard read through permission checks (#45377)
This commit is contained in:
Robo 2025-02-06 04:10:18 +09:00 committed by GitHub
parent 3053e33739
commit 9fe5f566a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 441 additions and 34 deletions

View file

@ -148,6 +148,7 @@
this will cause the `preferred-size-changed` event to be emitted on the
`WebContents` when the preferred size changes. Default is `false`.
* `transparent` boolean (optional) - Whether to enable background transparency for the guest page. Default is `true`. **Note:** The guest page's text and background colors are derived from the [color scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme) of its root element. When transparency is enabled, the text color will still change accordingly but the background will remain transparent.
* `enableDeprecatedPaste` boolean (optional) _Deprecated_ - Whether to enable the `paste` [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand). Default is `false`.
[chrome-content-scripts]: https://developer.chrome.com/extensions/content_scripts#execution-environment
[runtime-enabled-features]: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5