summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Restore non-EGL GLImageIOSurface pathAllan Sandfeld Jensen2022-12-1913-360/+629
| | | | | | | | | | | | Change-Id: I2433308b9d80fd56e0b2a01564343690592f7a03 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/448452 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Implement resourcesPrivate APIAllan Sandfeld Jensen2022-12-193-24/+22
| | | | | | | | | | | | Change-Id: I8a312a221cabfd9173a7dc47f82a3e5e0c89b0ec Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/449337 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Adapt autofill component for WebEngineAllan Sandfeld Jensen2022-12-193-4/+6
| | | | | | | | | | | | Change-Id: Iad728a71c37100c677a05ab114ac6f49be7f3d0c Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/449323 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Add extensions to Qt build and fix it up for buildingAllan Sandfeld Jensen2022-12-191-1/+0
| | | | | | | | | | | | Change-Id: Ib5cce71a0144f73d25e099c1232646623bc45307 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/449321 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Qt GN integrationAllan Sandfeld Jensen2022-12-191-2/+0
| | | | | | | | | | | | Change-Id: I8c117ffd47bd0dd245d71838e8182e5a0a6c848f Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/449320 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Silence most warningsAllan Sandfeld Jensen2022-12-191-3/+0
| | | | | | | | | | | | Change-Id: I31e3f920379da9f951694f33623628d2d36b7fd1 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/449319 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Adapt PointerDevice for WebEngineMartin Negyokru2022-12-141-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | Guard out pointer_device implementations as we override them in: https://codereview.qt-project.org/c/qt/qtwebengine/+/439924 Task-number: QTBUG-63174 Change-Id: Ic51f694139ab1bf403f16c55d458218169ca1ace Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/446174 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/448620 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Do not initialize default locale in local isolateMichal Klocek2022-12-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | The patch https://chromium-review.googlesource.com/c/v8/v8/+/3268465 made a default locale moved to local isolate. This will break resetting the default locale while application runs. Do not internalize the default locale in local isolate and let it be lazy initialized directly from icu. Change-Id: I2dbe757bdd47b0b6bc0fb7be757235475f96e0a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Avoid using libdrmAllan Sandfeld Jensen2022-12-133-3/+8
| | | | | | | | | | Change-Id: I62f1048995935995a4f9c84bf636624c6d5ec14c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix browser DCHECKAllan Sandfeld Jensen2022-12-131-3/+4
| | | | | | | | | | | | | | | | | | Do not rely on sandboxed state for whether current process is browser. Task-number: QTBUG-108904 Change-Id: Id59d25307c5ba4c05c4b1fe7fd4e93da492045ed Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/445692 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix fragment navigations on custom URL schemesSzabolcs David2022-12-131-1/+4
| | | | | | | | | | | | | | | | | | | | Don't try to resolve Path syntax custom schemes as authority based schemes. Task-number: QTBUG-102058 Change-Id: I673158f35e30e40f725c9cabb7b32b0babcfdfd9 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/444185 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Revert] HLS: Use base::ranges instead of std algorithms libraryPeter Varga2022-12-131-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | The reverted patch is https://chromium-review.googlesource.com/c/chromium/src/+/3758498 base::ranges solution doesn't build with MSVC. Switch back to the std algorithms solution to fix the build temporarily. Change-Id: I36ba53b88565b74557db83c74df9e273b4fff247 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443948 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Disable advanced arm64 control-flowAllan Sandfeld Jensen2022-12-131-1/+2
| | | | | | | | | | | | | | | | We don't necessarily support these instructions. Change-Id: I6f64b2dea837c99050fbc150f651239f4743ab11 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443465 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Implement GLDisplayWGLAllan Sandfeld Jensen2022-12-138-151/+244
| | | | | | | | | | | | | | | | Modernize WGL implementation Change-Id: Ib6488477d53878100a436a3112f9c44f4c39f40d Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442636 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Generate Version_autogen.h without calling gitPeter Varga2022-12-131-0/+6
| | | | | | | | | | | | | | | | | | kDawnVersion is supposed to be an empty string instead of git hash. Task-number: QTBUG-105755 Change-Id: I877498f87ed338e4b25e02b55f79b391e4ec7fc5 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443334 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix building with enable_screen_ai_service=falsePeter Varga2022-12-132-0/+8
| | | | | | | | | | | | Change-Id: I45fe93f738eb889ecf621ce4383f88afc03d259c Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443760 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Make GrVkImage externalPeter Varga2022-12-136-0/+67
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-107669 Change-Id: I8ba6c8bab4f29c13b368a8e53f762d6aac1f009c Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/435455 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442494 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Reland two changes for establishing gpu channelMichal Klocek2022-12-132-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 244709: Stop orphan child processes from staying alive on Windows https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/244709 Stop orphan child processes from staying alive on Windows Starting with Qt 5.11, on Windows, when the main WebEngine process crashed, the child render process would stay alive and use a whole CPU core trying to do something. What happened was that an existing layer tree frame sink was invalidated, and a request to create a new one was issued via RequestNewLayerTreeFrameSink, which failed due to the main process being dead, which scheduled a new request, and so on, which caused the child process main thread message loop to never exit. In Qt 5.10, this did not happen, because when the first request to create the sink failed, a new "software sink" was successfully created that did not depend on the host GPU process thread (see RenderThreadImpl::RequestNewLayerTreeFrameSink in render_thread_impl.cc). Thus the message loop ran out of tasks to execute, and could gracefully quit. The "software sink" code branch was removed in Qt 5.11+. Thus the hacky fix is to try and create the sink only a certain amount of times, and stop scheduling new requests after that. ------------------------------------------------------------------ 426757: Fix endless loop on race condition on qemu startup https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/426757 Fix endless loop on race condition on qemu startup Fix a weird race condition which ends in endless loop with a single-process, when gpu_channel_host is not ready in WidgetBase::RequestNewLayerTreeFrameSink and calls callbeck with nullptr, which ends in LayerTreeView::DidFailToInitializeLayerTreeFrameSink which again calls RequestNewLayerTreeFrameSink without giving a chance to initialize channel and round repeats itself. Give 10ms delay to cover the issue. ------------------------------------------------------------------ Fixes: QTBUG-105063 Task-number: QTBUG-69030 Task-number: QTBUG-105342 Pick-to: 98-based Change-Id: Icf3e4c75e009ae7b171a9e9ce2a394f8de421737 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Reintroduce ninja_use_custom_environment_filesAllan Sandfeld Jensen2022-12-134-32/+58
| | | | | | | | | | | | | | | | For Qt we want to read the environment variable from the environment not from Google's downloaded packages. Change-Id: I52def6474daec97cc63cda415d279cbe29881d08 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Make user agent helpers buildable without unwanted dependenciesSzabolcs David2022-12-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | "//components/policy" is enormously large with its resource files and we don't want to build it for only one preference name. User agent utils are required to fill navigator.userAgentData members in JavaScript. Task-number: QTBUG-107260 Task-number: QTBUG-107451 Change-Id: I752df68a8095ddb3f598a71f0419c1a2c9c408bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt DevToolsFileHelper for WebEngineMartin Negyokru2022-12-132-0/+51
| | | | | | | | | | | | | | Task-number: QTBUG-85171 Change-Id: Ie22d374f89c82633c9e9aa317050a3906eb67bff Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Disable less privileged app containerMichal Klocek2022-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating application with manifest call to base::win::GetVersion suddenly returns proper value and not 'default' WIN8. This unfortunately enables some features that we do not support like LPAC. Disable LPAC for WebEngine, note to support it WebEngineProcess and dependencies would have to setup proper ACLs on filesystem, This would have to be done most likely by installer by calling 'icacls' to grant permissions. Therefore this is currently out of scope. Pick-to: 98-based 94-based Task-number: QTBUG-106671 Change-Id: If219bdf69302bb6283dc457aa9359e00355e4a37 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix debug builds on arm32Michal Klocek2022-12-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | Debug build with neon and arm32 ends in compilation error "'asm' operand has impossible constraints" for raw_neon.cc most likely due to limited number of registers, therefore simply remove frame pointer in case of debug. Pick-to: 98-based Change-Id: I8be9ebf5c00f8e43aebfa6cf088665f85a25b7e1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fixup partial application of macOS OpenGL pixel format selection patchMichael Brüning2022-12-131-1/+1
| | | | | | | | | | | | | | | | | | For some unknown reason, this patch that we regularly apply was missing the profile number parameter at the call of GetPixelFormat. The default parameter caused this to be hidden as everything built fine. Change-Id: I288d0faa1d6e8ba8225a1fc369a489bf8f36279d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Move gio to public_configAllan Sandfeld Jensen2022-12-131-1/+3
| | | | | | | | | | | | | | | | | | Because gio/gio.h is included from a header. Change-Id: I5c636d08e72cbae08509496fe1149bb989d6b3bb Fixes: QTBUG-105818 Reviewed-by: Christophe Giboudeaux <christophe@krop.fr> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix building with system ffmpeg 4.4 or 5.1Allan Sandfeld Jensen2022-12-138-41/+44
| | | | | | | | | | | | | | | | | | | | | | From Chrome 102, they added odd API not found upstream, so instead use the standard API. Patch originally by gerd.roethig@gmail.com Change-Id: I1e65f02c1aa97575a90425a7ff4e28292219e20a Fixes: QTBUG-105815 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Disable accelerated_2d_canvas for Intel drivers on WindowsPeter Varga2022-12-131-0/+12
| | | | | | | | | | | | | | Pick-to: 94-based 98-based Task-number: QTBUG-104065 Change-Id: I1559d97040b600b2cb4189eb5fa7d0721673d68b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Native spellchecker: Fix it when enabledSzabolcs David2022-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | When native spellchecker enabled, the first spellcheck works on the first user interaction, then the SpellcheckService stucks in disabled state after its lazy initialization. It works when there are languages provided in WebEngineProfile. Make it independent from hunspell_dictionaries_ and rely only on the kSpellCheckEnable pref. Change-Id: Ia0788ae4716abf4d610f7bfc7f95970dd14d8785 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix build without spellcheckSamuli Piippo2022-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | Amend 0182bd05b3bcd0976f2e232caa55d5bb5fbba6a1 and move use of language::prefs::kSelectedLanguages behind the ifdef to fix: | ../../../../../git/src/3rdparty/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc:55:33: error: 'language' has not been declared | 55 | {switches::kAcceptLang, language::prefs::kSelectedLanguages}, Change-Id: I8f9936d7a03c64c3c805c18f870ad5cb011e0990 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix crash on chrome://quota-internals page incognito modeMartin Negyokru2022-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | Database and usage trackers are initialized asynchronously after: https://chromium-review.googlesource.com/c/chromium/src/+/3373881 Ensure everything is initialized before accessing them. Change-Id: Iafaa1bdbfeb4d6d2067963a66558e9933b3e77bb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Rewrite array for token/unguessable tokenMichal Klocek2022-12-132-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Use union to wrap array as with neon intrinsics this gets miss-compiled and ends up triggering alignment trap on arm32. Note the same code without neon support works just fine. Fixes: QTBUG-104477 Fixes: QTBUG-103149 Change-Id: I9dd183c16874021e62135c5dcfa6865ab9783fcf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit bb8a10a90551248e5da3d569a6f3731a5a47a968) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Apply blink symbol level to blink mojom tooAllan Sandfeld Jensen2022-12-132-0/+19
| | | | | | | | | | Change-Id: Iaab6aa11903d3355ce460f6e03cd86b603d3129a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix build without xkbcommonAllan Sandfeld Jensen2022-12-131-9/+10
| | | | | | | | | | Change-Id: Ib061e5a9740ed411bc6c97635b190543943aea3d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Temporary fix for missing macOS 12.3 SDKAllan Sandfeld Jensen2022-12-132-4/+11
| | | | | | | | | | Change-Id: I2417fe6876b8cc26fc70087e341bf03481c89641 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix build with older FreeTypeAllan Sandfeld Jensen2022-12-133-8/+8
| | | | | | | | | | Change-Id: I191aa55c896ce4303e129d2ca6e43b4c1b4bca2d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix WGL after reinstating itAllan Sandfeld Jensen2022-12-133-7/+7
| | | | | | | | | | | | | | Later changes need corresponding updates from WGL backend. Change-Id: I0e740acd372b4cd21745041ff7b2caa2a1fd620c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix tst_qwebenginepage::getUserMediaRequestDesktopAudioAllan Sandfeld Jensen2022-12-131-0/+4
| | | | | | | | | | | | | | Do not crash the renderer, just reject illegal request. Change-Id: I6b23797ce70f9e1f9a19f32ec16f56146485dee4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: [Extensions] Remove string literal conversions by ASCIIToUTF16()Peter Varga2022-12-133-5/+4
| | | | | | | | | | | | | | See upstream: https://chromium-review.googlesource.com/c/chromium/src/+/3295406 Change-Id: I455ae8151a44e7ae81513df7caae8048d4d0cf9e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Bundle all localisation files for DevToolsSzabolcs David2022-12-132-0/+87
| | | | | | | | | | | | | | Do not download them from remote location in runtime. Change-Id: I54c96408e83d2ac134c49c1280a19f83c91c6e68 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt autofill component for WebEnginePeter Varga2022-12-1314-3/+350
| | | | | | | | | | | | | | | | | | Only enable minimal code for datalist support and avoid dependencies which can't be built. Task-number: QTBUG-54433 Change-Id: I04086e3063a535c65049b563df64f5133acd41d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt ProtocolHandlerRegistry for WebEngineJüri Valdmann2022-12-136-1/+55
| | | | | | | | | | | | | | | | Disable persistence, OS integration and Chrome-specific features. Task-number: QTBUG-62783 Change-Id: I33d8c3a59de9876a466aacada7e5d5c307352d14 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix broken bundled zlib for cross compilationMichal Klocek2022-12-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bundled zlib when cross compiling with neon support assumes armv8 and requires built-in intrinsics for the ARMv8-A CRC32. However qt supports armv7 with neon support, which will end up in false armv8 outcome architecture for final library and will end up in unusable binaries for armv7 platform. Disable neon optimization for crc32, we should use system zlib anyway which is fixed in other patches. Task-number: QTBUG-103149 Pick-to: 94-based 90-based Change-Id: Ibfb5caa67cfea53b4c6a1bc1ed4948816c05ca38 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Make sure we do not compile minizip from 3rdpartyMichal Klocek2022-12-132-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | There are two minizips in chromium src tree, minizip from third_party/zlib and separate third_party/minizip. Remove minizip used for fuzzers. Sources could be removed with next adaptation. Task-number: QTBUG-103149 Pick-to: 94-based 90-based Change-Id: I30a9828dece43bf82e0be8d20ab8f2ccb2baab1d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Trim down some dependencies of push messagingSzabolcs David2022-12-1314-14/+209
| | | | | | | | | | | | | | | | | | | | Make push messaging working in WebEngine by guarding out code parts with large dependencies. Task-number: QTBUG-98904 Task-number: QTBUG-53457 Change-Id: Idd0a4d4c8ff8e1632e1802d027bd98f8838be921 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add back frame_id argument to PluginServiceFilter::IsPluginAvailable()Szabolcs David2022-12-137-8/+22
| | | | | | | | | | | | | | | | | | It was removed in 98-based because Chrome stores plugin availibility per profile. Add it back to help query plugin settings from view-level WebEngineSettings. Change-Id: I1de52792fbdca099d220cbc7a579553cac2c05d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Find fontconfig using pkg-configAllan Sandfeld Jensen2022-12-132-2/+4
| | | | | | | | | | | | | | | | | | We already verify that it can be found like that during configure Pick-to: 94-based 90-based Task-number: QTBUG-61158 Change-Id: I569590e96a490c4ed6e6dc560fbd110d86d77956 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Minor. Add defined to checksMichal Klocek2022-12-131-2/+2
| | | | | | | | | | | | Pick-to: 94-based Change-Id: If1ccdb9d3db8a7c1bf4768d730689c78679d0012 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Minor. Use FilePath directly for qt sandbox pathMichal Klocek2022-12-131-4/+3
| | | | | | | | | | Change-Id: I27da11d1b47b13c2dec7093ea573b9afc1d8505d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix mac toolchain python linker script callMichal Klocek2022-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | Do not call script directly as it has shabang with just 'python' and we want use same python interpreter as configured for gn. It fixes the issue when mac machine has only 'python3' interpreter installed and no 'python' symlink. Change-Id: If656453ade7c49d61edc90763a0b07f49483d129 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fixes for building with MSVCAllan Sandfeld Jensen2022-12-13224-419/+1066
| | | | | | | | | | | | | | | | Work-around various issues to make Chromium build on MSVC Change-Id: I3489452c9d7e61243fb60b877d289293b1850ebe Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>