summaryrefslogtreecommitdiffstats
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* QWebEnginePage: Add missing NOTIFYHEADdevKaloyan Chehlarski24 hours1-1/+1
| | | | | | | The NOTIFY for the title property was missing. Change-Id: I7320abcdd788af4c46cf6d9da72d69df1c76446f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Replace unnecessary #include in render_view_context_menu_qt.hKaloyan Chehlarski24 hours1-1/+1
| | | | | | | | | The file was including web_contents_adapter_client.h but not using it; this is now replaced with the qtwebenginecoreglobal.h include necessary for the Q_WEBENGINECORE_EXPORT macro. Change-Id: I379b27f34081f9b0c9fcafa84ae7a464ff8b0822 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix -no-opengl buildPeter Varga7 days3-6/+20
| | | | | | Pick-to: 6.7 Change-Id: Ibb6cb75a25f9b6d69ec03bc2c6734a869ab21899 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Improve context log and clean up graphics initializationPeter Varga8 days1-52/+138
| | | | | | Pick-to: 6.7 Change-Id: I2c7433530a02a1cb37054b6e6e292d2e13ab8184 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Ensure that the correct modifier key is send to the chromiumAnu Aliyas8 days1-1/+1
| | | | | | | | | | | | | | | QtWebEngine converts QtKeyEvent to NativeEvent and then forwards it to Chromium. During the conversion, the value of keyEvent->nativeModifiers is passed as the modifier, leading to this issue. Eg: when using the command modifier, nativeModifiers yielded 264 instead of the expected value NSEventModifierFlagCommand, which is 1 << 20. Used QAppleKeyMapper::toCocoaModifiers() to get NSEventModifierFlags from Qt::KeyboardModifiers Fixes: QTBUG-122970 Pick-to: 6.7 Change-Id: I0c9d8df796187a04475fa944bf1cf4ba2a14109b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix Quick WebEngine middle mouse button scrollingKaloyan Chehlarski2024-04-111-0/+1
| | | | | | | | | | | | | | In Qt Quick, mouse movement will be sent to WebEngine as a QHoverEvent instead of a QMouseEvent. This change makes sure that when converting a QHoverEvent to a WebMouseEvent, the screen position is set correctly. This, in turn, ensures that Chromium will correctly interpret mouse movement when performing a middle mouse button scroll; instead of immediately jumping to the top left of the page, it will now scroll correctly. Fixes: QTBUG-120131 Change-Id: Ic5cac761974d422bf1f774616e99e5edbf82f4de Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Correct license for examples filesLucie Gérard2024-04-091-1/+1
| | | | | | | | | | | | | Example takes precedence over build system file type. According to QUIP-18 [1], all examples file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I558c6f409a480835d335101577ae633194b0559d Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Handle empty uri-list in dropped MIME dataMoss Heim2024-04-021-1/+1
| | | | | | | | | | | Previously WebContentsAdapter assumed that drag-n-drop MIME data with hasUrls() == true would also have a nonempty url list. This is not always the case. Instead, check directly if urls() is nonempty. Pick-to: 6.7 Fixes: QTBUG-123765 Change-Id: I9e2189e3f0223f98bdd8be273adb96cf063f4be3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Use NO_GENERATE_CPP_EXPORTS explicitlyAlexey Edelev2024-03-251-0/+1
| | | | | | | | | | | Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need the autogenerated exports header file. Task-number: QTBUG-90492 Change-Id: Ifb068ca6eb404fefe4587346df8c511413f372f5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Moss Heim <moss.heim@qt.io>
* Do not use GBM directly for EGLPeter Varga2024-03-214-90/+238
| | | | | | | | | Replace GBM API usage with using dma_buf import/export EGL extensions. Pick-to: 6.7 Change-Id: I0b332f084d1ada8b7ed58472f546b91628b9d771 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Implement NativePixmap support for EGLPeter Varga2024-03-216-31/+234
| | | | | | Pick-to: 6.7 Change-Id: I321d0de7e12902e1ec915983cf1594508ebac883 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Warn about system GBM only on LinuxPeter Varga2024-03-201-1/+1
| | | | | | | | Amends 30ff354d057a2517d928722402a3dabcc63c31ad Pick-to: 6.7 Change-Id: I76a7edab38473aeb4bb432a6be7dcc344798d2ae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix Vulkan rendering with Nvidia on LinuxPeter Varga2024-03-205-76/+217
| | | | | | | | | | | | | | | | | | | | | Nvidia driver does not support GPU memory buffer (GMB) properly. The NativePixmap is only available if the SharedImage is backed by GMB. OverlayImageRepresentation only provides NativePixmap to access the texture memory by default. ExternalVkImageBacking is a fallback for OzoneImageBacking if GMB is not supported and native Vulkan rendering is used on Linux (see //gpu/command_buffer/service/shared_image/shared_image_factory.cc). It uses VkImage backing instead of GMB by default. This VkImage can be accessed via SkiaImageRepresentation what we already use for synchronizing texture rendering into the backing buffer. As a workaround for Nvidia, the backing VkImage is imported into the Qt's Vulkan context instead of NativePixmap. Pick-to: 6.7 Change-Id: I94a29488521473291a5ba547abca34a3dba567a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add support for local font access notificationsKaloyan Chehlarski2024-03-155-1/+18
| | | | | | | | | | | | Accessing local fonts on the user's machine has been available in Chromium since v103, via a (draft) API descrived here: https://developer.chrome.com/docs/capabilities/web-apis/local-fonts This change adds support for the relevant notification types, effectively exposing the API to WebEngine applications. Task-number: QTBUG-121320 Change-Id: I42c5261dc689c3d7bb4aa3c58c6300421220a36a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2024-03-141-1/+1
| | | | | | | | | | | | | | | | | Submodule src/3rdparty e403fbe5.. da62c2f7: * Fix clang-cl builds * [Backport] Security bug 325296797 * Fix python warning in gen.py * Fix build race condition for ozone build flags * Revert "Revert "Do not initialize default locale in local isolate"" * [Backport] CVE-2024-2173: Out of bounds memory access in V8 * [Backport] CVE-2024-1938: Type Confusion in V8 Pick-to: 6.7.0 6.7 Fixes: QTBUG-122917 Fixes: QTBUG-123203 Change-Id: I5ea28b4a91eb7e506869371bb66122ad223f5286 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Clean up GLX codePeter Varga2024-03-143-45/+12
| | | | | | | | | | | | | | - Remove unused GLX extension check functions - Replace USE_GLX macro usage because it is expected to be removed in the near future Pulls in the following patches: * e403fbe5937 FIXUP: Fix vaapi support for QtWebEngine * f2b407a61be FIXUP: Restore GLX usage Pick-to: 6.7.0 6.7 Change-Id: Icda14a8cb25ecb0b7b171ecd0e9ffeebcb0ddb97 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add granular permission for clipboard-read/writeMoss Heim2024-03-115-17/+41
| | | | | | | | | | | | | | | Previously, permissions for clipboard access could only be managed through the JavascriptCanAccessClipboard and JavascriptCanPaste settings. This change allows copy/paste to be handled the same way as notification and geolocation permissions. If both JavascriptCanAccessClipboard and JavascriptCanPaste are enabled, permissions will be granted unconditionally without a feature request being made. Fixes: QTBUG-77450 Change-Id: I383e27e244ced3d6b7988644e38d2307c6267f76 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add setting method to set image animation policyAnu Aliyas2024-03-075-0/+106
| | | | | | | | - added a method to set image animation policy in QWebEngineSettings Fixes: QTBUG-86154 Change-Id: I8b3ab6067f9cff4219b0da90bb8601406cb98e24 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Correct the dictionary path for spell checking on macOSAnu Aliyas2024-03-061-1/+1
| | | | | | | | | | | | The Spellchecker built using QtCreator didn't work because it didn't copy dictionary files to the application bundle's resource folder. To address this, used 'APPLE' instead of 'MACOS' as the value, since 'MACOS' was false when compiling in QtCreator Fixes: QTBUG-122997 Pick-to: 6.7 6.6 Change-Id: I86a45b3c3622239873a7745e7b1fed5efbf696d8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix Vulkan rendering with disabled VAAPIPeter Varga2024-03-054-45/+21
| | | | | | | | | | | | NativePixmap and GPU memory buffer support was only used by VAAPI. After "b79349aad Move Vulkan support to NativeSkiaOutputDevice", vulkan rendering also relies on NativePixmap. Remove VAAPI guards around NativePixmap usage. Pick-to: 6.7 Change-Id: I7958bab100869dc5d6da07ad4c78998ec34f4a2a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix pure wayland builds with vaapiMichal Klocek2024-03-052-5/+10
| | | | | | | | | | | | Add missing build flag checks. This amends 1b7aaf1c7d98482cd6dc3d80aa0140fe9dd2c7d3. Task-number: QTBUG-118035 Fixes: QTBUG-121589 Pick-to: 6.7 6.6 Change-Id: I7dc6aae9898133e893b544e392076dc421a51f17 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Set minimum required VA-API version to 1.14Peter Varga2024-03-051-1/+1
| | | | | | | | | | | | Chromium uses av1 encode DDI which has been added to VA-API in version 1.14. Older versions break the build. Note that the pkg-config returns the VA-API version (1.14) instead of the libva version (2.14). Pick-to: 6.7 6.6 Change-Id: I4f206305fd8d9e8bd67385fbd3d3f267cae9b67d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineWebAuthUxRequest: add RegisterEnumClassesUnscoped for QMLMarc Mutz2024-03-042-26/+30
| | | | | | | | | | | | | | | Adding the scope later is a SiC (Type A, but still) change, so better do it now when we introduce the class. Found in API-review. Amends 605b0b3dcce24ff82c1e7a1ab3db7dace9668b81. Pick-to: 6.7 Change-Id: I4f399beed4a7a817c3f58e5864ed56b3a223a116 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix bundled minigbmPeter Varga2024-03-041-0/+5
| | | | | | | | | | | Pulls in the following patch: * 1f5b24f83ba Fix bundled minigbm Also add warning when minigbm is enabled. Pick-to: 6.7 Change-Id: Iea612dc030f7ee1d66da1fe8ef6a52ed9fc2a411 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update ChromiumPeter Varga2024-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty b9e19616d..9edd685c: * [Backport] CVE-2024-1676: Inappropriate implementation in Navigation * [Backport] CVE-2024-1672: Inappropriate implementation in Content Security Policy. * [Backport] CVE-2024-1671: Inappropriate implementation in Site Isolation (2/2) * [Backport] CVE-2024-1671: Inappropriate implementation in Site Isolation (1/2) * [Backport] CVE-2024-1670: Use after free in Mojo * [Backport] Security bug 1509340 / 41481948 (3/3) * [Backport] Security bug 1509340 / 41481948 (2/3) * [Backport] Security bug 1509340 / 41481948 (1/3) * [Backport] Security bug 1504473 / 40945008 * [Backport] Security bug 1508758 / 41481379 * [Backport] Security bug 1518994 * Merge branch 'upstream-master' into 118-based * Do not assert when ozone uses qt platform with vaapi * Correctly load GL implementation parts in GPUInfo, in-process GPU mode Pick-to: 6.7 Task-number: QTBUG-121589 Task-number: QTBUG-118035 Change-Id: I1c98d66bb70e406324f4ca098654b179edbbe8f9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Set the modifier key to resolve the backtabbing issue in WebEngineQuickAnu Aliyas2024-02-291-2/+6
| | | | | | | | | | | When handling the Qt::Key_Backtab key press event and the event doesn’t contain a modifier key, specify it as Qt::ShiftModifier, as Chromium requires this to process backward tabbing. Fixes: QTBUG-92114 Pick-to: 6.7 6.6 Change-Id: I6f59177272a0972a680dd4b247e5df0105644db1 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix outdated qwebenginesettings docsMichal Klocek2024-02-261-2/+2
| | | | | | | | | Old webkit's QWebSettings::setUserStyleSheetUrl is not ported to QWebEngineSettings, therefore do not mention it. Pick-to: 6.7 6.6 Change-Id: Ibbc804d1c58657a1d641935a2341132cc723cd82 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Recommend against JsCanPaste/CanAccessClipboardMoss Heim2024-02-261-3/+8
| | | | | | | | | Now that we have the ClipboardReadWrite feature, we can recommend against enabling these features globally and use the feature permission instead. Change-Id: Id8113383c3d5c50d2e7da3ace0e5c5eb38684d03 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix QWebEngineDesktopMediaRequest after API review updateMartin Negyokru2024-02-243-30/+41
| | | | | | | | | | | - The request has to be copyable to make it compatible with qml - Bring back EditRole - Remove QWebEngineMediaSourceModelPrivate Pick-to: 6.7 Change-Id: I28f64947eec8f041dab6feefa3d3ba85154975c8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Propagate system light/dark mode to webpagesKaloyan Chehlarski2024-02-201-0/+11
| | | | | | | | | | | | This change makes sure that Chromium is aware of any switches between light/dark mode in the system theme. This allows webpages that use the 'prefers-color-scheme' media feature query to see the system color scheme, and adapt accordingly. An example is the following page (set theme to 'OS default' in the top right): https://developer.mozilla.org/en-US/docs/Web Change-Id: Ifee20d15bbc1681c6ea2ee016f0283a6fa09fc77 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix enable_plugins gn parameter useMichal Klocek2024-02-191-1/+6
| | | | | | | | | | | | | | | | In 106-based adaptations enable_plugins use was changed and it means enabling support for handing plugins, but does not include support for loading plugins using specific technology like Pepper. Moreover, enable_pdf requires plugin support, but it does not require Pepper support (enable_ppapi). Pick-to: 6.7 6.6 Fixes: QTBUG-122137 Change-Id: I75cf611e54d0a47e2b96e7831c1fe1d20b6254b5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Update ChromiumMichael Brüning2024-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty e142f6610..b9e19616: * FIXUP: Bundle DevTools localization files * [Backport] CVE-2024-0808: Integer underflow in WebUI * [Backport] Security bug 1407197 (2/2) * [Backport] Security bug 1407197 (1/2) * [Backport] CVE-2024-1283: Heap buffer overflow in Skia * [Backport] CVE-2024-1284: Use after free in Mojo * [Backport] CVE-2024-1077: Use after free in Network * [Backport] CVE-2024-1060: Use after free in Canvas * [Backport] CVE-2024-1059: Use after free in WebRTC * [Backport] Security bug 1511389 (2/2) * [Backport] Security bug 1511389 (1/2) * [Backport] CVE-2024-0810: Insufficient policy enforcement in DevTools * Bundle DevTools localization files * [Backport] Security bug 1519980 * [Backport] Security bug 1515252 * [Backport] CVE-2024-0807: Use after free in WebAudio * [Backport] Security bug 1505148 * [Backport] Use raw strings for regexps in Python code. Pick-to: 6.7 Fixes: QTBUG-121844 Fixes: QTBUG-121843 Fixes: QTBUG-122188 Change-Id: I6408e04792fd3724e7d72b2f875ca359ec30aab1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Keep page's background color when loading new URLsAnu Aliyas2024-02-131-0/+3
| | | | | | | | | | | | | Whenever a new URL is loaded, the background color is reset to white, even if the user has explicitly set the background color to a different value. Therefore, it needs to be reapplied when a new render widget is created. Fixes: QTBUG-112013 Fixes: QTBUG-120926 Pick-to: 6.7 6.6 Change-Id: I6663008ee038f30ea6f5df8ab7d8ce7356b152a1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Show guest WebContents in DevTools if possibleSzabolcs David2024-02-093-2/+11
| | | | | | | | | | | | | | | | | | | Chrome's DevTools has different behavior for PDF content: - If it was opened for the PDF viewer, it closes itself when the guest view has gone (e.g. by navigating away), but it shows the inner content of the plugin. - If it was opened for another site and then navigated to the PDF plugin it won't show the inner content, but the embedding HTML of the parent and it allows navigating away from the plugin. Make our inspector match the behavior of Chrome and allow DevTools to look into the plugin. It helps debugging PDF viewer related issues. Pick-to: 6.6 6.7 Change-Id: I218d4fcf47d6b1f0101fa1d7f36758e04a1dd7b0 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Minor. Add warning about webEngineArgs and QTWEBENGINE_CHROMIUM_FLAGSMichal Klocek2024-02-071-2/+4
| | | | | | | | | | | | | | | In case of exported QTWEBENGINE_CHROMIUM_FLAGS webEngineArgs are overridden, this is not an issue till user forgets about an export and wonders why things do not work as expected. Note some of our tests use webEngineArgs and setting QTWEBENGINE_CHROMIUM_FLAGS will simply end in some failed test cases. Save some trouble and warn about potential issue. Pick-to: 6.7 Change-Id: Ifd8cf76403179f5844eb11ad0dc60f6300a6af4e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix endif commentAllan Sandfeld Jensen2024-02-071-1/+1
| | | | | | | | This follows up on commit 3970835c1c403ca83abd0823b771c6b37d48844e Pick-to: 6.7 Change-Id: I537b246c812ceb8ee52511184dd05f1d568c5a81 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Fix error message when dictionary not foundMichal Klocek2024-02-061-0/+6
| | | | | | | | | When there is no existing candidate still return something so error message can be thrown. Pick-to: 6.7 6.6 Change-Id: Iab71e089fec8ab88e36395474b6e5d4ecfa1ff4c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Minor. Set autodetect for v8 snapshots for cross compilationMichal Klocek2024-02-051-1/+1
| | | | | | | | | | We do not compile v8 snapshots on ci as this doubles amount of tasks and ends in much longer compile times. However, they can be enabled otherwise. Pick-to: 6.7 6.6 Change-Id: Ie59492af2bf01cdecf9525e708c642249a1ae681 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Clarify meaning of baseUrl argument in setContentMoss Heim2024-02-051-0/+1
| | | | | | | | | | The previous wording made it sound as if baseUrl must always be non-empty, however this only affects external content relative URLs. Fixes: QTBUG-90927 Pick-to: 6.7 6.6 Change-Id: I0dff3368dec60b5734c1b12bbfe3f4aefc240e14 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update ChromiumMichal Klocek2024-01-311-1/+1
| | | | | | | | | | | | | | | | | | Submodule src/3rdparty 97af90e4..e142f661: * FIXUP: Fix build with VS Toolset 17.8 * [Backport] Update vendored copy of six to 1.16.0. * Fix build with VS Toolset 17.8 * [Backport] Security bug 1506535 * [Backport] CVE-2024-0519: Out of bounds memory access in V8 * [Backport] CVE-2024-0518: Type Confusion in V8 * [Backport] CVE-2024-0517: Out of bounds write in V8 * Accept system_libdir with mulit-paths for pkg-config.py * [Backport] renderergl_utils: check strings from glGetString for nullptr Pick-to: 6.7 Fixes: QTBUG-121552 Change-Id: Ie650a63c595711ca37a3f45be45ef893fff198f4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove PPAPI docsMichal Klocek2024-01-311-27/+0
| | | | | | Fixes: QTBUG-106499 Change-Id: Ied6ea45d49f6f54c67003a8b127703275f4ad705 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Don't crash when setting invalid cookieMoss Heim2024-01-301-2/+3
| | | | | | | | | | | | | | QWebEngineCookieStore::setCookie was incorrectly validating cookies after an API change in chromium; this would lead to cookies being considered always valid which could crash if validation failed. This commit updates the API call and adds a test to check that invalid cookies are no longer added. Pick-to: 6.7 6.6 Change-Id: I6fc4268a483c9495c19843f3a7b16b4f234633b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix flaky tst_qwebenginepage::getUserMediaRequestDesktopVideoManyPagesMartin Negyokru2024-01-301-4/+11
| | | | | | | | | | | | Use chrome's desktop capture options instead of the default. It has preset settings for each platform. These options also contain a workaround for the deadlock on windows that responsible for the flaky test. Fixes: QTBUG-120689 Pick-to: 6.7 Change-Id: Ia22bcef908297d620eef90ffaac4125646fd5a18 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update QWebEngineWebAuthPinRequest based API review commentAnu Aliyas2024-01-291-5/+4
| | | | | | | | | | | - Used Q_GADGET_EXPORT(Q_WEBENGINECORE_EXPORT) instead of Q_GADGET - Removed initialization of members, as it is not needed. This structure is based on Chromium's CollectPINOptions, which doesn't have default values for all the members. Pick-to: 6.7 Change-Id: I52ab284500065a106a92edc5d211ca9edd233106 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update QWebEngineDesktopMediaRequest based on API reviewMartin Negyokru2024-01-223-64/+35
| | | | | | | | | | | | | - Port the request's d-pointer to std::unique_ptr - Disable copy of the request - Remove QWebEngineMediaSourceModel from the header - Remove the NameRole definition - Update tests and documentation according to changes - Use forward declaration in qwebenginepage Pick-to: 6.7 Change-Id: I972b3104a0bca5367a4bb63ac183a60d00a71776 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix printing when page ranges are specifiedSzabolcs David2024-01-211-31/+7
| | | | | | | | | | | Page ranges are applied at the PDF generation phase and it's incorrect to do it again in PrinterWorker. Simplify it to print all available pages. Pick-to: 6.7 6.6 Fixes: QTBUG-119991 Change-Id: Iaaf435ba2a93ea4480dc1d2f5500844138ea1b53 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable WebEngineDriver for debug build by defaultPeter Varga2024-01-201-0/+1
| | | | | | | | | | | | | | | webenginedriver binary is unstripped on Linux and its size exceeds 1 gigabyte in debug build. The strip step has been disabled because it is performed by gn and it uses pre-compiled eu-strip tool patched by Chromium. webenginedriver build still can be enabled with the -feature-webenginedriver configure option. Pick-to: 6.7 Task-number: QTBUG-82046 Change-Id: I02b7b29d4b0ab3a0c8f9007551c1a0a2bb73080c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update QWebEngineWebAuthUxRequest based on 6.7 API review commentAnu Aliyas2024-01-1712-235/+231
| | | | | | | | | | | - Modified WebAuthUXState as enum class - Renamed QWebEngineWebAuthUXRequest as QWebEngineWebAuthUxRequest - Renamed QWebEngineWebAuthPINRequest as QWebEngineWebAuthPinRequest - Replaced all occurrence of UX and PIN with Ux and Pin respectively Fixes: 6.7 Change-Id: Iaf0b4c93e0dfa3508a604f7d6562c4401ff800af Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove the use of Q_WEBENGINECORE_PRIVATE_EXPORTAlexey Edelev2024-01-1641-47/+45
| | | | | | Task-number: QTBUG-117983 Change-Id: I3f5b90c0d43071a5c8ebc4096995ce5e1e65aebb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Avoid crashing on FIDO auth without dialogAllan Sandfeld Jensen2024-01-161-1/+1
| | | | | | | | | Fixes regression from 6.6->6.7 Change-Id: I41766743a6d53548fdeed90e05c0e51b30e11e70 Pick-to: 6.7 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>