summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Allow leaving OCSP offAllan Sandfeld Jensen2021-05-033-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This form of OCSP is not good, so try to at least allow it to be disabled, until we remove it. Fixes: QTBUG-91467 Change-Id: Ied9e8c4960e6ea1503dea39ebbced2ad1af08d5d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * Update ChromiumAllan Sandfeld Jensen2021-04-291-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 3f594ea1..6c7b4ffb: > FIXUP: Avoid crashing on new window in cross-origin isolated content > [Backport] Security bug 1198309 > [Backport] CVE-2021-21231: Insufficient data validation in V8 > [Backport] CVE-2021-21230: Type Confusion in V8 > [Backport] CVE-2021-21233: Heap buffer overflow in ANGLE > [Backport] CVE-2021-21227: Insufficient data validation in V8 > Avoid crashing on new window in cross-origin isolated content > Fix build with system ICU 69 Change-Id: Iab339abb1a34ce93e03f64608c6b5c5719f36fce Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| | * Merge remote-tracking branch 'origin/5.15.4' into 5.15Allan Sandfeld Jensen2021-04-273-8/+7
| | |\ | | | | | | | | | | | | Change-Id: I659eb87245dfd59f014a7ca152c9f261ad400238
| | | * Update Chromiumv5.15.4-lts-lgplv5.15.4-ltsMichael Brüning2021-04-211-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty dd45b1a1..3f594ea1: > [Backport] Security bug 1155297 (3/3) > [Backport] Security bug 1155297 (2/3) > [Backport] Security bug 1155297 (1/3) > [Backport] Security bug 1192552 > [Backport] CVE-2021-21225: Out of bounds memory access in V8 (2/2) > [Backport] CVE-2021-21225: Out of bounds memory access in V8 (1/2) > [Backport] CVE-2021-21224: Type Confusion in V8 > [Backport] CVE-2021-21223: Integer overflow in Mojo > [Backport] CVE-2021-21222: Heap buffer overflow in V8 Task-number: QTBUG-92895 Change-Id: I9c5c3aa451d8a4cab018e23a6407fd0e1f7a58de Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Update ChromiumMichael Brüning2021-04-211-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty c38ae3ec..dd45b1a1: > [Backport] CVE-2021-21209: Inappropriate implementation in storage (5/5) > [Backport] CVE-2021-21209: Inappropriate implementation in storage (4/5) > [Backport] CVE-2021-21209: Inappropriate implementation in storage (3/5) > [Backport] CVE-2021-21209: Inappropriate implementation in storage (2/5) > [Backport] CVE-2021-21209: Inappropriate implementation in storage (1/5) > [Backport] Security bug 1184441 > [Backport] Security bug 1162424 Task-number: QTBUG-92895 Change-Id: I04217fe2026d0087e4b7bd9bc6d5e8fcb5e25ebd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Update Chromium and adapt PermissionManagerQtMichael Brüning2021-04-203-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 6764c29f..c38ae3ec: > [Backport] Security bug 1190525 > [Backport] Security bug 1161759 > [Backport] Security bug 1175503 > [Backport] Security bugs 1175522 and 1181276 > [Backport] CVE-2021-21219: Uninitialized Use in PDFium > [Backport] CVE-2021-21217 and CVE-2021-21218: Uninitialized Use in PDFium > [Backport] CVE-2021-21214: Use after free in Network API > [Backport] CVE-2021-21213: Use after free in WebMIDI > [Backport] CVE-2021-21207: Use after free in IndexedDB > [Backport] CVE-2021-21221: Insufficient validation of untrusted input in Mojo > [Backport] CVE-2021-21204: Use after free in Blink. > [Backport] CVE-2021-21203: Use after free in Blink > [Backport] CVE-2021-21202: Use after free in extensions. > [Backport] CVE-2021-21201: Use after free in permissions Task-number: QTBUG-92895 Change-Id: I7e6f3d443366bb291cab027510f76788c14fc023 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Report server directs in navigation typeAllan Sandfeld Jensen2021-04-191-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A server redirect might not have been reflected in the navigation type at this point, so also check the is_redirect value. Fixes: QTBUG-92819 Change-Id: I711ef041de69552bc3485c9cf3db68c9e6033d6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit b29b245fcb9db741d14180ea7e8dcb3ad2d4f49a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| | * | Docs: Suggest to use higher DPI for printingSzabolcs David2021-04-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When printing with the default resolution of QPrinter, rasterized images of pages are just too small to produce sharp result. Documentation of QPrinter also mentions that the default ScreenResolution should only be used for drafts. Change-Id: I5fe93f7985d16b1126cf2bbcb9b4a4ddbdfd21f2 Task-number: QTBUG-92185 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Fix application locales againSzabolcs David2021-04-217-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Different countries (with the same language) can have different number formatting and navigator.language should report not only the language, but also the country. Locale normalization often falls back by cutting the country off, because we have common .pak files for countries with the same language. This patch: - Uses the locale resolvation only for concatenating .pak file paths and reports the full locale everywhere else. - Properly sets default ICU locale for JS number formats and prevents l10n_util::GetApplicationLocale() to set it sneakily to some resolved one. - Fixes the crashing --lang command line argument and always prefers its value over QLocale. Task-number: QTBUG-91225 Change-Id: I1c09798abdb523b80f0b7a3d69fa8d7a08c7c09a Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| | * | Report server directs in navigation typeAllan Sandfeld Jensen2021-04-191-1/+7
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A server redirect might not have been reflected in the navigation type at this point, so also check the is_redirect value. Pick-to: 5.15.4 Fixes: QTBUG-92819 Change-Id: I711ef041de69552bc3485c9cf3db68c9e6033d6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| | * Fix first party url for cookie filterTamas Zakor2021-04-154-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using SiteForCookies::RepresentativeUrl() if it is used to provide first party url because it returns a truncated URL and our API is expected to return the full url of the first party. Fixes: QTBUG-90231 Change-Id: I628f7f31bfbeaf3de976ae9af1a8fa6408b661c5 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| | * Update ChromiumMichael Brüning2021-04-141-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty d13920f2..048f5e99: > [Backport] CVE-2021-21220: Insufficient validation of untrusted input in V8 for x86_64 > [Backport] CVE-2021-21206: Use after free in Blink > Fix build with no extensions on mac Task-number: QTBUG-92080 Change-Id: I0265d3992ac3ec7fe0f55405daf58d1fc2789b12 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Update platform notesAllan Sandfeld Jensen2021-04-141-2/+2
| | | | | | | | | | | | | | | Change-Id: Iafdfb3c740ce42119a9891729be1ea0c89249039 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Remove NOTIMPLEMENTED from MediaStreamUIQt::OnDeviceStoppedPeter Varga2021-05-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | NOTIMPLEMENTED triggers an assert on Windows and OnDeviceStopped gets called. This function is also left empty for non-chromeos platforms in Chromium. Change-Id: I86c3fa0de6138ca374d4ec2c3d11270551fd3d71 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add BUILD.gn generation for the gn root and gn toolchainMichal Klocek2021-05-124-0/+826
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use simple templates. This will get own target in followup changes. Task-number: QTBUG-91760 Change-Id: I0b6991f7b54183aa9fb667cec5ad347f66c78b99 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | Pass qtfeatures from the main project to the lib projectMichal Klocek2021-05-121-0/+5
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-91760 Change-Id: I56aaf6af42eb1877acbc0faf4e125bc8de4c72fb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | Add configure.cmake filesMichal Klocek2021-05-121-0/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only evaluate features in the super repo and do not create config headers files during the configure step. However, print the build summary. The build config headers will be created during the configure step of 'libs' external project. Done-With: Jüri Valdmann <juri.valdmann@qt.io> Done-With: Allan Sandfeld Jensen <allan.jensen@qt.io> Task-number: QTBUG-91760 Task-number: COIN-711 Change-Id: I481525571e71ca4684de5827f641416035a8f22a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Setup cmake projectMichal Klocek2021-05-123-0/+130
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the top level cmake project and ninja and gn cmake builds. Make ninja and gn build optional. With qmake we had four stages during the build: * configure (initial dependencies check) * qmake (build ninja, build gn, run gn) * make (compilation) * make install With cmake we have some limitations: a) we need to pass the build config to gn, however cmake evaluates generator expressions during the generation phase this means we need a recursive call to cmake b) qt-cmake qtbase logic (+syncqt) assumes "fixed" build locations to handle deployment of headers and libs (it uses CMAKE_BINARY_DIR for QT_BUILD_DIR) c) cmake can not run twice in the same build directory d) running recursive/child cmake, makes all generated targets not accessible during configure time of parent's cmake e) cmake can only "build" things for subdirectories To deal with mentioned limitations and to keep things simple we will split those steps into separate projects: * SUPERBUILD - this project does dependency checks, only evaluates features to show the build summary and passes them to EXAMPLES,LIBS,TESTS projects, it also runs the generator expression to feed LIBS project's cmake, it does not try to run syncqt as result of (b) and (c) * NINJA (build ninja) * GN (build gn) * LIBS - projects runs simplified feature evaluation (CONDITIONS resolved by SUPERBUILD cmake) to generate build headers (+syncqt), it also runs gn during configure and does all libs compilation. The project's source root must be "src" directory as a result of (a),(b),(c) * EXAMPLES - builds examples as a result of (d),(e) * TESTS - builds tests as a result of (d),(e) Each of projects will have three stages: configure, compile, install. Task-number: QTBUG-91760 Done-With: Jüri Valdmann <juri.valdmann@qt.io> Change-Id: I3b44decefa17f177e5e07c563796aa158a0b0ecb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Force to use c++17 for build with qmakePeter Varga2021-05-071-2/+2
| | | | | | | | | | Change-Id: Idfdfb1c88b9d2511c8a05b5ecd62c3421bf96bcf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix QWebEngineDownloadRequest signalsBalazs Egedi2021-05-071-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | downloadFileNameChanged and downloadDirectoryChanged signals were removed in 08375ee7 Rename QWebEngineDownloadItem -> QWebEngineDownloadRequest. Reintroduce these signals because they are still part of the API. Also test these in Widgets auto test. QQuickWebEngineDownloadItem::pathChanged were also removed in 75393077 Remove obsolete, deprecated api from qwebenginedownloaditem. Remove the pathChanged signal checks from the test because it was deprecated. The test tst_download.qml does not have quickcontrols1 dependency. Update it in the project file and re-enable the test. Change-Id: I702e04dfe2179beafc558a628bfa07f4090fede2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Make script execution order deterministicAllan Sandfeld Jensen2021-05-062-5/+6
| | | | | | | | | | | | | | Task-number: QTBUG-77765 Change-Id: I8680a46c62e6a915cbf10c3ae48573cb95f612a5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix compile warningsBalazs Egedi2021-05-022-4/+3
| | | | | | | | | | | | | | Remove unused code and fix comparison between enum types. Change-Id: I78244462bea1e968a6bdff2db5b7ebad60bd25b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update accessibility roles and test after 88-basedBalazs Egedi2021-05-021-1/+7
| | | | | | | | | | | | Change-Id: I0a4f93945c013f83b5398a7282a8ea723040d699 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add Qt WebEngine version getterAllan Sandfeld Jensen2021-04-302-0/+31
| | | | | | | | | | | | | | It can be separate from Qt version. Change-Id: I28e0ef0d715e3cdf89880931dfa519736100e2fc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Clean up gl_surface_qt.cppPeter Varga2021-04-201-28/+7
| | | | | | | | | | Change-Id: I0621c2c5cca8fd1d028a25f6f43faeb8ce23b8fd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2021-04-161-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 23f869c7..6011d6c0: > FIXUP: Fixes for jumbo build > Work-around linker error on armv7 > FIXUP: Windows fixes after 88-merge > Fix build with no extensions on mac > FIXUP: Allow overriding GetXDisplay Change-Id: I65396ac7c98dc839d3f0acc8384ecab761d2ff91 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix the build after 88 adaptationsAllan Sandfeld Jensen2021-04-161-14/+14
| | | | | | | | | | | | | | And clean up where -Qt and non Qt declarations are in the file. Change-Id: I152b548ee0fd81f3388fb20e86349e05ef401bfb Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Adaptations for Chromium 88Allan Sandfeld Jensen2021-04-1548-1178/+231
| | | | | | | | | | Change-Id: Ie66e95dbb9fbcafe961bb98d5c277f8c32d66b96 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devAllan Sandfeld Jensen2021-04-1319-116/+302
|\ \ | |/ | | | | Change-Id: Ia01415e5a44b1df9ed8b3966ff3b39a414b1563c
| * Depend on QCoreApplication::startingUp() for checking existence of appAndy Shaw2021-04-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | When using QtWebView with WebEngine then it will hook the call to QtWebEngine::initialize() to the start up of the application object which means it will output the warning because it already exists. However there is still time at this point to set what is needed because it is still being initialized. So by checking if the application is running (i.e. !startingUp()) then we can be safe in knowing that it is still able to do the initialization. Change-Id: I8c5d8808b4b09e1e7bbf4be52e5efc0786ce1472 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix embedded PDFs when plugins are disabledSzabolcs David2021-04-087-104/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cover all cases from https://pdfobject.com/static - Plugin placeholder is generally broken: displays garbage and crashes on interaction. Fix it and show when PDFs are included by <embed> or <object> tags. - Do not start an automatical download when the disabled PDF plugin was requested by an iframe. Show a clickable placeholder and let the end-users start it manually. - Remove unused class PluginPlaceholderQt Task-number: QTBUG-76314 Change-Id: I01a0c93ab23f54e4272f5aeb30578de0dcf18932 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix prl files on iosMichal Klocek2021-04-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | Since 42b5da qtbase supports an installation of 3rdpaty in case of static builds. Depend on 'public' qtbase 3rdparty installed libs. This fixes prl generation by not including build paths. Task-number: QTBUG-91385 Change-Id: Ib0609b2b92d6759aad639154617b45fc2fe96916 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * Fix qtpdf static builds on windowsMichal Klocek2021-04-061-1/+10
| | | | | | | | | | | | | | | | | | | | | | Use correct qt zlib lib in case of windows. Passing qtzlib is actually just done in shake of clarity and proper dependency tracking since qtCore is most likely always a dependency for any user app. Fixes: QTBUG-91476 Change-Id: I20816ebf926472c642847e2611797a6decdeecee Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Fix static build of qml qtpdfMichal Klocek2021-04-061-2/+2
| | | | | | | | | | | | | | | | | | Fix duplicated symbols for category logging between core and qml plugin. Task-number: QTBUG-91476 Change-Id: I532ad35b8b0e8a0b93e51b9b7a7b3a4602fad9b3 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
| * Update ChromiumMichael Brüning2021-04-011-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule update src/3rdparty 8d49f9a2..d13920f2: > [Backport] Security bug 1185482 > [Backport] Security bug 1161847 > [Backport] Security bug 1161379 > [Backport] CVE-2021-21198: Out of bounds read in IPC > [Backport] CVE-2021-21195: Use after free in V8 Task-number: QTBUG-92080 Change-Id: I638a0fa0285d46736cfbf5406874702bd3600580 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Update ChromiumMichael Brüning2021-03-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 6ec3297a..9d237e39: > Fixup for: [Backport] Security bug 1062941 > [Backport] CVE-2021-21193: Use after free in Blink > [Backport] CVE-2021-21191: Use after free in WebRTC > [Backport] Security bug 1161048 > [Backport] Security bug 1155710 > [Backport] Security bug 1062941 > [Backport] Security bug 1142712 (2/2) > [Backport] Security bug 1142712 (1/2) > [Backport] Security bug 1146813 (2/2) > [Backport] Security bug 1146813 (1/2) > [Backport] CVE-2021-21166: Object lifecycle issue in audio > [Backport] CVE-2021-21187: Insufficient data validation in URL formatting > [Backport] CVE-2021-21183 and CVE-2021-21184: Inappropriate implementation in performance APIs > [Backport] CVE-2020-27844: Heap buffer overflow in OpenJPEG > Fix crashes when webrtc is not compiled in Task-number: QTBUG-92080 Change-Id: Ifaac3e24a5f0cacb8ba783f453ae30c8ae5e9abf Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Update ChromiumMichael Brüning2021-03-241-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 302379ca..79f989b8: > Build fix for "[Backport] CVE-2021-21160..." with gcc > [Backport] CVE-2021-21160: Heap buffer overflow in WebAudio > [Backport] CVE-2021-21173: Side-channel information leakage in Network Internals. > [Backport] CVE-2021-21190: Uninitialized Use in PDFium > [Backport] CVE-2021-21188: Use after free in Blink. > [Backport] CVE-2021-21178: Inappropriate implementation in Compositing > [Backport] CVE-2021-21175: Inappropriate implementation in Site isolation > [Backport] CVE-2021-21174: Inappropriate implementation in Referrer. > [Backport] CVE-2021-21172: Insufficient policy enforcement in File System API > [Backport] CVE-2021-21171: Incorrect security UI in TabStrip and Navigation > [Backport] CVE-2021-21169: Out of bounds memory access in V8 (2/2) > [Backport] CVE-2021-21169: Out of bounds memory access in V8 (1/2) > [Backport] CVE-2021-21168: Insufficient policy enforcement in appcache > [Backport] CVE-2021-21165: Object lifecycle issue in audio > [Backport] CVE-2021-21162: Use after free in WebRTC > [Backport] CVE-2021-21179: Use after free in Network Internals > [Backport] Security bug 1175975 > [Backport] Security bug 1167277 > [Backport] Security bug 1180871 > Fix WebRtcLoggingController for QtWebEngine Task-number: QTBUG-92080 Change-Id: I8578ea4a3fe13b9e5a3e6ed01f8fe9d3053353fc Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Abort findText also right on explicit navigation requestKirill Burtsev2021-03-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Current implementation cancels current findText only when new navigation is accepted (since it may be rejected all together), so it's not guaranteed that user code will not receive completion callback if it arrives after explicit load/setContent/setHtml but before acceptNavigationRequest. For explicit navigation it doesn't make sense to wait until it's accepted, since it's only exposed there just for consistency, and an expectation for findText is that it should be canceled on new navigation. Fixes: QTBUG-61887 Change-Id: Ia2e19df3b5712e6b5426443d1bce6b205e186668 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| * Notify canGoBack/canGoForward changes based on web actionsJüri Valdmann2021-03-222-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, QQuickWebEngineView's canGoBack/canGoForward change signals are based on urlChanged. But the urlChanged signal may be emitted slightly before the value of canGoBack/canGoForwad actually changes, resulting in a missed change notification. After, they get their own signals, which are forwarded from the QQuickWebEngineAction::enabledChanged signal of the respective web actions. Fixes: QTBUG-91565 Change-Id: Id411eb146c776e2824fd2447660e8857974da32e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add web-ui chrome://net-internalsAllan Sandfeld Jensen2021-03-223-0/+10
| | | | | | | | | | | | | | Fixes: QTBUG-91695 Change-Id: Ie00b9bb92b62b97c500d427defbf2a4632ddbeda Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Return to using the default devtools pageAllan Sandfeld Jensen2021-03-151-1/+1
| | | | | | | | | | | | | | | | This includes the screencast mode that now works. Task-number: QTBUG-85171 Change-Id: I11f6fc11db8066a88880df3277e5613db65ae5a5 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Update ChromiumAllan Sandfeld Jensen2021-03-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 7c8217b3..302379ca: > Fix multiple include dirs > Revert "Use devtools app for Qt" > Prepare net-internals for QtWebEngine usage Task-number: QTBUG-91799 Change-Id: I527fd06a1f3f142cafb098d93ee3bfc0026984f9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix 'WebEngine' ambiguity for Qt6Michal Klocek2021-04-13110-75/+77
| | | | | | | | | | | | | | | | | | 'WebEngine' is a qml module, however name itself is ambiguous. Thefore now with Qt6 and with cmake port name the module as WebEngineQuick. Change-Id: I948672dd5d389a01c6a31ec871459164fd989c0f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Re-enable H264 for WindowsAllan Sandfeld Jensen2021-03-261-4/+3
| | | | | | | | | | Change-Id: Ie00671578ae9d99777d91802783b9c80c1879847 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Replace 0 pointer constants with nullptrAllan Sandfeld Jensen2021-03-229-10/+10
| | | | | | | | | | Change-Id: I938b593deef66c782f5b0998948c0a7b2c32f656 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Stop using deprecated QVariant::TypeAllan Sandfeld Jensen2021-03-221-1/+1
| | | | | | | | | | Change-Id: Icf777ac1d954036b4de626321e0ecd80a0cb83ca Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devAllan Sandfeld Jensen2021-03-1649-330/+940
|\ \ | |/ | | | | Change-Id: I0dd7c64669f4b130047a4a3836f62f7ee5b5f8d9
| * Update chromiumAllan Sandfeld Jensen2021-03-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty d9d9e606..7c8217b3: > [Backport] Remove mouse wheel handler DCHECK > PDF viewer: Restore createBrowserApi() function > [Backport] CVE-2021-21138: Use after free in DevTools Change-Id: I1190e71d109c98285a57365f8ed1315b50895da1 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Fix normalization of app localesAllan Sandfeld Jensen2021-03-123-11/+16
| | | | | | | | | | | | | | | | | | Use the internal Chromium routine to get the app locale Chromium expects. Fixes: QTBUG-91715 Change-Id: I5042eb066cb6879ad69628959912f2841867b4e8 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Only disconnect QWebEnginePage signals that QWebEngineView connectedMichael Brüning2021-03-111-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | When the QWebEnginePage changed on a QWebEngineView, all signal connec- tions between the view and the previous page were removed as well, even those that the user connected themself. To prevent unexpected behavior, only disconnect the signals that the view connected to automatically and leave the rest of the connections intact when the page on the view is changed. Fixes: QTBUG-90509 Change-Id: Icac3e3be0b598dec8107e8fffdf7f25dd88a4b71 Reviewed-by: Michal Klocek <michal.klocek@qt.io>