Update docs

This commit is contained in:
Florian Bruhin 2024-12-04 20:51:58 +01:00
parent a1d89a83b0
commit df75956cf9
3 changed files with 14 additions and 7 deletions

View File

@ -22,13 +22,12 @@ v3.4.0 (unreleased)
Deprecated
~~~~~~~~~~
- **In the next release (v3.5.0)**, support for macOS 12 Monterey will be
dropped, and binaries will be built on macOS 13 Ventura.
Removed
~~~~~~~
- Support for Python 3.8 is dropped, and Python 3.9 is now required.
- Support for macOS 12 Monterey is now dropped, and binaries will be built on
macOS 13 Ventura.
- When using the installer on Windows 10, build 1809 or newer is now required
(previous versions required 1607 or newer, but that's not officialy supported by
Qt upstream).
@ -48,7 +47,9 @@ Changed
`image/webp`.
- Updated mimetype information for getting a suitable extension when downloading
a `data:` URL.
- The `content.javascript.clipboard` setting now defaults to "ask".
- The `content.javascript.clipboard` setting now defaults to "ask", which on
Qt 6.8+ will prompt the user to grant clipboard access. On older Qt versions,
this is still equivalent to `"none"` and needs to be set manually.
Fixed
~~~~~

View File

@ -2345,18 +2345,20 @@ Default: +pass:[false]+
=== content.javascript.clipboard
Allow JavaScript to read from or write to the clipboard.
With QtWebEngine, writing the clipboard as response to a user interaction is always allowed.
On Qt < 6.8, the `ask` setting is equivalent to `none` and permission needs to be granted manually via this setting.
This setting supports link:configuring{outfilesuffix}#patterns[URL patterns].
Type: <<types,String>>
Type: <<types,JSClipboardPermission>>
Valid values:
* +none+: Disable access to clipboard.
* +access+: Allow reading from and writing to the clipboard.
* +access-paste+: Allow accessing the clipboard and pasting clipboard content.
* +ask+: Prompt when requested (grants 'access-paste' permission).
Default: +pass:[none]+
Default: +pass:[ask]+
[[content.javascript.enabled]]
=== content.javascript.enabled
@ -4844,6 +4846,7 @@ Lists with duplicate flags are invalid. Each item is checked against the valid v
|FuzzyUrl|A URL which gets interpreted as search if needed.
|IgnoreCase|Whether to search case insensitively.
|Int|Base class for an integer setting.
|JSClipboardPermission|Permission for page JS to access the system clipboard.
|Key|A name of a key.
|List|A list of values.

View File

@ -931,7 +931,7 @@ content.javascript.clipboard:
- none: Disable access to clipboard.
- access: Allow reading from and writing to the clipboard.
- access-paste: Allow accessing the clipboard and pasting clipboard content.
- ask: Prompt when requested - grants 'access-paste' permission
- ask: Prompt when requested (grants 'access-paste' permission).
supports_pattern: true
desc: >-
Allow JavaScript to read from or write to the clipboard.
@ -939,6 +939,9 @@ content.javascript.clipboard:
With QtWebEngine, writing the clipboard as response to a user interaction
is always allowed.
On Qt < 6.8, the `ask` setting is equivalent to `none` and permission needs
to be granted manually via this setting.
content.javascript.can_close_tabs:
default: false
type: Bool