summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update Chromium to 108-basedAllan Sandfeld Jensen2023-01-061-0/+0
| | | | | | | Pick-to: 6.5 Task-number: QTBUG-105147 Change-Id: I65ba9ab91fb55b51b20583a5dacc8b2d9634c42e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adaptations for 108-basedAllan Sandfeld Jensen2023-01-0656-153/+228
| | | | | | | Pick-to: 6.5 Fixes: QTBUG-105147 Change-Id: I0022964903f3443cc97843c62468ab9be8ae2ed8 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-01-041-4/+4
| | | | | Change-Id: Ied77e0e75f389c48b83422019ad6a718021e3289 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-01-031-4/+4
| | | | | Change-Id: I5216aca6f8597203af364f7c2b0783f4939227de Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix creation of nssdb for certificate store unit testMichal Klocek2023-01-022-7/+13
| | | | | | | | | | | | | In case there is no nssdb in system create empty database. This got unnoticed as running webengine creates one, however when doing test configuration on fresh system without one pk12utils fails. Move 'nickname' to certificate otherwise clean job does not work. Task-number: QTBUG-109179 Pick-to: 6.5 6.4 Change-Id: I401ffab62dd13d7aa1459672b1170afcde3cde83 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove QT_USE_SYNCQT_CPPAlexey Edelev2023-01-021-2/+0
| | | | | | | | Option has not effect anymore. Pick-to: 6.5 Change-Id: Ifa8dfd8ba39b80c79c796729c0cdd193c14c78e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update push example after setPushServiceEndpoint changeMichal Klocek2022-12-227-7/+204
| | | | | | | | | | | | We have now extra call to enable push messaging, therefore drop usage of simple browser in example and use the same code as in Notification Example but add new settings and fix profile to be not off-the-record. Task-number: QTBUG-107442 Pick-to: 6.5 Change-Id: I3069c4cf2b6a6ce864c1e4c578ab03adb67984e4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update ChromiumMichal Klocek2022-12-221-0/+0
| | | | | | | | | | | | | Pulls in following patches: * 481d91afcf3 Fix initialization for FCM * df46b0483d4 Force python to write with utf8 encoding * 1051027a309 Remove custom push service endpoint support * 702cba29bcc FIXUP: Fixes for jumbo build * fb8de43885e FIXUP: Fixes for jumbo build Change-Id: Ifcd7fe759ea0b8033ee3a0fce889f4fd165a5af7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove setPushServiceEndpoint from APIMichal Klocek2022-12-229-62/+45
| | | | | | | | | | Use setPushServiceEnabled instead. Update also getter and documentation. Task-number: QTBUG-107442 Pick-to: 6.5 Change-Id: I299ce88b06edef0f1a0088fb10f4a142056039be Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* QPdfDocument: make code locale-independentMarc Mutz2022-12-221-1/+3
| | | | | | | | | | | | | | | | | | | | The C toupper/tolower functions are locale-dependent. Given the right locale (Türkiye, e.g.), tolower(I) is either - ı (LATIN SMALL LETTER DOTLESS I; if representable in current charset) - I (unchanged; if it isn't) Both results are wrong for the present use-case, so use US-ASCII-only QtMiscUtils::toAsciiLower() to side-step the issue. Besides, feeding unfiltered char values into tolower() is UB. You'd first have to cast to uchar: https://en.cppreference.com/w/cpp/string/byte/tolower Task-number: QTBUG-109235 Pick-to: 6.5 6.4 Change-Id: I57887581ba2e548e978223337d681124b30bf754 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-12-211-4/+4
| | | | | Change-Id: Ib3a1cfda0ea214aa21cb522e875d92845526fbbf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix push service initializationMichal Klocek2022-12-201-0/+4
| | | | | | | | Add missing perf store values. Pick-to: 6.5 Change-Id: Ic9b264c22e1d419e6c89ce4e0f9b5b843aded8cb Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Bump version to 6.6.0Jani Heikkinen2022-12-161-1/+1
| | | | | Change-Id: Idff8219e12159b5af45311f399a23ad4bac44776 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-12-161-4/+4
| | | | | Change-Id: I3b99d89a99f7486211c394686e0183f419322991 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix qdoc warningsMichal Klocek2022-12-1617-20/+19
| | | | | | | | | | | | | | | | | | As JavaScript parsing issue got fixed , the limit was not changed, meaning there where 4 "unused" warnings possibilities. In the meantime another change e6a13d97898f3f4b19f61006d0716ca9e1b9f037 was merged which had 3 qdoc issues, which got therefore unnoticed. Fix those issues. Do not use underscore in example name and rename push_notification to push-notifications (like qtbase network-chat). Pick-to: 6.5 Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Revert "Pump up temporally warning limit for qdoc"Michal Klocek2022-12-161-1/+1
| | | | | | | | | | A required dependency for qttools is merged. This reverts commit f85b1381be8aeda4de7d364e4b51f09fc560c0c1. Pick-to: 6.5 Change-Id: If0f0a990a9f5ec2c8601057d803875f19893bf6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make the RWHV Qt delegate not accept the mouse move eventMikolaj Boc2022-12-151-1/+2
| | | | | | | | | This is done to give the items upper in the hierarchy a chance to update their hover state. Fixes: QTBUG-109243 Change-Id: I011b49697711547b5096ef793a36a42ab34decfd Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Mark the module free of qAsConst()Marc Mutz2022-12-151-0/+1
| | | | | Change-Id: Ia9fdbedcc05f32c7c189cfbbd4c6ea165a52b06b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Recreate response head objects on multiple redirectMichael Brüning2022-12-134-8/+73
| | | | | | | | | | The previous response head gets moved when redirecting, which lead to dereferencing a null pointer on the next redirect. Pick-to: 6.4 5.15 Fixes: QTBUG-109357 Change-Id: Iaad1c46b8d4ca9720f1749980a9e06337ca0f3d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Implement touchbrowser for widgetsMartin Negyokru2022-12-1319-143/+289
| | | | | | | | | | Simplify touchMockingApplication. Let QApplication synthesize touch events. Unify quick and widgets touchbrowser. Fixes: QTBUG-100417 Change-Id: If43432996ca18c67f3ae13ab0767d267b27dc9a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Route Qt::TimeSpec usage via QTimeZoneEdward Welbourne2022-12-121-2/+6
| | | | | | | | QTimeZone now packages Qt::TimeSpec details, unifying QDateTime APIs. Task-number: QTBUG-108199 Change-Id: I62d9837fac01b5d95e9fd0cff034cb450854c9e7 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-12-121-4/+4
| | | | | Change-Id: I29b4a01d6a7c9e832fb68f455b2fb1bcfbd86443 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add touchSelectionMenu for widgetsMartin Negyokru2022-12-128-2/+243
| | | | | | | | | [ChangeLog][QWebEngineWidgets] Added touch selection menu. Task-number: QTBUG-100418 Task-number: QTBUG-91712 Change-Id: Iffb994e429b92389e64cd6a93a0b034d6aa07f66 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Override chromium's pointer_device implementationsMartin Negyokru2022-12-123-0/+103
| | | | | | | | Use QInputDevice to query pointer device specs. Fixes: QTBUG-63174 Change-Id: I34737c903d2d9c8cb387941ef5e9b1b93afce1f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable V8 sandbox for QEMU arm64 CIPeter Varga2022-12-092-3/+8
| | | | | | | | | | | | | | | | | After the 106-based adaptations V8 sandbox is enabled by default. It cannot be disabled runtime anymore. The initialization of the sandbox has significant overhead in a qemu-aarch64 environment, at least 5sec. This makes most of our auto tests timeout. The sandbox is not supported on 32bit platforms. The detection of the QEMU target relies on the environment variable TARGET_OSVERSION_COIN=qemu on the CI. Fixes: QTBUG-108993 Change-Id: I45961bc2e8a0af505113777f2b26f10b93b7477f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix quicknanobrowser's popup windowMartin Negyokru2022-12-091-1/+1
| | | | | | | | | | Remove Qt.WindowStaysOnTopHint flag from nanobrowser's BrowserDialog. It makes the window immovable. Pick-to: 6.4 Fixes: QTBUG-106816 Change-Id: I21538d78360de0a422eec02ce89a465bcc306a8b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Rewrite mixedSchemes testMichal Klocek2022-12-091-86/+142
| | | | | | | | | | | | | | Follow the same 'test' pattern we have in other tests. Note that this and previous change make test suite for tst_origin execute faster form ~170s to ~60s for desktop linux and from ~320s to ~140s for qemu. Task-number: QTBUG-105342 Pick-to: 6.4 Change-Id: I5cd0aa0a76fcc2d005cee398a88ba4099f9881c3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Reduce slowness and flakiness of tst_originMichal Klocek2022-12-095-22/+45
| | | | | | | | | | | | | | | | | | | | | | This test runs very slow and it is flaky. Make it run faster by: * instead of doing timeout checks for "cannotLoad", introduce <image> element add use 'onload' and 'onerror' handlers before doing actual <iframe> load, this dropps a need for hardcoded delay/deadline for ifrme being loaded. * do not evaluate JavaScript in try wait loop , use JavaScript messages instead. Note that using <img> or <script> element to perform the test (which have onload and onerros handler unlike iframe) ie. loading cross origin scripts or images instead of iframes is a dead-end as it has different results and "canLoadButNotAccess" can not be tested as origin BAR can load a script from origin FOO, but it still works in BAR‘s context. Task-number: QTBUG-105342 Pick-to: 6.4 Change-Id: I180aea801cedb0f97b96cb90a54b793d0a7c1a7f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove webengine-v8-snapshot-support featurePeter Varga2022-12-082-28/+0
| | | | | | | | The correspdonding v8_use_snapshot gn argument has been already removed in the Chromium 79 adaptations. It is useless since then. Change-Id: Ied1df9e8ed3149a0309d90fc026f4158627c0bcc Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Deprecate Quota Permission Request APIPeter Varga2022-12-0821-334/+65
| | | | | | | | | | | | | | | | | | | | | | | | Requesting host quota is no longer supported by Chromium. navigator.webkitPersistentStorage has became an alias for navigator.webkitTemporaryStorage after the Chromium 106 update. Requesting quota for temporary storage is needless because the allocation is automatic and storage can't be requested beyond the maximum limit. The logic of the persistent storage will be entirely removed in the next Chromium update so just deprecate the API and remove the corresponding implementations. [ChangeLog][QtWebEngineCore] Deprecate QWebEnginePage::quotaRequested() signal and QWebEngineQuotaRequest class. The signal is not emmitted anymore. [ChangeLog][QtWebEngineQuick] Deprecate QWebEngineView.quoataRequested() signal. The signal is not emitted anymore. Task-number: QTBUG-56354 Change-Id: Ie397598c416d9e811270ba56a97f8984948277f7 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Clean up header includes in proxy config filesPeter Varga2022-12-084-15/+5
| | | | | Change-Id: I8f0154f7f664a2b438cbe6e06b4638156d04f550 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable nss test on yoctoMichal Klocek2022-12-071-1/+1
| | | | | | | | | As pk12util call fails disable the test. Fixes: QTBUG-109179 Pick-to: 6.4 Change-Id: I4149c77a86c3c1df8b34ed9b641eae916e688ecc Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Port d_ptr of QWebEngineUrlRequestInfo to std::unique_ptrPeter Varga2022-12-052-4/+15
| | | | | | | | | Fix compiler warning about deprecated QScopedPointer::take. Pick-to: 6.4 Change-Id: I71f714e0dd301db51580b5e03d860d6d214a84b3 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Add Support for Client Hints HeadersAllan Sandfeld Jensen2022-12-045-1/+289
| | | | | | | | | [ChangeLog][WebEngineCore] Client hint headers now added to HTTP requests Fixes: QTBUG-107451 Change-Id: I450fe1fe782b702fc81a3d90c82c0ece6a19ea45 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix build of clientcertificate exampleSzabolcs David2022-12-031-3/+3
| | | | | | | | | CMake Error at CMakeLists.txt:30 (qt_internal_add_resource): Unknown CMake command "qt_internal_add_resource". Pick-to: 6.4 Change-Id: Ieb85515897f6772e13491106b32da1bb7a5118fe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen2022-12-023-3/+3
| | | | | | | | | | | Submodule src/3rdparty be36115f0..d3786fd69: > FIXUP: Fix browser DCHECK > FIXUP: Fixes for jumbo build > Merge branch 'upstream-master' into 106-based > Fix browser DCHECK Change-Id: Ia38b518a9c51f7a0da51de02f28b32374f5b9a3c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix -no-opengl buildPeter Varga2022-12-011-5/+7
| | | | | | Pick-to: 6.4 Change-Id: I65e4f7e045c55868000f67e32227b372f990af1c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-11-301-4/+4
| | | | | Change-Id: I94b3d49a46f0d27be38c83968d09949cd33519a7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Pump up temporally warning limit for qdocMichal Klocek2022-11-291-1/+1
| | | | | | | | | | | | | | | | | | qDoc on ci throws some "Unable to parse JavaScript" warnings for new examples. However this issue will be gone after removing JavaScript support form qdoc qtools change: ecf918398579030c9ba16f843595cfdbe774c00b The newer qdoc comes form qt5 change: 271cd0608c84016a285116fe1295d7d2e60f1c87 Task-number: QTBUG-106275 Task-number: QTQAINFRA-4926 Change-Id: I74bb515146587361d804ee6be8d2d37c4dd29671 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add client certificate exampleMichal Klocek2022-11-2919-1/+556
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add push notification exampleMichal Klocek2022-11-2916-0/+1268
| | | | | | | | | | | Adds simple push service implementation in NodeJS. Note setup for endpoint for qwebenginepage is not mentioned as it has to be decided what to do with it (see bug report). Task-number: QTBUG-107442 Change-Id: Iacfcb2a9d0c33c514b4046d06f866eb82390a240 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add auto tests for fragment navigation on custom URL schemesSzabolcs David2022-11-282-1/+188
| | | | | | | | | | | Since the corresponding third party fix involves making difference depending on the URL syntax, and the issue mentions different behavior in case of relative and absolute URLs, test all four syntax with all four types of URL with both relative and absolute links. Task-number: QTBUG-102058 Change-Id: Idfcc899e33241f42c588b9aae04c5b42b0e07ccd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Skip tests on qemu arm64Allan Sandfeld Jensen2022-11-281-0/+3
| | | | | | | | Just too slow Task-number: QTBUG-108993 Change-Id: I907118e2d72ae6e2c1b6953ff692d7b922cef74f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update chromium to 106-basedAllan Sandfeld Jensen2022-11-282-2/+2
| | | | | | Task-number: QTBUG-105147 Change-Id: I47b9e46df18420b75b205e818b117ee632680873 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for 106-basedAllan Sandfeld Jensen2022-11-2873-418/+381
| | | | | | Change-Id: I2fe91c06ce91dfaace7825a0589b56ee375479b6 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for 104-basedAllan Sandfeld Jensen2022-11-2864-1008/+640
| | | | | | Change-Id: Ieb44b5c98b3342adca38916d8b77c54e8ed8e1d7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2022-11-271-4/+4
| | | | | Change-Id: I1603483097ba27721ac85c87094a1fa4a3e147a1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove COIN-711 workaroundAllan Sandfeld Jensen2022-11-261-1/+0
| | | | | | | | Hopefully not needed anymore. Pick-to: 6.4 Change-Id: I5dd8fb072a8890e097464282d56d773d85acba74 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add MessagingAPIMessageFilter to RenderProcessHostMartin Negyokru2022-11-251-0/+2
| | | | | | | | | | | | | This class handles messaging api-specific IPCs from the renderer e.g.'chrome.runtime.connect' that is required for communication with extensions. It was separated from ExtensionMessageFilter in: https://chromium-review.googlesource.com/c/chromium/src/+/3318572 . Since then the hangout services extension is broken. Task-number: QTBUG-51185 Task-number: QTBUG-61676 Change-Id: I3fd885afa4fece9ee92bd7644cd1adca3c44a491 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix Chromium version documentationAllan Sandfeld Jensen2022-11-241-3/+12
| | | | | | | | | | | Stop listing a number we forget to update, and document the process we use for selecting Chrome versions and patches levels. Pick-to: 6.4 Fixes: QTBUG-105146 Change-Id: I1cd632ef3fe3a4b1bf10a702a344ff69b2552d61 Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>