summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update ChromiumMichael Brüning2023-03-111-0/+0
| | | | | | | | | | | | | | Submodule src/3rdparty 0dc29a1e..fdcde546: * Revert "DrawingBuffer: Remove RGB emulation support" * Fixup: "Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage."" * FIXUP: Workaround debug iterator issues with MSVC Pick-to: 6.5 6.5.0 Fixes: QTBUG-111585 Fixes: QTBUG-111784 Change-Id: I2493eb6f0defdba6460128e15b1f810398bab3ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-03-111-4/+4
| | | | | Change-Id: If874d303970b2df6f0bdaeb32aabc6f502110f99 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWebEngineUrlResponseInterceptor: Implement new URL response interceptorYigit Akcay2023-03-1020-4/+556
| | | | | | | | | | | | | | | | | | | | | This patch adds the QWebEngineUrlResponseInterceptor abstract class, which, when implemented, allows a user to intercept response headers and modify them in any way they like. A response interceptor can be set via QWebEngineProfile::setUrlResponseInterceptor(), QQuickWebEngineProfile::setUrlResponseInterceptor() or QWebEnginePage::setUrlResponseInterceptor(). Also, the QWebEngineUrlResponseInfo class is implemented, which contains the request and response data to be used with the response interceptor. If a response interceptor is set in the profile and page, the one in the profile takes precedence. Fixes: QTBUG-61071 Change-Id: I484d14373ff597b1d531541c066f0102bae28c72 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update ChromiumMichael Brüning2023-03-031-0/+0
| | | | | | | | | | Submodule src/3rdparty bdb22d05..0dc29a1e: * Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage." Pick-to: 6.5 6.5.0 Fixes: QTBUG-111585 Change-Id: I2dabfbc1f79e4d61ff42273b001808c7237ab8cf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-03-031-4/+4
| | | | | Change-Id: I9350d6bf95661b88773f960a50aad742743cf7f4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix not working password test for QPdfQuickMichal Klocek2023-03-022-8/+4
| | | | | | | | | | | | | In qml url can have different schemas like 'qrc' 'file' 'assets'. Make correct conversion so file can be loaded. Note check isLocalFile() is not true for qrc scheme. Fixes: QTBUG-106072 Pick-to: 6.5.0 6.5 6.4 Change-Id: I4dcc969e4c6d9b3f58ea5d81d20d8e81b55edfde Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Doc: Fix wrong WebEngineCertificateError property nameAndreas Eliasson2023-03-012-3/+3
| | | | | | | | | The correct property name should be type, not error. Fixes: QTBUG-111574 Pick-to: 6.5 6.4 Change-Id: I276823f5bc664a99153b31e5bba36ae34608a9b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Pass system library paths to cmakeMartin Negyokru2023-03-013-5/+27
| | | | | | | | | | | | Generate a new rsp file for each cmake target containing '-L' flags and pass them to cmake. Task-number: QTBUG-105053 Task-number: QTBUG-111225 Change-Id: Ib25c009795b776bc5f0f6e07fb89b932ef30b484 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a21742ef6064c1e84ebc43468d253dd14d86bf02) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix cross-compilation with system ffmpegMartin Negyokru2023-03-011-1/+1
| | | | | | | | | | We were using QT_FEATURE_system_ffmpeg which is not defined. Use QT_FEATURE_webengine_system_ffmpeg instead. Change-Id: Ic7b6d4ea91dc8b29f344118c28932fa80a7a8d10 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a75051ee7b4dd9ffe86e146d98c7d6412c756621) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix initialization of QWebEngineDownloadRequest::totalBytes for WidgetsPeter Varga2023-03-016-33/+30
| | | | | | | | | | | | QQuickWebEngineProfile already initializes totalBytes. Also clean up QWebEngineDownloadRequestPrivate and fix typo in documentation. Pick-to: 5.15 6.4 6.5 Fixes: QTBUG-104869 Change-Id: I8c4b79c076ddc63180960e22a9488b45ff6c4402 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Fix example codeAndreas Eliasson2023-02-271-1/+1
| | | | | | | | | | | | Use the .parse() method from the marked.js third party library. https://marked.js.org/ Fixes: QTWEBSITE-1083 Pick-to: 6.5 6.4 6.2 Change-Id: I59bcf14ce7169570a234169c6b48f720271c1e72 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Add qml filesystem api testsMichal Klocek2023-02-274-0/+200
| | | | | | | | | | | | | | | | | | | There are three functions we use within file systems API, which trigger dialogs: * window.showSaveFilePicker * window.showOpenFilePicker * window.showDirectoryPicker Only first one was tested with widgets, therefore add tests which cover use of api, and also test cover the found issues in previous commits. Note we have separate test to cover file system dialogs coming from <input> html tags in tst_filePicker Pick-to: 6.5 6.4 Change-Id: I4616efa84688ed471fb8c4566e49262bce945638 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix filesystem request qml namespaceMichal Klocek2023-02-271-1/+9
| | | | | | | | | | Unfortunately in 3494efe5d440 we register request incorrectly which does not work as intended with qml. Fix it and add namespace to qml registry. Pick-to: 6.5 6.4 Change-Id: I6965dd0a9b65021cd9c290aaecef9fb9fd82735a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix file url in webengine filesystem requestMichal Klocek2023-02-271-1/+1
| | | | | | | | | We should return filesystem url, not just string converted to url. Pick-to: 6.5 6.4 Change-Id: I883e4dd092396e918115cb609ed040c92a871737 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix use after free in permission grantMichal Klocek2023-02-274-2/+29
| | | | | | | | | The permission grant can become dangling pointer in origin state struct, fix it. Pick-to: 6.5 6.4 Change-Id: If16b604a8c3c05d09ea923251dabcae73192dd7d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2023-02-271-0/+0
| | | | | | | | | | | | | | | | | | Submodule src/3rdparty 10e54a07..bdb22d05: * [Backport] CVE-2023-0931: Use after free in Video (2/2) * [Backport] CVE-2023-0931: Use after free in Video (1/2) * [Backport] Security bug 1414224 * [Backport] CVE-2023-0928: Use after free in SwiftShader * [Backport] CVE-2023-0933: Integer overflow in PDF * [Backport] CVE-2023-0932: Use after free in WebRTC * [Backport] CVE-2023-0929: Use after free in Vulkan * [Backport] CVE-2023-0941: Use after free in Prompts * Add checksum to mailbox name in Release build too Pick-to: 6.5 Task-number: QTBUG-111363 Change-Id: I54ca00ef411d21eb02780f1096117d762472d5d1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-02-241-4/+4
| | | | | Change-Id: I7ef5b8fc0cb1a6e0de91d8b861ebd46192370383 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add Origin Trial Policy supportPeter Varga2023-02-233-0/+27
| | | | | | | | | | | | | | | | | This makes SharedArrayBuffer available for earth.google.com For enabling certain experimental feature for a web page, the page provides a token in a meta tag for the browser. The token is requested by the web developer and generated by Google. The verification of the token happens without any server calls or network access. See, * http://googlechrome.github.io/OriginTrials/developer-guide.html#23-how-are-tokens-verified * blink::TrialToken::Parse() and blink::TrialTokenValidator implementation (//third_party/blink/common/origin_trials) Pick-to: 6.5 Change-Id: I6f102af8efcd12b6b267dceb9de59d685fd22f9e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CMake: check for vpx_codec_vp9_cx() presence in libvpxRolf Eike Beer2023-02-231-0/+1
| | | | | | | | | | This function is present in the headers even if the vp9 encoder is disabled during build. It is actually used later, which leads to a linker error when not present. Pick-to: 6.4 6.5 Change-Id: I77247c76b29c132386c4d77861c0f63418321871 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable android build on windowsMichal Klocek2023-02-231-2/+2
| | | | | | | | | | | | Windows android builds are currently not supported as upstream officially only supports android cross compilation on linux. Moreover qt ci requires mingw host build for android builds. Task-number: QTBUG-83459 Task-number: QTBUG-111362 Change-Id: Icfa90d05002ab1af2a6173d965193062d4cd5526 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add QtPdf android supportMichal Klocek2023-02-233-6/+20
| | | | | | Task-number: QTBUG-83459 Change-Id: I39915206859f031dd78798eeb7b2b49f4f148452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add TESTDATA to qtpdf tests and fix data urlMichal Klocek2023-02-235-4/+15
| | | | | | | | | | Make cmake aware of test data, this will make data deployable on android. Task-number: QTBUG-83459 Change-Id: Id4271f54f8351e955a6ee57c3a36656d69a2a682 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add whitelist for version resolverMichal Klocek2023-02-233-21/+14
| | | | | | | | | | | | If DEPS entry has condition we only care about linux_checkout, however we need also some files for andorid, add white list to keep the checkouts to minimum. Upadate black listed submodules. Task-number: QTBUG-83459 Change-Id: Id6f744dd52880a2f43c5fc3655837612c82d2f6e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add cipd handling to init-repository and take_snapshotMichal Klocek2023-02-235-35/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add parsing deps for packages deployed by cipd. Keep changes to minimum as we so far need just one androidx package. All the package files are filtered by the chromium black list. Whitelist pydeps and info files for android dependencies, as this minimizes required changes to gn build files, add icu file for android. Update the version to 108.0.5359.181 as it was outdated. Cipd package parsing is done only for androidx package and the logic runs for * init-repository --baseline-upstream > cipd downloads and extracts androidx package to upstream repository * take-snapshot > cipd returns content so it can got through blacklist lists (files are not in git so git ls-file does not help here) Task-number: QTBUG-83459 Change-Id: I7b8203bfb273ba90113a449725ba9ea5c9a6692c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update ChromiumMichael Brüning2023-02-223-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 7e5ee9d6..10e54a07: * FIXUP: Fixes for building with MSVC * Fixup for [Backport] CVE-2023-0705: Integer overflow in Core (2/2) * Fix android on mac support * Add android config support * Merge branch 'upstream-master' into HEAD * Add android required resources for chromium repo * [Backport] CVE-2023-0696: Type Confusion in V8 * [Backport] Security bug 829317 (2/2) * [Backport] Security bug 829317 (1/2) * [Backport] CVE-2023-0705: Integer overflow in Core (2/2) * [Backport] CVE-2023-0705: Integer overflow in Core (1/2) * [Backport] Security bug 1400809 * [Backport] Security bug 1325096 * [Backport] CVE-2023-0701: Heap buffer overflow in WebUI. * [Backport] CVE-2023-0702: Type Confusion in Data Transfer * [Backport] CVE-2023-0699: Use after free in GPU (2/2) * [Backport] CVE-2023-0699: Use after free in GPU (1/2) * [Backport] CVE-2023-0703: Type Confusion in DevTools * [Backport] CVE-2023-0698: Out of bounds read in WebRTC (2/2) * [Backport] CVE-2023-0698: Out of bounds read in WebRTC (1/2) * Merge branch 'upstream-master' into 108-based * BASELINE: Update Chromium to 108.0.5359.220 Pick-to: 6.5 Task-number: QTBUG-111363 Task-number: QTBUG-83459 Change-Id: Id67893339f68e382e10ae10bbfddeffc8b60ae88 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Refactor devtools frontendMartin Negyokru2023-02-224-703/+130
| | | | | | | | Use chrome's UIBindings and message dispatcher. Pick-to: 6.5 Change-Id: I580b551153de8a0d34b70199c17a50df67237e73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix uniqueId() for accessible eventsPeter Varga2023-02-222-0/+16
| | | | | | | | | | | | | | | | | | QAccessibleEvent::uniqueId() expects child index to be set if the event object is set. If the index is not explicitly set the event interprets the unique ID as a child index what is invalid. This change fixes warnings like: qt.accessibility.core: Invalid child in QAccessibleEvent: QObject(0x1cc9ec25d60, name = "search") child: -2147483017 In case of an invalid child, uniqueId() returns 0 and this causes assert on macOS. Task-number: QTBUG-105988 Pick-to: 6.4 6.5 Change-Id: If068ab648226284bb3bd6502fc0381f4229d19e2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add missing foregin type for QWebEngineFileSystemAccessRequestMichal Klocek2023-02-211-0/+10
| | | | | | | | Add foregin type so it can be use within qml. Pick-to: 6.5 6.4 Change-Id: I8104874f2e898b170c8091a8fdeca450e59ae2a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Blacklist mulipageview tests on androidMichal Klocek2023-02-211-0/+9
| | | | | | | | | | | | | | | | | Password test does not pass on emulator, the same issue exists already on windows. Navigation uses hardcoded values for event which ends with "Mouse event at 465, 65 occurs outside target window (320x616)" due to smaller screen of android emulator. Blacklist tests for now. Task-number: QTBUG-83459 Task-number: QTBUG-106072 Task-number: QTBUG-111306 Change-Id: Iacc4c7711d58b0ffb6cdda3474b4d59b628ca5f7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add -n to gzip for transport_security_state_static.json.gzMichal Klocek2023-02-211-1/+1
| | | | | | | | Prevent adding timestamp to archive as this will generate diffrent gz despite same content. Change-Id: Id74b067fd9d1e9b975d803635bda453db40b975f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Minor. Small cleanup of qt webui factoryMichal Klocek2023-02-211-3/+3
| | | | | | Change-Id: I421948a1be346940c7d87873f56e2944e61ebbd8 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-02-211-4/+4
| | | | | Change-Id: I7095e2ad8fe6c10a1bf541a5b0c7a6a43c28ecb0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Force to disable IPC loggingPeter Varga2023-02-161-0/+1
| | | | | | | | | | | | | | | | | | | | | It is enabled by default in Chromium for debug build. See //ipc/features.gni. Disable it for debug build too because it adds and extra SetIPCLoggingEnabled mojo message (see //content/common/child_process.mojom) and it results different mojo message ids for the debug and release binaries. This is undesirable when setting QTWEBENGINEPROCESS_PATH environment variable to use release QtWebEngineProcess with debug browser process or the other way around. The messages and the corresponding ids can be listed by executing the following command in the QtWebEngine build directory: find . -name "*-message-ids.h" | xargs grep -h "constexpr uint32_t" Pick-to: 5.15 6.4 6.5 Task-number: QTBUG-110504 Change-Id: I80f24117ae20d02fb53ea482d04bea7a9dcb38c1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support DecorationRole for icons in QPdfDocument::pageModelShawn Rutledge2023-02-164-1/+73
| | | | | | | | ...and begin rendering thumbnails in the widget-based example by adding a QListView in IconMode. Change-Id: Ia0f446e48ce868e27cd7d64a3712a7db1b1e618b Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Remove extra quotes from CHROMIUM_VERSIONMartin Negyokru2023-02-161-1/+1
| | | | | | | | | | This change unifies version macros and fixes invalid 'ContentBrowserClientQt::getUserAgent' after 1f4fdb06b13f0a9400f16313aad9296f019d2fc9 Pick-to: 6.5 Change-Id: I9df963a45f6d66c6b30c23d603afb335b6f25cce Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add QPdfPageSelectorShawn Rutledge2023-02-168-8/+222
| | | | | | | | | | | | | | | | | | This is a QSpinBox subclass that shows PDF page "labels" rather than a 1-based or 0-based page index. If a book starts with Roman numerals in the preface, and then page 1 is the first page of Chapter 1, the spinbox should be in sync with the page numbers as printed on the pages, and with the labels that will eventually be shown under the thumbnails on the Pages sidebar tab. On the other hand, the user probably needs to see the 1-based page index somewhere, at least to be able to make sense of the print dialog, because there the range of pages to print will be 1-based. So we put the page index into the title bar: title, page label, index, count. Task-number: QTBUG-102271 Change-Id: Ic461094ba4caae3067409f7f436bd4e7504a4bdb Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Update Chromium security backports version informationMichael Brüning2023-02-152-2/+2
| | | | | | Pick-to: 6.5 Change-Id: If905393d73892256175ac5059503a9fc4a6a32f6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2023-02-151-0/+0
| | | | | | | | | | | | | | | | Submodule src/3rdparty 331447653..7e5ee9d6a: > Fix vaapi support for QtWebEngine > FIXUP: Qt GN integration > [Revert] Remove dependency on libgbm > [Revert] Avoid using libdrm > FIXUP: Fix building with system ffmpeg > FIXUP: Fix building with system ffmpeg 4.4 or 5.1 > FIXUP: Fixes for jumbo build > FIXUP: Stop using C++20 initialization Pick-to: 6.5 Change-Id: I98fed6e23e55133946dcf3673ef74039d270f263 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Enable VAAPI and gpu memory buffers on LinuxAllan Sandfeld Jensen2023-02-1512-22/+329
| | | | | | | | | | Only seen working in vulkan and EGL modes so far. Does not work with system libvpx Fixes: QTBUG-91677 Change-Id: Ie2956c2b841854c78fc1af3c1010fb877728acb1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Support LTR and RTL text directions in input fieldsSzabolcs David2023-02-1513-2/+105
| | | | | | | | | | Implement WebActions to temporarily change text direction directly from context menu - like Chrome does. They only work for the selected input field. Omit the "default" option since it is always grayed out in Chrome. Task-number: QTWB-67 Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add WebChannelQuick dependencyMichal Klocek2023-02-153-2/+8
| | | | | | | Reflect latest changes to qtwebchannel. Change-Id: I10bc1690dc32ce1bb61ed9dabc7f31a44d2fdf7e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2023-02-151-4/+4
| | | | | Change-Id: Iae6056dd43d371090dff02036158cda49f08b6af Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Define an enum for FPDF rotation int valuesAxel Spoerl2023-02-142-16/+26
| | | | | | | | | | | FPDF uses int values defined in fpdfview.h:955ff, representing page rotation. Respecting coding style, this patch adds an enum in QPdfDocumentPrivate to introduce meaningful names instead of int values. Pick-to: 6.5 Change-Id: I54cefe336de3670026cfc4d7f4436e5898e43b54 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Set enable_vulkan=false for Chromium build if Vulkan is disabledPeter Varga2023-02-141-0/+4
| | | | | | Pick-to: 6.5 Change-Id: I98bce5dcf7f2c35b5ed3382be2e49340b134e355 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix clang compiler warningsPeter Varga2023-02-142-5/+7
| | | | | Change-Id: I6ebd403a3affae8bfbc5afee9d528664fb08122c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumPeter Varga2023-02-131-0/+0
| | | | | | | | | | | | Submodule src/3rdparty 8c839a298..331447653: > FIXUP: Adapt DevToolsUIBindings for WebEngine > FIXUP: Remove linking with libatomic > Fix build with enable_vulkan=false > FIXUP: Workaround debug iterator issues with MSVC Pick-to: 6.5 Change-Id: I95d7bc540aeb4f62354e0a547f3fe9dc08b72051 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add option to build using system OpenJPEG 2Allan Sandfeld Jensen2023-02-133-1/+11
| | | | | | | | | | Adds a check on Unix system for the presence of a system OpenJPEG 2 library and builds against it if present. Task-number: QTBUG-63889 Pick-to: 6.5 Change-Id: I9fd90c96d733154b912acf4e9c7f06c17a39b244 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Attempt to fix flaky fetchAPI testAllan Sandfeld Jensen2023-02-131-1/+1
| | | | | | Change-Id: I0aa38930767c2caf37c9f641f5f65967e6c73356 Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Increase timeout to fix flaky testAllan Sandfeld Jensen2023-02-131-2/+2
| | | | | | Change-Id: Ieb9fa54ab05649da555f586c5f9c8f318bdaa774 Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* QWebEngineLoadingInfo: Add response headersYigit Akcay2023-02-138-6/+148
| | | | | | | | | | | | | | | | | | | | This change adds a member variable that contains the response headers to QWebEngineLoadingInfo. It is filled when a QWebEngineLoadingInfo instance is constructed inside WebContentsDelegateQt::emitLoadFinished(bool). The response headers are extracted from the navigation handle when WebContentsDelegateQt::DidFinishNavigation(content::NavigationHandle *) is called. The response headers are non-empty when QWebEngineLoadingInfo::status() is equal to QWebEngineLoadingInfo::LoadSucceededStatus or QWebEngineLoadingInfo::LoadFailedStatus. Fixes: QTBUG-106862 Change-Id: I4d196e3cc71725ddad9a5832af72d1b4e50924c8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io>