Clarify javascript-can-access-clipboard description

Fixes #2374.
This commit is contained in:
Florian Bruhin 2017-02-27 20:28:47 +01:00
parent fb5377b710
commit 9be0e0d57d
2 changed files with 3 additions and 1 deletions

View File

@ -1524,6 +1524,7 @@ This setting is only available with the QtWebKit backend.
[[content-javascript-can-access-clipboard]]
=== javascript-can-access-clipboard
Whether JavaScript programs can read or write to the clipboard.
With QtWebEngine, writing the clipboard as response to a user interaction is always allowed.
Valid values:

View File

@ -860,7 +860,8 @@ def data(readonly=False):
('javascript-can-access-clipboard',
SettingValue(typ.Bool(), 'false'),
"Whether JavaScript programs can read or write to the "
"clipboard."),
"clipboard.\nWith QtWebEngine, writing the clipboard as response "
"to a user interaction is always allowed."),
('ignore-javascript-prompt',
SettingValue(typ.Bool(), 'false'),