summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.6.1' in qt/qtwebenginev6.6.16.6.1Qt Submodule Update Bot2023-11-201-4/+4
| | | | | Change-Id: Ibc003b24712e43a07b1ffff1b779d2fd0e0cec93 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-11-173-2/+2
| | | | | | | | | | | | | | Submodule src/3rdparty 4253d879..772cb04f: * Add android on windows build support * [Backport] CVE-2023-5996: Use after free in WebAudio * Do not require android support libs for 32bits Pick-to: 6.6 Fixes: QTBUG-118891 Change-Id: Ic93d91df7365de9c8bc1b3c5b667c2537e9da6b1 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 71b4ebbf035d7a08184a43b896c4d51e1391421a) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.6.1' in qt/qtwebengineQt Submodule Update Bot2023-11-161-4/+4
| | | | | Change-Id: I1d2eed47c98b22a8db87e40acfb4da3ff055332a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Provide the correct type information for WebEngineViewAnu Aliyas2023-11-114-15/+34
| | | | | | | | | | | | | -Duplicate entries in the QML type file are created when exporting the type as a value and its enums within a namespace. Resolved this by introducing a derived class, and using it for exporting the Enums. - Added namespace resolution to avoid type ambiguity Fixes: QTBUG-117031 Change-Id: Ieea4492238843c3c781c8d9602ddc89207b61137 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit e96b6d58801f541f5e67330cf2dc6f9aa52522a5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add NOTIFY in QWebEnginePage property url definitionAnu Aliyas2023-11-111-1/+1
| | | | | | | | | | | | - Added missing NOTIFY in QWebEnginePage property url. Fixes: QTBUG-117658 Pick-to: 6.5 Change-Id: I58c8161e41f02ab78c829fd9ef588506a55f6fd3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 95c13aa9b551dd4ebd31710f42ced27e5078115e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* NativeSkiaOutputDevice: handle errors on creating a shared textureAllan Sandfeld Jensen2023-11-111-1/+9
| | | | | | | | | | | Avoid asserting or crashing on nullptr access after failure,. Task-number: QTBUG-116445 Pick-to: 6.5 Change-Id: I75a99c97acfe07b4328be075b0f75df5f2357dbe Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 2ec0171d43e5377d9fe264d5f5c97e85a42e1191) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix accessibility crash on elements with cell rolePeter Varga2023-11-112-5/+54
| | | | | | | | | | | | Not only tables can have cell as a child. Pick-to: 6.5 Fixes: QTBUG-119023 Task-number: QTBUG-113859 Change-Id: Ic997f752059f5ac3cac9a7d7cf1fefcecbc2ddd5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ea0682573613c1bad9d65b3e7d61f58708026c31) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-11-101-4/+4
| | | | | Change-Id: Idd0e5b25d149b69f9f2a3c542b09daba5768895d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Let page interceptor process requests with extra headersSzabolcs David2023-11-104-13/+71
| | | | | | | | | | | | | | | If a QWebEngineUrlRequestInterceptor has added extra headers to the request on profile level, later the request was not processed by the page interceptor. Relax this rule and only prevent the interception of blocked or redirected requests. Add auto test and extend documentation. Task-number: QTBUG-117752 Change-Id: I503bfc256a5e874a678be64c597c74e04e7ce966 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit eda7378655fa047007dcdb47aec3641b2a89d0de) Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Mention the need to deploy v8 context snapshots for Qt WebEngineMichael Brüning2023-11-091-0/+6
| | | | | | | | | | It was missing from the documentation. Fixes: QTBUG-118655 Change-Id: I4961cada70b51a9d243e69de42a037f29957214d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit bef1d20970298fc9a680288349298c32ffb7aae3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-11-091-4/+4
| | | | | Change-Id: Ib60c2dd1cbb1e7f720d45815930dbad37b8113af Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-11-073-2/+2
| | | | | | | | | | | | | | | Submodule src/3rdparty 8146bf85..4253d879: * [Backport] CVE-2023-45853: Buffer overflow in MiniZip (2/2) * [Backport] CVE-2023-45853: Buffer overflow in MiniZip (1/2) * [Backport] Security bug 1471305 * [Backport] CVE-2023-5482 and CVE-2023-5849 * [Backport] Security bug 1478470 Fixes: QTBUG-118682 Change-Id: I067d1d9f7791d57d95a12a1f9762998d56ed4de2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ec27984cfb257e94a0ca6fdb2e40c278fdf94663) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Allow cancelling automatically accepted download requestsSzabolcs David2023-11-076-15/+43
| | | | | | | | | | | | | | Calling QWebEngineDownloadRequest::cancel() had no effect if the download request was accepted by default. These downloads had no corresponding internal DownloadItem yet, but we tried to cancel them using the DownloadManager. The safest option is to always check if the DownloadItem exists in Chromium. Task-number: QTBUG-117624 Change-Id: I8f92d45e00e088aea7d22d5b7271b5b09adf6cbb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 02675c653eb1b03ba84409e20a15f4a502b88bab) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove WebEngineDownloadItem type from docsSzabolcs David2023-11-071-3/+3
| | | | | | | | | It was renamed to WebEngineDownloadRequest. Change-Id: Ibb00a0d10459110ceb7264631de5981f256f6c65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 4800edadf386ef317edc121ec7d2d93ac8e7cb05) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-11-031-4/+4
| | | | | Change-Id: Ib55924c84554a2a2d0d247b0a03a56ba0c067278 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Handle vaapi-libvxp incompability in configMartin Negyokru2023-11-033-9/+9
| | | | | | | | | | | | | | We disable system libvpx in favor of vaapi at config time. However the system lib is listed in the config message as enabled. * Disable system libvpx by defautlt. * Print a warning if both are explicitly enabled. * Remove the hidden logic from cmake. Fixes: QTBUG-117741 Change-Id: Ib5f4e5289827f5ae95a3899c132a85c1ef7d21dd Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 716aa4845a62137ad2840c87e5dd54e04a6ee736) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Compositor: fix potential nullptr accessVladimir Belyavsky2023-11-031-6/+2
| | | | | | | | | | | | Check m_binding under the mutex to avoid data race and potentially crash on nullptr access. Fixes: QTBUG-118455 Pick-to: 6.5 Change-Id: I169c90226616e14461875aae1c72bbba2b36de8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 888f786ff054d2216ddb669992ffe5aeae7f82d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Reinstall URLRequestInterceptors during new view adoptationSzabolcs David2023-11-022-0/+51
| | | | | | | | | | | | The pointer to the page interceptor is stored in WebContentsAdapter and we lose it when recreating the adapter. Prevent this and add auto test. Fixes: QTBUG-117867 Change-Id: I5e79cdcc5996bdf2bb53c3016d4133f978ccfb39 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d2f119a94d27a98fd58a0c60bacfc8f91e028a34) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-11-021-4/+4
| | | | | Change-Id: Iea6589f2d41979be472a35b3c1cdb31741f7a1dd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Set RendererPreferences::can_accept_load_dropsAllan Sandfeld Jensen2023-11-022-0/+7
| | | | | | | | | | | The setting is duplicated, and the webpreference version will disappear in the future. Pick-to: 6.5 Change-Id: I8281d298a95b68bc7f3b421f8388a976da90baab Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 65d4600a6fb7db435f7fc91a2a54f98238e6e5d3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-10-313-2/+2
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 75a9a538..8146bf85: * [Backport] CVE-2023-5218: Use after free in Site Isolation * [Backport] CVE-2023-5476: Use after free in Blink History * [Backport] CVE-2023-5486: Inappropriate implementation in Input * [Backport] Dependency for CVE-2023-5486: Inappropriate implementation in Input * [Backport] CVE-2023-5474: Heap buffer overflow in PDF * [Backport] CVE-2023-5475: Inappropriate implementation in DevTools * [Backport] CVE-2023-5484: Inappropriate implementation in Navigation * [Backport] CVE-2023-5487: Inappropriate implementation in Fullscreen * [Backport] Security bug 1472368 * [Backport] Security bug 1472365 and 1472366 * [Backport] Security bug 1486316 * Add shorter include paths workaround Task-number: QTBUG-118480 Change-Id: I8968b249bdea9e234c925cbdacf50d92d5c2f4c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d40ba15ec9cbc2e3c86d2cdf35aec6abd1d2a405) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-301-4/+4
| | | | | Change-Id: I596b611268531da17f377fc9cc526dc95600c6bc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Compile getAdapterLuid also with -no-opengl configsMichael Brüning2023-10-301-25/+25
| | | | | | | | | | | | It was not compiled in -no-opengl builds even though it should not depend on OpenGL and was also used in non-OpenGL builds. Pick-to: 6.5 Fixes: QTBUG-117751 Change-Id: I0bcb8496d25004573d1e00ffc276511f82e489bd Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 751c110031fe94efec108c8f61d41eeb496a0c03) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Mention the need to use entitlements for QtWebEngineProcess on macOSMichael Brüning2023-10-301-0/+4
| | | | | | | | | | | | It was not listed among the steps and some users deploying manually had some trouble with it. Pick-to: 6.5 Task-number: QTBUG-116565 Change-Id: I7488b00c53d13f142d62869ea52376f5283df47a Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ea52b98ec79576ed875a095790043844869e8865) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Skip comboBoxPopupPosition* tests on apple m1Michal Klocek2023-10-281-6/+15
| | | | | | | | | | | | | We have constant crashes on apple m1 with those test, skip it for now. Verify window in comboBoxPopupPosition* tests. Change-Id: I4b9744fbcae556bc8d17e7602d003f306f54c62d Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 889b236e4e2d6ec54d6750e970ef673c487bc18a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Register missing pref for extensionsMartin Negyokru2023-10-261-0/+1
| | | | | | | | | | | | | | Chromium reads this list on pages that use the hangout services extension. This change fixes a crash on google hangouts. Upstream change: https://crrev.com/c/4051124 Fixes: QTBUG-118157 Task-number: QTBUG-85731 Change-Id: I1698dfd689f8e78277513dc11ed8dde51990ed90 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7549daf002b1d941204c975d35438b22a55b7651) Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* Also stamp the v8_context_snapshot in debug and release builds on macOSMichael Brüning2023-10-261-5/+5
| | | | | | | | | | | | | Even though debug-and-release builds on macOS are not the recommeded way anymore and ate not used in the CI they are currently still supported and should continue working. Fixes: QTBUG-118505 Change-Id: Ib15bcb9983bf3664bf10cb5038cb6a928ab51bf6 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> (cherry picked from commit 986e27565075e7b3cbfe5ab72de66691075d6742) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make sure CMake finds rights host compilerKai Köhne2023-10-261-0/+1
| | | | | | | | | | | Let CMake use the compiler that was set when configuring qtbase. The QT_USE_ORIGINAL_COMPILER is now opt in (since qtbase commit 3aa6f0b3961322a40f046c) Change-Id: Ia3f70153fc05eb2307f7565943692a1238b076e5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit cf081e0245980fc0d129cd11ca0ac17226f1f229) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-181-4/+4
| | | | | Change-Id: Ie73a530c873c8ef10c8cc5c5736a45c9eb0d3162 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Highlight also Recipe BrowserKai Köhne2023-10-131-1/+2
| | | | | | | | | Task-number: QTBUG-117224 Pick-to: 6.6.0 6.5 Change-Id: I80eb11577a46b8e26c4705b647eca855b1a4d933 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit b9f4ee0a1a38eba55613b28e943e9aafdf47179d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-131-4/+4
| | | | | Change-Id: I0ed2456235131904fdf15917261db568f4f42f61 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-10-133-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 14780aaa..75a9a538: * [Backport] Add Intel Meteorlake GPU series type * Fix ffmpeg assembly with newer binutil * [Backport] Security bug 1447972 (2/2) * [Backport] Security bug 1447972 (1/2) * [Backport] Security bug 1479104 * [Backport] Security bug 1480184 * [Backport] CVE-2023-5217: Heap buffer overflow in vp8 encoding in libvpx * Zygote: Prevent leaking control socket to child processes * FIXUP: jumbo build * [Backport] Set ABSL_OPTION_USE_STD_ANY to 2 * [Backport] Replace uses of re2::StringPiece::set(). * [Backport] Make absl::string_view a typedef for std::string_view * Fix broken copy of non-BMP characters Fixes: QTBUG-117653 Change-Id: I49b82a1f97ffda0f7ba2b3607217a178e51ee222 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 482839a0d315722f006cdd90a3e2eff97a991b2c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix corrupted load/fetch state on start up in case of NoCacheMichal Klocek2023-10-132-3/+4
| | | | | | | | | | | | | | | | | | | | | | The NoCache option on profile schedules clearHttpCache task. However, this task will run later and BrowsingDataRemover will break current network context mojo pipes. Network context will be recreated eventually but all the load/request states are gone. Do not delete explicitly cache on NoCache setting, which was undocumented 'feature' anyway. Let the user take care of that. Note doing reset network context on startup is fine as it is not delayed. [ChangeLog][WebEngineCore][WebEngineProfile] Switching profile to NoCache do not longer implicitly removes cache from old data store. Pick-to: 6.5 Task-number: QTBUG-116478 Change-Id: Ibd108d4ce7392349304df9f606738dc14dba36a0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit f46e2f2d681f826c75637876e5df786664232ab1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-101-4/+4
| | | | | Change-Id: If25a2b46cd235040f1212689c345c52b22e7ca68 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-061-4/+4
| | | | | Change-Id: Iccef306f23ea7c46e6dc9f087b385a0691525574 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Support auto accepting non-HTML saves when a path was specifiedSzabolcs David2023-10-052-1/+26
| | | | | | | | | | | | | | | | Images and PDFs had to be explicitly accepted to download, even if a filePath was given as argument of QWebEnginePage::save(). This behavior was inconsistent with saving HTML pages (and the documentation). Adjust the corresponding test case with verifying the download result of an auto-accepted download, and add a new test case to make sure about downloads are not accepted by default when there is no desired filePath. Task-number: QTBUG-117624 Change-Id: I90f4cfa485da2831327bcb25571a0b69499d9006 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7406d087d4fb9bed86d3a79c1539edab7a0f8842) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-051-4/+4
| | | | | Change-Id: Ic706b5cc0048add67e901f0205e61f94d1162692 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: All overviews list categorizationJaishree Vyas2023-10-033-0/+3
| | | | | | | | | | | The \generate list names are added for each categorized section with some explanation. Here, calling the overviews as explanations-(name of the section). The idea is to give general terms instead of specific phrases like 'core' etc, for better understanding. Task-number: QTBUG-115347 Change-Id: I6348c5c888d34503fe05c3975a129e98c0f04d0a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Support filePath argument of save() when saving non-HTML filesSzabolcs David2023-10-032-3/+17
| | | | | | | | | | | | | | | Currently the filePath argument of QWebEnginePage::save() is ignored when the user tries to download anything but HTML; and the requested download path is the Downloads folder of the OS. Fix this and adjust the corresponding test case with checking path and file name of the download request. Task-number: QTBUG-117624 Change-Id: Ia1d3afc898b1aad223aab772b775724a50e88bd3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit b8ee80acdadefff927ed2c2884e0e67c9c2fc9a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-10-021-4/+4
| | | | | Change-Id: I721284f81b399d0bb2270c871398c3076181d3d9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Do more WE processing before returning to the Qt event-loopAllan Sandfeld Jensen2023-09-306-19/+30
| | | | | | | | | | Fix a race-condition in our tests that the change exposed Task-number: QTBUG-116478 Change-Id: Id21c6b0bc9934fdcb69bd85350f5f263a9b96914 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3cbb895954e0d22efc20700a1e66413a8a483124) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Improve QWebEngineDownloadRequest::isSavePageDownload()Szabolcs David2023-09-304-19/+48
| | | | | | | | | | | | | | | | | | | | WebContentsImpl::IsSavable() decides which file formats are saveable, but it allows this only for text-based files. All other files will go around on the code path of downloading. MHTML (multipart) and PDF files are saved like this, which means they aren't marked as isSavePageDownload. Just simply set this flag if the save was requested by the user even if it was a download. This fixes the flag for saving MHTML and PDF files from context menu, and leaves the flag false when a PDF download was initiated by the button of the web UI. Task-number: QTBUG-114859 Change-Id: Id65f26a96952c5a43876338ad37f40570e544f3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ba20f9e892746639ebf888ef2e86add8839c3631) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Handle initial NavigationEntriesMartin Negyokru2023-09-293-12/+30
| | | | | | | | | | | | | | | | | | | Chromium introduced the Initial NavigationEntry that meant to represent the initial empty document at FrameTree creation time. It is just a placeholder entry put in the list of NavigationEntries that gets replaced on the next navigation. A side effect of this is that we have an extra entry in the list before we load any page. This change also reverts the history related tests modified by 106 Adaptations that introduced this behavior. Fixes: QTBUG-117489 Pick-to: 6.5 Change-Id: I2738591b681082792544bd884f8ecec54ce9d72d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f19aa5e343db66e5baacacd3c360c4cb00a01c7c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix Qt accessibility cache loggingPeter Varga2023-09-281-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | The accessibility cache logging may crash: - when logging an "insert" and the underlying Chromium accessibility objects are not yet created. - when logging a "delete" and the underlying Chromium accessibility objects are already destructed. BrowserAccessibilityManager::GetFromId() is not supposed to return nullptr but it does with the QtWebEngine integration and it happens when we try to access BrowserAccessibility too early or too late. Add check to those BrowserAccessibilityInterface methods which use GetFromId(). These methods are called by the Qt logger on creation and destruction of the BrowserAccessibilityInterface. The logging can be enabled with the following environment variable: QT_LOGGING_RULES="qt.accessibility.cache.debug=true" Pick-to: 6.6.0 6.5 Change-Id: Ib97f0acb982b72a5602234bd5845749f69689e32 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3533fa83f4f3f3ee32dcd826dd16b625940e088d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Move PDF examples to UI Components categoryKai Köhne2023-09-272-2/+2
| | | | | | | | Pick-to: 6.6.0 6.5 Change-Id: Id3279026fcc791a9bd5e3e51a7ba7dd3c4a6930c Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit d002a907b5c1016c166d1df0d027b4f391a7273b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-09-261-4/+4
| | | | | Change-Id: I3b4ec5aa435cf8a145c2348f4b41eaf4823453ea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwebengineQt Submodule Update Bot2023-09-251-4/+4
| | | | | Change-Id: I9cbdd464399d440cea93b2de8a1d7cda4184278f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Try stablizing testsAllan Sandfeld Jensen2023-09-242-24/+12
| | | | | | | | | | | qmltests::WebEngineViewSingleFileUpload::test_acceptSingleFileSelection and tst_QWebEngineView::textSelectionOutOfInputField Change-Id: Ica3e91f109ae2a43bff9cd25e0da7d363823a762 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit eeb5cdba78d0d64fd8bba4f0eb140f7e53ba6cfe) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add some missing documentationSzabolcs David2023-09-232-1/+40
| | | | | | | | | | | | | | | - Add docs of printRequested and fileSystemAccessRequested signals to QWebEnginePage. - HandleType and AccessFlags enums were missing from QWebEngineFileSystemAccessRequest. Pick-to: 6.5 Fixes: QTBUG-117119 Change-Id: Ib8057e9471830a09417924f34ef91a54de62c36d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit 50aafb2d4b6a0290987c725e3357386eb43790bb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Band aid fix for crashing D3D11 Warp setupMichal Klocek2023-09-221-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rhi can decide to run D3D11 with the software rendering through the software adapter aka "Microsoft Basic Render Driver". This unfortunately does not work well with ANGLE as it can use another adapter and sharing resources between qt and skia can fail. Try to guess which adapter might be used by rhi support or rhi backing store support classes and pass luid for ANGLE. Unfortunately this solution is far from perfect as it creates QRhi just to check what might be used later, however the user can select something totally different with QQuickGraphicsConfiguration. At lest for now we respect QSG_RHI_PREFER_SOFTWARE_RENDERER and QT_D3D_ADAPTER_INDEX. Moreover this patch should cover the case when rhi retrys with DXGI_ADAPTER_FLAG_SOFTWARE adapter if accelerated adapter fails. This is just a band aid patch to support windows on vm and we should come up with better solution. Fixes: QTBUG-116445 Pick-to: 6.6.0 6.5 6.5.3 Change-Id: I416dd82d688726ce872dc276570fe455d733a48e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8cef10f4faa9f2a5982e3cb780100cbc62209b07) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>