summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add qml frame testMichal Klocek2025-10-283-0/+97
| | | | | | | | | Add simple test to increase test coverage. Task-number: QTBUG-139710 Pick-to: 6.10 Change-Id: I277fa0c9b0201edd863af60d7e507bd7b7531717 Reviewed-by: Moss Heim <moss.heim@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-10-271-4/+4
| | | | | Change-Id: I3f755760af031f27a0044a2f1ea50580ddfab27f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove leftover includes and declarations related to GPU threadPeter Varga2025-10-273-13/+0
| | | | | Change-Id: Ie5ef6fe262990ab3a93fe1384d37227fbc1e6ab0 Reviewed-by: Moss Heim <moss.heim@qt.io>
* Refactor Viz cleanup to avoid using content::GpuChildThreadPeter Varga2025-10-274-20/+22
| | | | | | | | | | | Store the GPU thread's TaskRunner in ContentGpuClient after GpuService is initialized. Use this TaskRunner to verify whether the GPU thread was created and to post wait to ensure GPU tasks are completed. No behavior change is intended. Change-Id: I1046edb34fc75caedce00fff1ce1654d9a085bd8 Reviewed-by: Moss Heim <moss.heim@qt.io>
* Move GPU info logging to the GPU threadPeter Varga2025-10-277-173/+292
| | | | | | | | | | | | | Accessing certain GPU information (eg. GPU feature status values) from the browser thread requires extra API on top of Chromium, such as content::GpuChildThread::gpu_channel_manager(). This change moves the logging to the GPU thread, allowing use of existing APIs like content::GpuDataManager::GetFeatureStatus(). Task-number: QTBUG-139335 Change-Id: I4e4471a78258a1502ec0e11683cae3936e170ce1 Reviewed-by: Moss Heim <moss.heim@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-10-241-4/+4
| | | | | Change-Id: I526a39b03582e2f71af31734c88700f8dfdf9370 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Adapt to reuse version 6Lucie Gérard2025-10-201-0/+2
| | | | | | | Task-number: QTBUG-140916 Pick-to: 6.8 6.10 Change-Id: I3b356c53fa485c1b253841bfad3d8e0568c18679 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fallback to software rendering if both GBM and Vulkan are unavailableMarcell Brauner2025-10-171-8/+23
| | | | | | | Fixes: QTBUG-136160 Pick-to: 6.10 6.9 Change-Id: Ibc258c2c921294af5f69843022b52f2b66a0ec1b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix illegal iterator dereference in PermissionManagerQtKaloyan Chehlarski2025-10-151-24/+14
| | | | | | | | | | | | | | | | The converter function between a list of Blink permissions and a list of Qt permissions, also does some permission merging in appropriate cases. The logic for this merging was broken, however, because it assumed the permissions would come in a specific order. This commit rewrites the whole function, removing the nested for-loops and potentially unsafe iterator dereferencing. Fixes: QTBUG-141096 Pick-to: 6.10 Change-Id: If7d207a10a1fe7dd660c21b581ea1ca591fbd429 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable chrome://usb-internalsMarcell Brauner2025-10-134-4/+19
| | | | | | Change-Id: Ib4e66574a9cc2383832f1cb5a19083df84e069a5 Task-number: QTBUG-136784 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Consider viewport coordinates for mouse eventsSakaria Pouke2025-10-131-2/+4
| | | | | | | | Fixes: QTBUG-131443 Pick-to: 6.10 6.8 Change-Id: I483be0d0ed6002ab334d4992169c66d086551841 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Update ChromiumAllan Sandfeld Jensen2025-10-101-0/+0
| | | | | | | | | | | | | For PPAPI removal Submodule src/3rdparty 37c43c72f..898da6a2e: > Add mojo plugin API for pepper removal > Adapt Dawn for our needs > [fixup][gcc-10] Fix compilation issue with gcc-10 > [fixup][vulkan] Fix build with enable_vulkan=false Change-Id: Ie433d9bc2096cbc955eec5286561ad90090bfcdd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove Pepper API codeAllan Sandfeld Jensen2025-10-1015-221/+442
| | | | | | | Hooking a plugin-info-host similar to what chrome does. Change-Id: I91db92abd9738a01dde2ab9a5f340c126eb3efee Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Delete stale accessibility QObjectsMoss Heim2025-10-091-0/+2
| | | | | | | | | | | | | These objects are often parented to the QWebEngineView, but not cleaned up when changing pages, resulting in increasing memory usage over time. It should be safe to delete them after the associated accessibility node is deleted. Fixes: QTBUG-140234 Pick-to: 6.8 6.9 6.10 Change-Id: I215ca01aca10873b5ce86224d98907d41e6c8991 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io>
* CMake: Fix ld: library 'GnObject_Pdf_Debug' not found errorAlexandru Croitor2025-10-091-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building a single-arch static build of QtPdf on macOS, and linking to it in a user project with qmake, one got the following error: ld: library 'GnObject_Pdf_Debug' not found This happened because the build system created an IMPORTED OBJECT library called GnObject_Pdf_Debug that is linked to the static QtPdf target via target_link_libraries(PRIVATE). When linking any dependency privately to a static library, CMake implicitly also populates its INTERFACE_LINK_LIBRARIES with a $<LINK_ONLY:GnObject_Pdf_Debug> dependency. This in turn got processed by qt_generate_prl_file() -> __qt_internal_walk_libs() which added a plain -lGnObject_Pdf_Debug to the .prl file of the static QtPdf library, even though we install no such library. Make sure we wrap the GnObject_* dependency in a QT_SKIP_WALK_LIBS_PROCESSING genex, so that __qt_internal_walk_libs skips adding it to the .prl file. Wrap the dependency also in a BUILD_INTERFACE genex, so that it's not exported in the PdfTargets.cmake file either, because the relevant object file is already included in the static QtPdf library. Pick-to: 6.8 6.10 Fixes: QTBUG-140032 Change-Id: Ie13e4e473f973564fe7a7f284a646edb18264dc0 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-10-091-4/+4
| | | | | Change-Id: I43ec476d89ba592fb63d31b7838cce7bf97431c0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix typos in coreMarcell Brauner2025-10-0922-32/+32
| | | | | | | Pick-to: 6.10 6.9 6.8 Change-Id: Ia8375615ade18fa1fea3bb42fb6dc560398166d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io>
* CMake: add_intermediate_object - ensure macos deployment targetTim Blechmann2025-10-091-0/+11
| | | | | | | | | | | | | | | | add_intermediate_object is used to merge multiple object files into a new object file. The original object files are compiled with the correct minimum deployment target, but the combined object file does not have its minos field specified. This can cause linker warnings when linking this object file into applications. We now pass -mmacosx-version-min to clang++ -r explicitly to ensure that the minos field is correctly populated. Fixes: QTBUG-140029 Pick-to: 6.8 6.10 Change-Id: I9df090d0140a1d881979d4a105ee9f597be6f3e1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CRA mark src/core [2/6]Kaloyan Chehlarski2025-10-0727-0/+29
| | | | | | | | | QUIP: 23 Fixes: QTBUG-138727 Pick-to: 6.10 6.9 6.8 Change-Id: Ib98e1057f3bbbb07ebe28be7181e1e26f8e2b56a Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/webenginequickKaloyan Chehlarski2025-10-0646-3/+48
| | | | | | | | QUIP: 23 Fixes: QTBUG-138715 Pick-to: 6.10 6.9 6.8 Change-Id: Id3edb3400c98f2489cfada7edc8559110f57a3ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-10-031-4/+4
| | | | | Change-Id: Ieab74d77c35517cf104ae52c8bf6882ec4613282 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix user agent override when intercepting a redirectKaloyan Chehlarski2025-10-011-1/+7
| | | | | | | | | | | | | | When a redirect is followed, Chromium will inject the profile's default user agent string into the list of headers to modify for the redirect request. This effectively clears any user-provided user agent overrides. This change removes the User-Agent header from the list of modified headers, allowing the user-supplied one to be used instead. Fixes: QTBUG-140515 Pick-to: 6.10 6.9 6.8 Change-Id: I444a286cc5ca728a2d8abcd51eee69cf95a4e543 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2025-09-293-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 94daf4ca..37c43c72: * Fixup [Backport] CVE-2025-10890: Side-channel information leakage in V8 (1/2) * Fixup for [Backport] CVE-2025-10892: Integer overflow in V8 * [Backport] Dependency for CVE-2025-10892 * [Backport] CVE-2025-10892: Integer overflow in V8 * [Backport] CVE-2025-10891: Integer overflow in V8 * [Backport] CVE-2025-10890: Side-channel information leakage in V8 (2/2) * [Backport] CVE-2025-10890: Side-channel information leakage in V8 (1/2) * [Backport] Roll src/third_party/ffmpeg/ 01f23648c..dcdd0fa51 (552 commits) * [Backport] CVE-2025-10502: Heap buffer overflow in ANGLE * [Backport] CVE-2025-10501: Use after free in WebRTC * [Backport] CVE-2025-10500: Use after free in Dawn * [Backport] CVE-2025-54874 * [Backport] Security bug 445380761 * [Backport] perfetto: tp: prepend to path when generating tp table headers * ANGLE: Don't hard-code toolchain path for metallib tool * [fixup] Adapt autofill component for WebEngine Fixes: QTBUG-140224 Fixes: QTBUG-140630 Change-Id: Ifb40a98f23b6397f27d93966930cae6b9557b187 Reviewed-by: Moss Heim <moss.heim@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-09-291-4/+4
| | | | | Change-Id: Ida8f5b26eeebe04c6b1b7fbbb2edb3319354e1b9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Ensure function-scope static variables are only initialized onceMoss Heim2025-09-292-29/+29
| | | | | | | | | | | | | Previously some static variables were initialized by checking the value after the variable was declared, without any guarding mutex. This could result in multiple threads performing the initialization simultaneously. In some cases the initialization was idempotent and innocuous, but the pattern should be avoided, when side effects are introduced there will be difficult-to-reproduce data races. Pick-to: 6.10 6.9 Change-Id: I536738dca102cfd1a2a59dd8156084e07ad1922b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-09-261-4/+4
| | | | | Change-Id: If612e347142813e90f0000e6469bbe2f8f36d522 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CRA mark src/core [6/6]Kaloyan Chehlarski2025-09-2525-0/+25
| | | | | | | | QUIP: 23 Fixes: QTBUG-138731 Pick-to: 6.10 6.9 6.8 Change-Id: I5ed7d15332dea5e26e84b8f82339c0ba537ba660 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/core [5/6]Kaloyan Chehlarski2025-09-2523-0/+24
| | | | | | | | QUIP: 23 Fixes: QTBUG-138730 Pick-to: 6.10 6.9 6.8 Change-Id: Iaff7ccc266691b16f403cbf02575aea8c287bcb0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/core [4/6]Kaloyan Chehlarski2025-09-2527-0/+27
| | | | | | | | QUIP: 23 Fixes: QTBUG-138729 Pick-to: 6.10 6.9 6.8 Change-Id: If91f79fe9d2f8ef7278c99794ea74bc0ceb71d1e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/core [3/6]Kaloyan Chehlarski2025-09-2527-0/+28
| | | | | | | | QUIP: 23 Fixes: QTBUG-138728 Pick-to: 6.10 6.9 6.8 Change-Id: I36a12aaaf01cd3c3e763c86d9065efae2b6ccbae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/core [1/6]Kaloyan Chehlarski2025-09-2524-0/+24
| | | | | | | | QUIP: 23 Fixes: QTBUG-138726 Pick-to: 6.10 6.9 6.8 Change-Id: Ieee01149fd953d712127b4e53e5056b47910a441 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CMake: Add missing version checksMichal Klocek2025-09-252-57/+83
| | | | | | | | | | | | | | Whenever we check for some version number we should also have it documented. These change simply adds all missing checks. Note this might give more warnings than expected in case of missing libs, however follow up change takes care of that issue Pick-to: 6.10 6.9 Change-Id: Iaca8c3ae059567473072b9ecd2cac450928f6317 Reviewed-by: Moss Heim <moss.heim@qt.io>
* PdfSearchModel: change "not found in context" warning to qCDebugShawn Rutledge2025-09-241-1/+1
| | | | | | | | | It's noisy in practice. Pick-to: 6.8 6.10 Fixes: QTBUG-122766 Change-Id: I9c03ee6849568f6f52d55a0072becf11b9f8a50d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Docs: Fix webEngineDesktopMediaRequest docsMichal Klocek2025-09-232-11/+12
| | | | | | | | | 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>
* Warn if --ignore-gpu-blocklist breaks rendering with MesaPeter Varga2025-09-231-6/+55
| | | | | | | | Task-number: QTBUG-139335 Pick-to: 6.10 6.9 Change-Id: Idf869dc434639315fc1ede3f73dd0a2f3bb9076d Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update the PdfViewer example .ui filesFriedemann Kleint2025-09-221-9/+9
| | | | | | | | | | | | This makes syncing examples with PySide easier. Load and save them using Qt Widgets Designer to get fully qualified enumerations and to adapt to increased minimum sizes. Pick-to: 6.10 Task-number: PYSIDE-2206 Change-Id: I3f6d5e06b9a9c7d15bdbce35e01fbc4fdceeabb8 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2025-09-201-4/+4
| | | | | Change-Id: Ib8a24cac88878fd48cf8404f7e08add35d2e61aa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Return to supporting eglCreateImage in EGLHelper::queryDmaBufMoss Heim2025-09-182-12/+134
| | | | | | | | | | | | | | | | | | eglCreateDRMImageMESA was removed in mesa 25.2. Keep using it where we can since this fixes support for panthor/panfrost, otherwise fall back to the old use of EGL API. Includes a revert of the following commits: Revert "Create EGLImage with eglCreateDRMImageMESA() for exporting dma_buf" This reverts commit 2ed5f9632292c6e531f353dae800cb12274af91a. Revert "Remove leftover QOffscreenSurface from EGLHelper" This reverts commit bcee2dbf412cc655c1b467091b581c696d234e3f. Pick-to: 6.9 6.10 6.10.0 Task-number: QTBUG-136257 Task-number: QTBUG-139424 Change-Id: Ie115bd6373ce0a80651781aa568405477010ee25 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Udate the webengine example .ui filesFriedemann Kleint2025-09-1713-60/+87
| | | | | | | | | | | | This makes syncing examples with PySide easier. Load and save them using Qt Widgets Designer to get fully qualified enumerations and to adapt to increased minimum sizes. Pick-to: 6.10 Task-number: PYSIDE-2206 Change-Id: Ibfc5a3dfb28211b5557b0f9bc50e86572772c29c Reviewed-by: Moss Heim <moss.heim@qt.io>
* Fix -no-ssl buildPeter Varga2025-09-177-19/+56
| | | | | | | | Amends 671afae06 Add API for providing additional CA certificates Pick-to: 6.10 Change-Id: I7e40b9b24e319e89c94d13516ebbc896c8ba6f69 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineFrame: keep using RO0Marc Mutz2025-09-152-13/+6
| | | | | | | | | | | | | | | | | Amends 3ee3548e4c663402848db3b1336bf56e7c6d327e, which incorrectly and needlessly made the move SMFs out-of-line (move SMFs must always be inline in Qt). All these functions were already inline in 6.9, so keep it that way, just with explicit = default, which is how the 6.9 cherry-pick of said commit was also resolved. Found in API-Review. Pick-to: 6.10 6.10.0 Change-Id: I85595614fcb33c0ae545c751006d0b70a14d8629 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2025-09-123-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty e0e59b7d..94daf4ca: * [Backport] CVE-2025-10201: Inappropriate implementation in Mojo * [Backport] CVE-2025-10200: Use after free in Serviceworker * [backport] Security bug 426429657 * [backport] CVE-2025-9866 * [fixup] Use ui::Compositor (3rdparty) * [fixup] Fixes for jumbo build * [fixup][gn] Add rsp target writer * [fixup] Add shorter include paths workaround * [fixup] Add user script data mojo interface and traits * [fixup] Add mojom for renderer_configuration * [fixup] Implement resourcesPrivate API * [fixup] Fix navigation when clicking on links in a PDF * [fixup] Add minimal webrtcdesktopcapture api for hangout services extension * minibgm: fix missing include libgen.h * Use -I for GN pkg_config include directories * [fixup][gcc-10] Fix compilation issue with gcc-10 Fixes: QTBUG-139776 Fixes: QTBUG-140070 Change-Id: I07b064b785653d990d8077b410b33581da9c3dde Reviewed-by: Moss Heim <moss.heim@qt.io>
* Doc: Fix type issues in WebEngineView QML docsKaloyan Chehlarski2025-09-101-9/+9
| | | | | | | | | | - 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>
* Disable GBM if Ozone X11 is not availableMarcell Brauner2025-09-101-1/+9
| | | | | | | | | | | | | | | If certain X11 libraries are missing then the BUILDFLAG(IS_OZONE_X11) is false. In this case, the GLX code path is unable to create GBM buffer without Ozone X11 support. This results in the web view being empty and the warning messages are not helpful. To circumvent this, add a more meaningful warning message and fallback to a different rendering path. Pick-to: 6.10 6.9 6.8 Change-Id: Id4bc9a7e88c6f19713c764437138b92a3aee86e6 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix typo in --disable-gpuMarcell Brauner2025-09-102-2/+2
| | | | | | | Pick-to: 6.10 6.9 6.8 Change-Id: Ifffe48cce9d0acb85c5aca398894c2d359626672 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Moss Heim <moss.heim@qt.io>
* Docs: Fix documentation for qml type valuesMichal Klocek2025-09-107-37/+45
| | | | | | | | | 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>
* Rename SinglePage Qml module to SinglePageModuleAlexey Edelev2025-09-095-21/+21
| | | | | | | | | This avoids name clash. Pick-to: 6.10 6.10.0 Task-number: QTBUG-139998 Change-Id: I598844456c7263f879854496188287d2bcf0d1d5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: Slightly reword recentlyAudibleChanged descriptionKaloyan Chehlarski2025-09-081-3/+2
| | | | | | Pick-to: 6.10 Change-Id: Iea3603e13439c0e9e205fc4d99698a49bb8c6c44 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
* Doc: Minor comma fixesKaloyan Chehlarski2025-09-082-4/+4
| | | | | | Pick-to: 6.10 Change-Id: I1ed24289af08aad651c93a09cb342dc9e8b71349 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
* Doc: Fix unnecessary indentation in QWebEngineView snippetsKaloyan Chehlarski2025-09-081-7/+7
| | | | | | Pick-to: 6.10 Change-Id: Id8766117930315004512a65529642ea818125724 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>