summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix moc's namespace for qquickwebenginesingletonMichal Klocek2022-09-021-1/+2
| | | | | | | Fixes: QTBUG-106090 Pick-to: 6.4 6.3 Change-Id: If0572c92e5b9fe6ae44c2d93d38dfa0f68289994 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-09-021-4/+4
| | | | | Change-Id: Ifa07bc6b4ab8592041b29df21dea5cc3180def4d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Improve tests for qemu-armv7Allan Sandfeld Jensen2022-09-022-3/+2
| | | | | | | | | | | test_runJavaScript() was badly written with a hardcoded wait of 100ms this should make it both faster on normal machines and more reliable on slower ones. Fixes: QTBUG-106210 Pick-to: 6.4 Change-Id: I539e59dce6e3719661202e1a213277794a660bd3 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add tst_MultiPageView::navigation() testShawn Rutledge2022-09-013-0/+138
| | | | | | | | | | | | The navigation() test is a high-level one to verify that the navigation stack works and that the TableView jumps to the expected locations inside the document when we go to pages, click links and use the forward() and back() methods. It's similar to the internalLink() test, but more programmable. Pick-to: 6.4 Change-Id: I337e2ae283213238288a172d1bab3df07a1395e0 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Blacklist tst_MultiPageView::password on WindowsShawn Rutledge2022-08-311-0/+3
| | | | | | Task-number: QTBUG-106072 Change-Id: Iecc763f0f8cd5f1b83588a31f1de4fd4f8c0055e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Begin adding Qt Quick Pdf testsShawn Rutledge2022-08-319-0/+762
| | | | | | | | | | | | | | | | | ...starting with tests for the PdfMultiPageView component. The file bookmarksAndLinks.pdf is fx/other/bookmarkgetcolor.pdf from https://pdfium.googlesource.com/pdfium_tests pdf-sample.protected.pdf is from 55b863f2dd2773290c63259c3835b19dcb277098 The shared/util implementation is adapted from the Qt Quick 3D module, with showView() adapted from qtdeclarative's viewtestutils.cpp. Pick-to: 6.4 Change-Id: I1458968846d33f262465a368fdaec771d4979b67 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Add touchHandles for widgetsMartin Negyokru2022-08-297-1/+131
| | | | | | | Task-number: QTBUG-100418 Task-number: QTBUG-91712 Change-Id: I69131d3c7c4511ea3114df7a9300bf6ff1a59fee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crashes of combobox popup testsMichal Klocek2022-08-261-9/+22
| | | | | | | | | | | | | | | | Offscreenwindow from quickwidget is a top level window, which was from time to time used as "popup" window in the test instead of widgetwindow of webengineview. Check if window is offscreenwindow and do not consider it as valid window in the test. Moreover popup should be closed in the end of test, however checking for offscreen window would result in bogus outcome as offscreen window is destroyed before quickwidgetwindow. Pick-to: 6.4 6.3 Task-number: QTBUG-105342 Change-Id: Ibfeab0cad0bc43690c2458cb97738b4b5ea132f4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-26110-110/+110
| | | | | | Task-number: QTBUG-105718 Change-Id: I2ad190e5536cdbdc8d2656e61892545d66911a02 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Reestablish default config for embedded buildsAllan Sandfeld Jensen2022-08-264-0/+21
| | | | | | | | | Was missing from the CMake switch-over Pick-to: 6.4 Change-Id: I0171d395f9e66c072e368b7019539fc29ff865b8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix build with disabled webengine_printing_and_pdfPeter Varga2022-08-246-17/+51
| | | | | | | | Now the extensions can be enabled when printing is disabled. Pick-to: 6.4 Change-Id: I6183c795298eedf9cdf5110e580e73ba88f45828 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumPeter Varga2022-08-241-0/+0
| | | | | | | | | | Submodule src/3rdparty 7ed043a1b..a7ecbb5ca: > Avoid calling git in build scripts > FIXUP: Fixes for jumbo build Pick-to: 6.4 Change-Id: I47ae3494c00750adefae192a45da270ca3706e86 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix debug build on armMichal Klocek2022-08-241-1/+4
| | | | | | | | We need --long-plt for arm debug builds. Pick-to: 6.4 6.3 Change-Id: I99fa6a2f8ec803cc399509d02a5cc9ad22fd0f87 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix initial widget focusPeter Varga2022-08-242-14/+43
| | | | | | | | | | | | Avoid WebEngineQuickWidget::rootObject() to steal focus from the content item (RenderWidgetHostViewQtDelegateItem). The root object is supposed to keep the content item alive and not handling input events. Fixes: QTBUG-105072 Pick-to: 6.4 Change-Id: I18e8ff39bfe338b742416bc56f6937edcfd2bc21 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QWebEngineUrlRequestInfo::httpHeaders()Benjamin Terrier2022-08-235-8/+89
| | | | | | Fixes: QTBUG-105399 Change-Id: I6bc64d7f0b5e80b8645d7dbccb224262ff17c1a4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2022-08-221-0/+0
| | | | | | | | | | Submodule src/3rdparty 4c842ebb1..7ed043a1b: > Move gio to public_config > Fix building with system ffmpeg 4.4 or 5.1 Pick-to: 6.4 Change-Id: I7d657b874a3e7d8307c1af9447b8dffc2ab92546 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Find GIO submodule of GLIBAllan Sandfeld Jensen2022-08-221-1/+1
| | | | | | | | | Seems casing is important. Task-number: QTBUG-105818 Pick-to: 6.4 Change-Id: I43176b6c1aa21cba7d9145067ffdaec4456e3e67 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumMichael Brüning2022-08-193-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 8496e134..620599a6: * 2nd fixup for [Backport] CVE-2022-2605 * Fixup for [Backport] CVE-2022-2605: Out of bounds read in Dawn (1/3) * [Backport] CVE-2022-2854: Use after free in SwiftShader * [Backport] CVE-2022-2860: Insufficient policy enforcement in Cookies * [Backport] CVE-2022-2855: Use after free in ANGLE * [Backport] CVE-2022-2857: Use after free in Blink * [Backport] CVE-2022-2853: Heap buffer overflow in Downloads * Disable accelerated_2d_canvas for Intel drivers on Windows * [Backport] CVE-2022-2605: Out of bounds read in Dawn (3/3) * [Backport] CVE-2022-2605: Out of bounds read in Dawn (2/3) * [Backport] CVE-2022-2605: Out of bounds read in Dawn (1/3) * Native spellchecker: Fix it when enabled * Fix build without spellcheck * [Backport] Security bug 1264288 * [Backport] Security bug 1333970 * [Backport] Security bug 1343889 Pick-to: 6.4 Fixes: QTBUG-104640 Task-number: QTBUG-1053266 Change-Id: I9fec122a689bcdf0afdec482b7a60cb5f811543d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Conan: Implement 'package_env_info()' in the build recipeIikka Eklund2022-08-181-0/+17
| | | | | | | | | | | | | | | The qtwebengine needs to pass information about where the QtWebEngineProcess is located for Conan as each Qt package is installed under separate install prefix inside the Conan cache. Locate the QtWebEngineProcess from the installation folder under the qtwebengine install prefix inside the Conan cache. Return a dictionary where 'QTWEBENGINEPROCESS_PATH' points to the located QtWebEngineProcess file. Pick-to: 6.2 6.3 6.3.2 6.4 Change-Id: I54da22eae3b0e7cca0b1a19e683f661ccf21d219 Reviewed-by: Toni Saario <toni.saario@qt.io>
* Fix simplebrowser build with Qt 6.3Peter Varga2022-08-182-0/+10
| | | | | | | Pick-to: 6.4 Task-number: QTBUG-97829 Change-Id: I0034a1350bf1a0bf01914f0216dd37859e3e7163 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Increase timeoutsAllan Sandfeld Jensen2022-08-1712-17/+17
| | | | | | | | | | Trying to pass on qemu-arm64 Pick-to: 6.4 Task-number: QTBUG-105342 Change-Id: I5eca4ef2235d26b88207decd66b06c30b9f9972f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Native spellchecker: Fix it when disabledSzabolcs David2022-08-161-0/+8
| | | | | | | | | | | | | | SpellCheck is enabled by default "due to peculiarities of the initialization sequence" (see the ctor in components/spellcheck/renderer/spellcheck.cc). It produces red underlines on the fist user interaction even if we disable it from WebEngineProfile, then the lazily initialized SpellcheckService disables it correctly. Initialize the service early for this particular case to avoid undesired spellchecking. Change-Id: Ib2e38fb381d9b169f8f59c8100b4df7af3493aa1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add missing node modules to take_snapshot.pySzabolcs David2022-08-151-0/+25
| | | | | Change-Id: I5e831cec2da53ffc57970c82af143742008cae6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update Qt compat documentationAllan Sandfeld Jensen2022-08-121-2/+2
| | | | | | | | Updated it for Qt 6.4 Change-Id: Ia3a115bfd5bb41bc1ebbb2b2258178b42b938dca Pick-to: 6.4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Only skip arm64 qemu testsAllan Sandfeld Jensen2022-08-121-1/+1
| | | | | | | | | It seems we can pass the arm32 tests. Pick-to: 6.4 Task-number: QTBUG-105342 Change-Id: Ic5492e43cd327119305c3731701186710f9d59c6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix PDF viewerAllan Sandfeld Jensen2022-08-1117-48/+396
| | | | | | | | | | | | | | | | | | | | | | | | | It was broken after 102-based merge Submodule src/3rdparty c57592220..8496e1340: > Revert "Jumbo build mojom files" > FIXUP: Fix building with optimize_webui=false > Revert "Add remove_v8base_debug_symbols to GN" > FIXUP: Fix crashes and asserts > Add missing node modules for PDF support > [Backport] CVE-2022-2614: Use after free in Sign-In Flow > [Backport] CVE-2022-2618: Insufficient validation of untrusted input in Internals > [Backport] CVE-2022-2612: Side-channel information leakage in Keyboard input > [Backport] CVE-2022-2613: Use after free in Input > [Backport] CVE-2022-2624: Heap buffer overflow in PDF > [Backport] CVE-2022-2610: Insufficient policy enforcement in Background Fetch > [Backport] CVE-2022-2615: Insufficient policy enforcement in Cookies > [Backport] CVE-2022-2294: Heap buffer overflow in WebRTC > [Backport] CVE-2022-2478 : Use after free in PDF > Jumbo build mojom files Pick-to: 6.4 Change-Id: I4fc608c21ab8aaa508329e708446b57cccbddf76 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix build with Qt versions < 6.3.0Michael Brüning2022-08-111-0/+4
| | | | | | Pick-to: 6.4 6.3 Change-Id: I754bce59da6d735c3a3adb4086b4d08e75c50b3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix recovery after sub-process crashAllan Sandfeld Jensen2022-08-116-0/+24
| | | | | | | | | We no longer get RenderViewChanged signal but only a RenderViewReady signal after a crash. Pick-to: 6.4 Change-Id: Ib14cb3092e46e699d55bc252c9dddca524f6b8b7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Improve finding Chrome/Chromium widevine CDM modules on LinuxPeter Varga2022-08-101-2/+36
| | | | | | | | | | | | | | Also search in the path stored in latest-component-updated-widevine-cdm hint file if available in ~/.config directory. The hint file is only available on Linux and it has been added by: https://crrev.com/c/1826077 Pick-to: 6.4 Fixes: QTBUG-86007 Change-Id: I39d049db004a5ac452a94011603e9dc5f96707bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move QPdfBookmarkModel::d_rolesNames to private classAllan Sandfeld Jensen2022-08-102-4/+4
| | | | | | | | | | To protect implementation internals From API Review Pick-to: 6.4 Change-Id: Idaf221546a1d7d00b433759b2f3160b915155cc3 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Add constructor to WebKeyboardEventMartin Negyokru2022-08-091-9/+12
| | | | | | | | | | WebKeyboardEvent type is needed for devtools protocol. Fixes: QTBUG-105082 Fixes: QTBUG-86871 Pick-to: 6.3 6.4 Change-Id: I17e9b38cae73cac606862cf2361ee878c9ae97ba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Change Rotation values from RotateX to ClockwiseXAllan Sandfeld Jensen2022-08-093-12/+12
| | | | | | | | To avoid syntax such as Rotation::Rotate, and made direction explicit. Pick-to: 6.4 Change-Id: Id7bd7024ba11cfe2f4f23061e4fb05f46d75061e Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Rename _Count to NRolesAllan Sandfeld Jensen2022-08-098-16/+16
| | | | | | | | | | Identifiers shouldn't really begin with underscore even if it works. It is reserved for compiler/library internals. Pick-to: 6.4 Change-Id: I17e1b3ce2dc19af036fcb13a6c90fc1f6f149e17 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add QT_NO_DEBUG_STREAM protectionsAllan Sandfeld Jensen2022-08-092-1/+6
| | | | | | | | So the header compiles with QDebug disabled. Pick-to: 6.4 Change-Id: I0f89dee4ff07734d53eee4dc5e2183633ee05da1 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Make QWebEngineFileSystemAccessRequest comparisons hidden friendsAllan Sandfeld Jensen2022-08-092-16/+12
| | | | | | | | From API review Pick-to: 6.4 Change-Id: I567767b95852048f56d3ff5b5d0df2b91358f8b1 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Switch QWebEngineFileSystemAccessRequest to std::shared_ptrAllan Sandfeld Jensen2022-08-083-10/+7
| | | | | | | | | | And also inline move constructor From API review Pick-to: 6.4 Change-Id: Ieff59c05df9ca7700579a5d83042f5e98355fe74 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Disable accessibility for guest viewsPeter Varga2022-08-081-0/+17
| | | | | | | | | It is not implemented yet. Pick-to: 6.4 Fixes: QTBUG-105134 Change-Id: Ide86d038729fe2647bd9a5560b30729697a4f575 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* add riscv64 support in cmake/Functions.cmakeMoody Liu2022-08-081-0/+4
| | | | | | | | do note that chromium itself still needs additional patches to compile on RISC-V 64, but on the Qt side, this is enough. Change-Id: I3b214fc5f4a286a665c85556892e553258b52cf5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2022-08-051-0/+0
| | | | | | | | | | | | | | | Pulls in following patches: * e74437286f2 [Backport] CVE-2022-2480 : Use after free in Service Worker API * 0081e38b3cd [Backport] Security bug 1340335 * bedc4b56837 [Backport] Security bug 1334864 * 54a39c446af [Backport] Security bug 1336014 * ff5ca5ee77f [Backport] Security bug 1340654 * c5759222032 [Backport] Security bug 1287804 Pick-to: 6.4 Change-Id: I2994fa3274ade68ed8a3cbb3fc391755d371aa59 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix single process crash when proxy pac is usedMichal Klocek2022-08-054-9/+39
| | | | | | | | | | | | | | | | | | Using proxy v8 resolver ends up in race condition when render thread tries to evaluate extension handle and v8 proxy resolver evaluates proxy pac script. Disable v8 proxy resolver for single process mode. Issue tracked upstream http://crbug.com/474654 Modify the unit test to catch the crash case, the test loads now network resource but it does not matter as we do not check for failure or success. Fixes: QTBUG-104436 Pick-to: 6.4 6.3 Change-Id: Id3221d1b8b3896f0ced3d0cd7cb9d9eceeb929cc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update minimum windows sdkMartin Negyokru2022-08-052-3/+3
| | | | | | | | | 102-based requires 10.0.20348.0 windows sdk. See: https://chromium-review.googlesource.com/c/chromium/src/+/3550827 Pick-to: 6.4 Change-Id: I5797020f56d76831bf957940974e2bc296adb429 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix potential security issue with format stringsPeter Varga2022-08-051-3/+3
| | | | | | | | | | | This is a fixup for f63f7903c Add environment variables to specify resources and locales locations Pick-to: 6.4 Change-Id: I285e7408d138ac445e1c3e140b5b5587ef6ccd50 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Disable tests on qemu temporallyMichal Klocek2022-08-041-1/+3
| | | | | | Task-number: QTBUG-105342 Change-Id: Ic644c193329ff6c21dfffe43f52ea6f0c5a8fc3f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adaptations for Chromium 102Allan Sandfeld Jensen2022-08-0462-267/+291
| | | | | | Pick-to: 6.4 Change-Id: I7ef0ad616f2ea0fae482253335e95998aa2d360e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for Chromium 100Allan Sandfeld Jensen2022-08-0464-271/+290
| | | | | | Pick-to: 6.4 Change-Id: I217c87657f544a2e868de7291353ff1143e20902 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix -no-opengl build on WindowsPeter Varga2022-08-031-0/+4
| | | | | | Pick-to: 6.4 Change-Id: Id48824fb64125b1fdafcc54866eed8365d5ec3bb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add environment variables to specify resources and locales locationsPeter Varga2022-08-032-45/+122
| | | | | | | | | | | | | - QTWEBENGINE_RESOURCES_PATH for resources - QTWEBENGINE_LOCALES_PATH for locales (translations) Pick-to: 6.4 Fixes: QTBUG-88595 Fixes: QTBUG-78646 Task-number: QTBUG-103760 Change-Id: I9208ab8cc154d89eae6053eb3c50f007be5ffbb1 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-288-9/+8
| | | | | Change-Id: I31bd3dd7d7be0f32b999b3874cc996815758c146 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-07-281-4/+4
| | | | | Change-Id: I02ebb645cc2e4f1c66f6d7fa097c1e1afdd01940 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-07-191-4/+4
| | | | | Change-Id: Ibdac7fee992f53a44ab45236cd5b5110fdc6ea8b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>