summaryrefslogtreecommitdiff
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* Add a clarification of GPL usageAllan Sandfeld Jensen2023-05-171-0/+4
| | | | | | | | | | We were listing Speech Dispatcher and XDG Shared Mime Info as GPLv2 contributions. Pick-to: 6.5 6.2 Fixes: QTBUG-113270 Change-Id: I9392cf12ad17a5f3efac0b245209a9ed946c2e51 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update documentation for QWebEngineUrlScheme::FetchApiAllowedYigit Akcay2023-05-161-2/+3
| | | | | | | | Update the documentation to also mention that XMLHttpRequest Web API send method needs this flag if it contains a body. Change-Id: I7588fc0af441c48516e80f6c5f38b8e54771ba9a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Test for presence of local frame in runJavaScriptAllan Sandfeld Jensen2023-05-162-2/+16
| | | | | | | | | It can be missing if we are in the process of shutting down. Pick-to: 6.5 6.2 Fixes: QTBUG-113400 Change-Id: Ib494e479db08d51825c15f54354037c265ba96b0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add system libtiff featureMichal Klocek2023-05-161-0/+4
| | | | | | | | | We use that feature when compiling pdfium for qtwebengine and qtpdfium if xfa enabled. Fixes: QTBUG-111626 Change-Id: I362739e7529f89b1705d3c25a1c9849b13a1a968 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Minor clean-up of gn argumentsPeter Varga2023-05-151-3/+1
| | | | | | Pick-to: 6.5 Change-Id: Idd33f032cc30cd40bffcb436eb007456d2dfb78e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix "redundant move in initialization" warningPeter Varga2023-05-151-1/+1
| | | | | | | | | Moving a constant reference makes no sense. Pick-to: 6.5 Change-Id: I1be8d8dd787592be528e1e5d08593595c4888ac1 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Improve rubber-banding in QT WebEngine PagesAnu Aliyas2023-05-121-0/+20
| | | | | | | | - Improved rubber-banding/elastic scroll behavior. Fixes: QTBUG-67716 Change-Id: Ida0ca19df12f08b78328cf8d8ee5dbd3e492fb16 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove unwanted space characters from content-type and character setAnu Aliyas2023-05-111-2/+2
| | | | | | | | - Removed leading and trailing space characters from content-type and character set. Fixes: QTBUG-112483 Change-Id: I7616ba7aa78e4d76121e8beb17f32f898e3734a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable EyeDropperAPIMartin Negyokru2023-05-091-0/+5
| | | | | | | | | | This patch fixes the devtools eyedropper. The EyeDropperAPI is an experimental feature which we don't implement and devtools uses it by default. Pick-to: 6.5 Change-Id: Iaa28ee5d0381750fc967dbc72d725b46b239a656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build race condition between data_dep and WebEngineCore.stampMichal Klocek2023-05-032-3/+26
| | | | | | | | | | | | | For v8 context generator data_dep race condition occurs on universal builds. As data_dep is runtime dependency, it will be not included into our linker WebEngineCore.stamp, changing the behavior in gn would look ugly as it would require introducing another flag to just to handle this case to force this dependency for build time. Therefore add extra v8_context_snapshot.stamp to cmake to cover that case. Change-Id: Ia8b2320fc8e615235bde483d282dfca73a38f215 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add v8 context snapshot support/featureMichal Klocek2023-05-036-5/+34
| | | | | Change-Id: I93e615293160d80c8a65b0152d2f820cfadbdb9d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Remove mention of x86 cross-compilation on WindowsKai Köhne2023-05-031-7/+1
| | | | | | | | | | | | Qt 6 doesn't support x86 builds anymore. Also, the build fails due to Chromium issues. Also fixed a nearby typo. Fixes: QTBUG-113035 Pick-to: 6.5 Change-Id: Ic2310a365220c4b53d973da00b7285d933e2a622 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add qWebEngineGetDomainAndRegistry()Benjamin Terrier2023-05-023-0/+26
| | | | | | | | [ChangeLog][WebEngineCore] Add qWebEngineGetDomainAndRegistry() Fixes: QTBUG-105294 Change-Id: Ica40453f807b00c8548f974a495ddf84bbe8e194 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix user script management when subframes are presentAllan Sandfeld Jensen2023-04-301-7/+12
| | | | | | | | | | Only the main frames should administer scripts associated with it. Pick-to: 6.5 Fixes: QTBUG-113109 Change-Id: Ibda66f55ef99da632134a9de1425797262faba9b Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu>
* Allow configuration of DNS-over-HTTPSYigit Akcay2023-04-286-9/+210
| | | | | | | | | | | | Implement QWebEngineGlobalSettings, a singleton class that contains global web engine settings (currently only for DoH). Allow the user to configure the stub host resolver to enable DNS-over-HTTPS. Fixes: QTBUG-98284 Change-Id: I1b06737c84e1b8d613aa257f4a891f82cac21013 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove assert on outer web contents in accessibilityMichael Brüning2023-04-251-3/+0
| | | | | | | | | It was introduced under the assumption that the accessibility would only not be available for guest views, but it is also the case for child frames. Pick-to: 6.5 Change-Id: I202b598cde98f84a40dcbb0ee24f2569c5d9ee65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with GCC 13Sam James2023-04-241-0/+2
| | | | | | | Fixes: QTBUG-111697 Pick-to: 6.5 6.2 5.15 Change-Id: Ife05645ae96d1e18727d8d79efbbd64f813b8dcd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QWebEngineSettings::DisableReadingFromCanvasAnu Aliyas2023-04-243-0/+8
| | | | | | | | - disables reading from canvas. Fixes: QTBUG-84486 Change-Id: I3e181bfa6e351dea8dfa61f8010bafb94ea8a77d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Use paintRect instead of pageRect when printing to account for marginsYigit Akcay2023-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when printing via QWebEngineView::print(), the margins are handled by QPainter and not Chromium, unlike QWebEngineView::printToPdf() or QWebEnginePage::printToPdf(). The changes in this patch don't affect the latter two. QPainter handles margins by making a distinction between pageRect and paintRect, where paintRect == pageRect - margins. Furthermore, to actually apply the top and left margin, QPainter moves paintRect by (marginLeft, marginTop). This means that we have to draw what is to be printed in the size of paintRect and QPainter will move it to apply top and left margins. Right now, this is not the case, as we draw what is to be printed in the size of pageRect. QPainter then moves it, thereby the result contains the top and left margins, but overflows the page on the right and bottom, effectively cropping the final result. In this patch we fix this by using the size of paintRect instead of pageRect to draw what is to be printed when printing via QWebEngineView::print(). Pick-to: 6.5 Fixes: QTBUG-111909 Change-Id: Ibc7a9035e654e92d84a594c6dd1ec2efc6e108ff Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support painting to Direct3D11 using ANGLEAllan Sandfeld Jensen2023-04-205-7/+68
| | | | | | | | Pick-to: 6.5 Task-number: QTBUG-112280 Fixes: QTBUG-109401 Change-Id: Iaebb79921030ce42bcfe8be1ba46d309c93dca6d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Disable devtools screencast by defaultMartin Negyokru2023-04-191-0/+11
| | | | | | | | | | | After 73acb3b3e devtools starts with screencast opened. Bring back old behavior. Fixes: QTBUG-112772 Pick-to: 6.5 Change-Id: Ifa1b860dc125e006ab5c2e3cd60a82980c32abe0 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 22fec96c..d3c3d748: * Revert "[Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools" * Do not stop navigation during saving the page if not necessary * Pass through non-keymutex share handles * [Backport] CVE-2023-1236: Inappropriate implementation in Internals * [Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools * [Backport] Security bug 1417585 * [Backport] Security bug 1418734 (2/2) * [Backport] Security bug 1418734 (1/2) * [Backport] Security bug 1415249 * [Backport] Security bug 1402921 * [Backport] Security bug 1337747 * [Backport] Security bug 1412991 * [Backport] CVE-2023-1532: Out of bounds read in GPU Video * [Backport] CVE-2023-1534: Out of bounds read in ANGLE * [Backport] CVE-2023-1531: Use after free in ANGLE * [Backport] CVE-2023-1530: Use after free in PDF (2/2) * [Backport] CVE-2023-1530: Use after free in PDF (1/2) * [Backport] CVE-2023-1529: Out of bounds memory access in WebHID * [Backport] CVE-2023-1235: Type Confusion in DevTools * [Backport] CVE-2023-1232: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1233: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1222: Heap buffer overflow in Web Audio API * [Backport] CVE-2023-1220: Heap buffer overflow in UMA * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (3/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (2/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (1/3) * [Backport] CVE-2023-1218: Use after free in WebRTC * [Backport] CVE-2023-1217: Stack buffer overflow in Crash reporting * [Backport] CVE-2023-1215: Type Confusion in CSS * [Backport] CVE-2023-1214: Type Confusion in V8 Pick-to: 6.5 Fixes: QTBUG-112166 Change-Id: I747f60f72cbf6847bc0ee89bee655972968da921 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add update-chromium target and unify 'Update Chromium' commitsMichal Klocek2023-04-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | To save some typing when doing 3rdparty udpate introduce 'update-chromium' target, which creates commit with nicely formated commit message with shas, it can be used for example with following steps: * qtwebengine repo is at the origin HEAD with nothing stagged * there are some new commits in 3rdparty * code compiles and there are no issues * make update commit by typing in <build_dir> * ninja update-chromium or * cmake --build . --target update-chromium * push the commit You can also create the commit from <source_dir> with: cmake -P cmake/SubmoduleUpdate.cmake Pick-to: 6.5 Change-Id: Ia6b051cd2df0646707c2cc88175245841728794f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io>
* Enable accessibility by default on LinuxCarl Schwan2023-04-172-10/+9
| | | | | | | | | | | | | | | | | | | | | Previously this was disabled unless the QTWEBENGINE_ENABLE_LINUX_ACCESSIBILITY was set, as the debian packaging was always enabling accessibility[1] even if a screen reader was not enabled. This is not the case anymore since 5 years ago[2] and now accessibility will only be enabled if a screen reader is detected. Which is the correct upstream behavior of at-spi2-core. So now enable accessibility unless QTWEBENGINE_ENABLE_LINUX_ACCESSIBILITY is set to 0 [1]: https://salsa.debian.org/a11y-team/at-spi2-core/-/commit/2a99b7b40526bbdf091cc574ec08d86c9a46f405 [2]: https://salsa.debian.org/a11y-team/at-spi2-core/-/commit/fde0bbead6aacefd0b5dcf9f6d36f7f50a2c0f3d Pick-to: 6.5 5.15 Change-Id: Ie5554f8b578dcca87a54dad525ae6a83d6f8f9d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Rework painting integration and support Metal RHI over ANGLEAllan Sandfeld Jensen2023-04-1217-114/+731
| | | | | | | | | | | | | Move graphics details into compositor, and add support for a native buffer mode uses ANGLE on the Chromium side. The initially support is for Metal. Pick-to: 6.5 Fixes: QTBUG-112282 Task-number: QTBUG-112280 Change-Id: I066ba1d3e72508e047d259ae5797659d45335fb2 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Better handling of interrupted PDF printingSzabolcs David2023-04-052-1/+10
| | | | | | | | | | | | | | | | | | | | | - Document the fact Stop WebAction can interrupt the in-progress PDF generation. - Update PrintViewManagerQt::PrintPreviewDone(): Normally IsPrintRenderFrameConnected() implies IsRenderFrameLive(), but we have to check both to avoid crash when render process exits. (Like Chrome does.) - Update PrintViewManagerQt::RequestPrintPreview(): Handle that case when print preview params were sent between processes at the beginning, but it was interrupted before RequestPrintPreview() could start PDF generation. - Add a simple auto test to catch crashes Pick-to: 6.5 Task-number: QTBUG-108154 Change-Id: I8a4f9cc97ddcf9a165d66a5981d93a023858fbc1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adapt to painting cleanupAllan Sandfeld Jensen2023-04-047-46/+31
| | | | | | | | | | Pass through alphaChannel requirement correctly, instead of having a nonfunctional hasAlphaChannel(). Pick-to: 6.5 Change-Id: I99adb17aa38fd91ea8fd93b86a352bc476690837 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building on Windows and macOS with chromium EGLAllan Sandfeld Jensen2023-04-044-57/+34
| | | | | | Pick-to: 6.5 Change-Id: I6c7b37d7c53ff9ed872f5f95660c6cf7520e6bda Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-031-0/+6
| | | | | | | | | | | There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Pick-to: 6.5 Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Drop perl dependency for third party opusMichal Klocek2023-03-301-0/+7
| | | | | | | | | | | Opus needs perl to do some optimizations, in case there is no perl print the warning and drop the perl requirement. Fixes: QTBUG-111958 Pick-to: 6.5 Change-Id: I63a66e71fdaeae61d5c9dbcfe41f03bfb717bb75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Rolf Eike Beer <eb@emlix.com>
* Require gn for generating docsMichal Klocek2023-03-301-0/+1
| | | | | | | | | | | | | Make sure gn is build before doc target, otherwise parallel top level build might not succeed. As configure runs the gn binary is not compiled so use scripting mode to execute gn call during build time. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I7e851de90e2a3ec52f5259d51f677b23d8245bcb Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Minor. Small clean up of qmake leftoversMichal Klocek2023-03-281-288/+0
| | | | | | Pick-to: 6.5 Change-Id: I0ef7f97b3d76c43e815daeb7d6782215c08e4f7d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add gn target to code attributions generatorMichal Klocek2023-03-281-13/+12
| | | | | | | | | Use gn_target for code attributions generation. Task-number: QTBUG-88482 Pick-to: 6.5 Change-Id: I4e5d063dec2347c10eb715a467bdd376e39e60af Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Get rid of our sync point managerAllan Sandfeld Jensen2023-03-284-25/+0
| | | | | | | | | We haven't needed our own since we got rid of the graphics node integration. Pick-to: 6.5 Change-Id: I20b0fdb440c07e451d0e0152e8012ddf59e159cf Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update initializationAllan Sandfeld Jensen2023-03-281-1/+5
| | | | | | | | Add missing calls to match RunBrowser() logic. Pick-to: 6.5 Change-Id: Ia4a14acb279cc43cc8ab4930f1f5432b03a8cbed Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Use docs target for chromium code attributionsMichal Klocek2023-03-241-1/+1
| | | | | | | | | | The target docs_WebEngieCore, which in the end calls generate_docs_WebEngineCore, is not a dependency for any other target in generated ninja file. Pick-to: 6.5 Change-Id: Ic2f1c93fed8fbb1a44e2f99365b15b7ec3e636f2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add quotes from removed example to documentationAllan Sandfeld Jensen2023-03-241-0/+14
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I5560c2104e28cb5ca753f5db3579feabf4723980 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fb2b93818c7ecd5c025b999b2521801da9f4fbc9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove webui exampleAllan Sandfeld Jensen2023-03-241-3/+16
| | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom dialogs example to manual testsMichal Klocek2023-03-221-1/+0
| | | | | | | | | | | | | This example shows how to use dialogs, however documentation already provides snippets for that added in 3cbe59e29a. The only missing one was tooltip, therefore add missing snippet and move example to manual tests. Task-number: QTBUG-108751 Change-Id: I84eda805455fb0276046ed1089389d605a8af672 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6bf30525ee49d270dae6a6440bc607513f21237c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move quick minimal example to manual testsMichal Klocek2023-03-221-1/+1
| | | | | | | | 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>
* Doc: Use the new \attribution command in licensing documentationTopi Reinio2023-03-182-2/+4
| | | | | | | | | | | Since Qt 6.5, marking a \page as an attribution page is done with a separate command, \attribution. Update the Chromium licensing template and the Qt WebEngine licensing page to use the new command. Pick-to: 6.5 6.5.0 Fixes: QTBUG-112007 Change-Id: I1eac67bee72c078782d9334a604002011e1c3c86 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
* Replace Q_OS_WIN guards with BUILDFLAG(IS_WIN)Peter Varga2023-03-161-7/+10
| | | | | | | | | | | vulkan_implementation_qt.cpp doesn't include any Qt header and Q_OS_WIN remains undefined on Windows. Also include vulkan/vulkan.h for the WIN32 vulkan macros. Pick-to: 6.5 Change-Id: I66b9f134194526c055309bb72bd3a452e2b9a2b2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix syncqt include warningPeter Varga2023-03-161-2/+2
| | | | | | | | | WARNING: qwebengineloadinginfo.h includes QHash when it should include QtCore/QHash Change-Id: I244a9390421ade2344660b66a54d4bf99915f29a Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineUrlResponseInterceptor: Implement new URL response interceptorYigit Akcay2023-03-1015-4/+388
| | | | | | | | | | | | | | | | | | | | | This patch adds the QWebEngineUrlResponseInterceptor abstract class, which, when implemented, allows a user to intercept response headers and modify them in any way they like. A response interceptor can be set via QWebEngineProfile::setUrlResponseInterceptor(), QQuickWebEngineProfile::setUrlResponseInterceptor() or QWebEnginePage::setUrlResponseInterceptor(). Also, the QWebEngineUrlResponseInfo class is implemented, which contains the request and response data to be used with the response interceptor. If a response interceptor is set in the profile and page, the one in the profile takes precedence. Fixes: QTBUG-61071 Change-Id: I484d14373ff597b1d531541c066f0102bae28c72 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Fix wrong WebEngineCertificateError property nameAndreas Eliasson2023-03-011-1/+1
| | | | | | | | | 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>
* Pass system library paths to cmakeMartin Negyokru2023-03-011-2/+2
| | | | | | | | | | | | Generate a new rsp file for each cmake target containing '-L' flags and pass them to cmake. Task-number: QTBUG-105053 Task-number: QTBUG-111225 Change-Id: Ib25c009795b776bc5f0f6e07fb89b932ef30b484 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a21742ef6064c1e84ebc43468d253dd14d86bf02) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix cross-compilation with system ffmpegMartin Negyokru2023-03-011-1/+1
| | | | | | | | | | We were using QT_FEATURE_system_ffmpeg which is not defined. Use QT_FEATURE_webengine_system_ffmpeg instead. Change-Id: Ic7b6d4ea91dc8b29f344118c28932fa80a7a8d10 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a75051ee7b4dd9ffe86e146d98c7d6412c756621) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix initialization of QWebEngineDownloadRequest::totalBytes for WidgetsPeter Varga2023-03-014-30/+25
| | | | | | | | | | | | QQuickWebEngineProfile already initializes totalBytes. Also clean up QWebEngineDownloadRequestPrivate and fix typo in documentation. Pick-to: 5.15 6.4 6.5 Fixes: QTBUG-104869 Change-Id: I8c4b79c076ddc63180960e22a9488b45ff6c4402 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix file url in webengine filesystem requestMichal Klocek2023-02-271-1/+1
| | | | | | | | | We should return filesystem url, not just string converted to url. Pick-to: 6.5 6.4 Change-Id: I883e4dd092396e918115cb609ed040c92a871737 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix use after free in permission grantMichal Klocek2023-02-274-2/+29
| | | | | | | | | The permission grant can become dangling pointer in origin state struct, fix it. Pick-to: 6.5 6.4 Change-Id: If16b604a8c3c05d09ea923251dabcae73192dd7d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>