| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Fix warning from qdoc, fix capitalization issues so links do work now.
Pick-to: 6.10
Change-Id: Iafcf63e47bdcc4192059f19fcbf6fbee892482d8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It seems that children property was overlooked.
Add it so it is posible to crawl the frame tree.
Pick-to: 6.10
Change-Id: Ie4e13ccbc695a4db3782ce2c993c74ebb3d1cc9a
Reviewed-by: Moss Heim <moss.heim@qt.io>
|
| |
|
|
|
|
|
|
|
| |
The underling type is now a qml value, update docs
accordingly.
Pick-to: 6.10 6.10.0
Change-Id: Ic25b5055802d1b1fe8dcc4a920e9a74d5d0f484f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- QString -> string
- QWebEngine... -> WebEngine...
- Remove nonsense asterisks from method/signal parameter lists
Pick-to: 6.10
Change-Id: I9ad262def8ab2a9513fb1b350e388e158a880269
Reviewed-by: Moss Heim <moss.heim@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Go though our value types docs and fix the capitalization.
Add missing qdoc tags.
Change-Id: I856a870a333647e656f0b53cad684f806392c6ec
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: Iea3603e13439c0e9e205fc4d99698a49bb8c6c44
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: I1ed24289af08aad651c93a09cb342dc9e8b71349
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
|
|
|
| |
These now mention what units the return sizes are in, and what
effects high-DPI displays have.
Pick-to: 6.10
Change-Id: Icdf0a2c36116d360d5cc158793694422cb33b0cc
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: Ie121e22e18ef61d4c9ecb6fa9085889e742fb7be
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use lower case for webEngineScript.
Use correct 'qmlvaluetype' section.
This amends 1eb2cb02f7ebdfc15a0d2ddc7837d4cffe073006.
Fixes: QTBUG-139624
Pick-to: 6.10 6.9
Change-Id: I4766ac876401ac2937af33383dfad48a5f6d1498
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: I7cd6ab15d470321f8d830930d8e21e33a5a53be4
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Copied over information that was only present on one side, but missing
on the other.
Pick-to: 6.10
Change-Id: I673cfdd7d3e86c1432d035e8902cb9e859e7fcda
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: I3275c5dc5c96aa32210972844f1ee65591ab028b
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
| |
Change-Id: I65b22658eb46e2460e0bd8d82f528671b33fad66
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.9
Change-Id: I3255a89539d23393ca1d0d7ebc440fe7e088d859
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add missing documentation for the QML type
WebEngineDesktopMediaRequest.
- Add missing documentation for the signals
QWebEnginePage::desktopMediaRequested and
WebEngineView::desktopMediaRequested.
- Make some minor fixes to existing docs related to the type
Pick-to: 6.8
Change-Id: I6fa824a9ac3c05a4e5aec259206bd00f64522e10
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following the rewrite of the permissions API, transient
(a.k.a non-persistent) permissions still passed through
the persistent store sometimes, but were filtered out when
using user-facing APIs. Unfortunately, thisstill presented some
edge cases in the AskEveryTime permission policy mode.
This change modifies the PermissionManagerQt class to store
a second set of permissions, and associate them with a
RenderFrameHost the way the Chromium API is designed to do
anyway. This way, a permission will be kept around for the
lifetime of a web page, and calling JavaScript APIs that
trigger checks for permission state will work properly
(e.g. navigator.mediaDevices.enumerateDevices).
The new store is regularly cleaned up to make sure expired
permissions are purged before they impact performance.
As a side effect, this change also introduces pre-granting
of non-persistent permissions, which was the biggest
omission in the permissions rewrite. In those cases,
the permissions will be temporarily stored inside the
persistent store, and moved to the transient one the next
time they're queried (and can thus be associated with
a RenderFrameHost).
This also fixes some extremely broken test cases that
relied on invalid web API.
Fixes: QTBUG-127951
Pick-to: 6.8
Change-Id: Ic084af7673ea0b255d98d94382e77323bb5e7ab0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Since the implementation of the `\nativetype`-command in QDoc,
the `\instantiates`-command is deprecated. Replace the use of the
deprecated command in favor of its replacement.
Pick-to: 6.8
Task-number: QTBUG-128216
Change-Id: I10cad9942e34301ded99c7014c1c70375e0698e1
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
As these types are value types, document them as such. Separate
object and value types on the QML module page, and fix the
incorrect \instantiates argument for webEngineFrame.
Pick-to: 6.8
Change-Id: Ieb654efef0ede0eea7c10537d51cc040dc4e9935
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following warnings:
src/core/doc/src/qwebenginepage_lgpl.qdoc:464:
(qdoc) warning: Can't link to 'QWebEnginePage::action(WebAction action)'
src/core/api/qwebenginewebauthuxrequest.cpp:109:
(qdoc) warning: Can't link to
'WebEngineWebAuthUxRequest.PinEntryReason.Challenge'
src/core/api/qwebenginewebauthuxrequest.cpp:113:
(qdoc) warning: Can't link to
'WebEngineWebAuthUxRequest.WebAuthUxState.CollectPin'
src/core/api/qwebenginewebauthuxrequest.cpp:141:
(qdoc) warning: Can't link to
'WebEngineWebAuthUxRequest.PinEntryReason.Challenge'
src/webenginequick/api/qquickwebengineprofile.cpp:498:
(qdoc) warning: Can't link to 'storageName()'
src/webenginequick/api/qquickwebenginescriptcollection.cpp:119:
(qdoc) warning: Undocumented return value
src/webenginequick/doc/src/webengineview_lgpl.qdoc:879:
(qdoc) warning: Can't link to 'WebEngineSettings::JavascriptCanPaste'
src/webenginequick/doc/src/webengineview_lgpl.qdoc:880:
(qdoc) warning: Can't link to
'WebEngineSettings::JavascriptCanAccessClipboard'
In addition, drop remaining references to 'Pepper Plugin API' as that
documentation was removed in 9d5f94b7f4b954bbe7e261d184420e237c704557.
Pick-to: 6.8
Change-Id: I41fcddcc909b703705f2c32c2c3860872da60a72
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
POINTER instead of ACTION in enum value names
Correct type and name for WebEngineScript::runsOnSubFrames
Correct return type for WebEngineScriptCollection::contains
\sa notes in docs: insert and remove should point to each other,
as should find and contains. This is closer to documentation for
QList, QMap, etc.
Change-Id: I1ac31fb53bd3fa53463f37e1bb4b6ef3b8fba65b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit contains fixes for the issues found during the API review
of the new permissions API. In particular:
- All new enums are now scoped
- Replaced isTransient with its opposite, isPersistent
- Renamed Feature to PermissionType
- Made origin() return a non-const QUrl
- Renamed PersistentPermissionsPolicy members to be more concise
- Fixed a couple of bugs in the implementation
- Updated documentation
Change-Id: Idf84e1c9ba3ae803ef4686e1caa7f3e6c198c87d
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I5360ebc88aeff2189071c971e4f24a69e765686d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the addition of permission persistence, it's now important for us
to have an API for querying previously granted/denied permissions, so
that they can be revoked at a later point. This change does the bulk
of the work to get us there, by introducing a new type representing
a single permission for a given URL/Feature pair.
This type holds no information about the permission's state; it is
simply an accessor object which allows its user to query the current
status of the permission, grant/deny it, or reset it back to its
initial state (so, delete it from storage). This provides application
developers an easy way to store/modify lists of permissions without
having to define their own custom types. A subsequent change will expand
the API to provide a list of all permissions for a given profile.
The current API (in QWebEnginePage and QQuickWebEngineView) has been
marked as deprecated, but has not been disabled to ensure a smooth
transition for developers.
[ChangeLog][QtWebEngineCore][QWebEnginePage] Deprecated old
permissions API
[ChangeLog][QtWebEngineQuick][WebEngineView] Deprecated old
permissions API
[ChangeLog][QtWebEngineCore] Added new API for querying and modifying
website permissions.
[ChangeLog][QtWebEngineQuick] Added new API for querying and modifying
website permissions.
Pick-to: 6.8
Change-Id: I8661cdc26bbd6dcde6403d29cc083bcea1a49ccc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Provide API calls to (1) save to file (QString) and (2) get the bytes
in a callback.
Pick-to: 6.8
Change-Id: I0ff44a25328b99080491b8c3b36a7b632c065131
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
| |
Change-Id: I0672706a7794bef592f746c3090ddae9f92b4705
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Emitted whenever a frame excluding the main frame calls JS print()
function. `printRequested` is now only emitted when the main frame
requests printing, instead of any frame.
Change-Id: I4b65e5a164b513cc9a9692c1285470847b7a26e3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Run JavaScript code on a specific frame, optionally executing a callback
when done. Uses the enclosing page's callback system.
There are two sets of overloads, matching the API of QQuickWebEngineView
and QWebEnginePage.
Also adds QQuickWebEngineFrame::runJavaScript()
Change-Id: I48746bd83d0f19644157548483a94637fc70c20f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a signal that fires whenever the zoom factor for a given page
changes, including both via key combinations, and when using the
existing zoom API.
This already existed in Quick, but was both undocumented and only
half-implemented (zooming via keyboard/mouse wouldn't trigger it).
Thus, the Quick documentation was changed to list it as a 6.8 addition.
Fixes: QTBUG-111041
Change-Id: I91eb7c9bf0d17d99956784841c5c86640554ad1c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
| |
This overload was added in WE1.3 but not documented until now
Change-Id: I949f17d84a050762d51a0aacefbd8048c2536d64
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: <carl@carlschwan.eu>
|
| |
|
|
|
|
| |
Change-Id: I1f5843b1abba9edb3c106718abac5cd92ee961cd
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
| |
This change hooks up QuickWebEngineView to the newly-enabled local font
access API.
Task-number: QTBUG-121320
Change-Id: Ib7e093904ea8d834a2282cd265086e501cb392ff
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
| |
Change-Id: I315b985c31caa34be7a0a9980fcae60147b7c697
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
The previous wording made it sound as if baseUrl must always be
non-empty, however this only affects external content relative URLs.
Fixes: QTBUG-90927
Pick-to: 6.7 6.6
Change-Id: I0dff3368dec60b5734c1b12bbfe3f4aefc240e14
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
With Qt 6, QPageSize::PageSizeId enum was cleaned up and some values
were reordered, but the WebEngineQuick part was not changed accordingly.
Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-120218
Change-Id: I7e4c419750d30a64193e68b0b217ebbccce07d87
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Modified WebAuthUXState as enum class
- Renamed QWebEngineWebAuthUXRequest as QWebEngineWebAuthUxRequest
- Renamed QWebEngineWebAuthPINRequest as QWebEngineWebAuthPinRequest
- Replaced all occurrence of UX and PIN with Ux and Pin respectively
Fixes: 6.7
Change-Id: Iaf0b4c93e0dfa3508a604f7d6562c4401ff800af
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: QTBUG-115044
Pick-to: 6.5 6.6
Change-Id: I83314f3b7955e1ef9c857bcc96c07f6f90b2f875
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Do not try to start print preview automatically, just notify the
embedder via printRequested signal instead of crashing.
Also fix the signal name in WebEngineView docs.
Pick-to: 6.6
Task-number: QTBUG-104610
Change-Id: I251e0b8f6f03a73236320a66a0d3c7690939d88b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Implemented AuthenticatorRequestClientDelegateQt support to handle authenticator requests.
- Added FIDO user verification and resident credential support
Fixes: QTBUG-90938
Fixes: QTBUG-90941
Change-Id: I6367791e1e9e8aaac27c376408377f838832f426
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Be consistent with the other modules, and promote
Qt6:: targets instead of the (mostly functionally equivalent)
Qt:: one's.
Pick-to: 6.5 6.6
Change-Id: I4da0b7a29782d8927de5e5eafcaf934afb128937
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.6
Change-Id: Ibe750d541dba458f2278632355bcaf864fdc845a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
* Replace \sa commands specific to section titles with 'See also'
paragraphs.
* Fix incorrectly named property WebEngineView::devToolsId
Pick-to: 6.6
Change-Id: I7f823701c9bb0a1cb8e4a4449ccfc42a34391e99
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| |
|
|
|
|
|
|
| |
[ChangeLog][WebEngineCore] Add QWebEnginePage::devToolsId()
[ChangeLog][WebEngineView] Add devToolsId property
Change-Id: I16e8a27d595b010239557c2a3af2d3b39976cd46
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Add the convenience method QQuickWebEngineView::save for saving pages without
the need to explicitly handle download requests.
Task-number: QTBUG-56093
Change-Id: I67909fdca6472d1ea9b32e0f89c1ab90219bca3b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Also moves the example to the manual tests directory.
Task-number: QTBUG-108751
Change-Id: Ie3fa492cfcaf61ee26ed65fa22954bb6a6532d6e
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
(cherry picked from commit 23d1131577e1780de0552211a84357bcb1f63de5)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Move and add missing parts as snippet.
Task-number: QTBUG-108751
Change-Id: I25849941700337626ca46e399fdb52264bc4659a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Yigit Akcay <yigit.akcay@qt.io>
(cherry picked from commit 55f9fc348278b2aa8985ec9c1e7e092f88f68f83)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
|
|
|
| |
Task-number: QTBUG-108751
Change-Id: I0998c46f051908855e0406e5fc7c0a422dc3eef0
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit ed76eef004dbac15f4740d33d06d2b271bf770d4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
| |
The correct property name should be type, not error.
Fixes: QTBUG-111574
Pick-to: 6.5 6.4
Change-Id: I276823f5bc664a99153b31e5bba36ae34608a9b9
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Implement WebActions to temporarily change text direction directly from
context menu - like Chrome does. They only work for the selected input
field. Omit the "default" option since it is always grayed out in Chrome.
Task-number: QTWB-67
Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|