summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/doc/src/webengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorMoss Heim <self@mossheim.net>2023-12-13 13:39:16 +0100
committerMoss Heim <moss.heim@qt.io>2024-03-11 10:33:05 +0100
commitfbb216fa3119d06f88744e18d3f4f53d64fcf523 (patch)
tree1f6c7cea4f33b2ac5cff000919ff0175768f9fd0 /src/webenginequick/doc/src/webengineview_lgpl.qdoc
parent8064e40e070c2319dd87578bda5ad68b9abdbee0 (diff)
Add granular permission for clipboard-read/write
Previously, permissions for clipboard access could only be managed through the JavascriptCanAccessClipboard and JavascriptCanPaste settings. This change allows copy/paste to be handled the same way as notification and geolocation permissions. If both JavascriptCanAccessClipboard and JavascriptCanPaste are enabled, permissions will be granted unconditionally without a feature request being made. Fixes: QTBUG-77450 Change-Id: I383e27e244ced3d6b7988644e38d2307c6267f76 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginequick/doc/src/webengineview_lgpl.qdoc')
-rw-r--r--src/webenginequick/doc/src/webengineview_lgpl.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webenginequick/doc/src/webengineview_lgpl.qdoc b/src/webenginequick/doc/src/webengineview_lgpl.qdoc
index 6b731b11b..a9ce40d4b 100644
--- a/src/webenginequick/doc/src/webengineview_lgpl.qdoc
+++ b/src/webenginequick/doc/src/webengineview_lgpl.qdoc
@@ -859,6 +859,12 @@
Both audio and video output capture. (Added in Qt 5.10)
\value WebEnginView.Notifications
Web notifications for the end-user.
+ \value WebEngineView.ClipboardReadWrite
+ Read and write access for the clipboard. If both \l{WebEngineSettings::JavascriptCanPaste}
+ {JavascriptCanPaste} and \l{WebEngineSettings::JavascriptCanAccessClipboard}
+ {JavascriptCanAccessClipboard} settings are enabled, this permission will always be granted
+ automatically and no feature requests will be made.
+ (Added in Qt 6.8)
\sa featurePermissionRequested(), grantFeaturePermission()
*/