summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update ChromiumMichael Brüning2022-11-082-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sumbodule src/3rdparty : > [Backport] CVE-2022-3723: Type Confusion in V8 > [Backport] CVE-2022-3653: Heap buffer overflow in Vulkan > [Backport] CVE-2022-3654: Use after free in Layout > [Backport] CVE-2022-3652: Type Confusion in V8 > [Backport] CVE-2022-3445: Use after free in Skia > [Backport] CVE-2022-3450: Use after free in Peer Connection > [Backport] CVE-2022-3446 and CVE-2022-35737 > Reland two changes for establishing gpu channel > FIXUP: Stop using C++20 initialization > FIXUP: Legalize the bloody code > [Backport] CVE-2022-3308: Insufficient policy enforcement in Developer Tools (2/2) > [Backport] CVE-2022-3308: Insufficient policy enforcement in Developer Tools (1/2) > [Backport] Security bug 1360936 > [Backport] CVE-2022-3313: Incorrect security UI in Full Screen > [Backport] CVE-2022-3307: Use after free in Media. > [Backport] CVE-2022-3315: Type confusion in Blink > [Backport] CVE-2022-3201: Insufficient validation of untrusted input in Developer Tools (2/2) > [Backport] CVE-2022-3201: Insufficient validation of untrusted input in Developer Tools (1/2) > [Backport] CVE-2022-3304: Use after free in CSS > [Backport] CVE-2022-3373: Out of bounds write in V8 > [Backport] Security bug 1356308 > [Backport] CVE-2022-3370: Use after free in Custom Elements > [Backport] Security bug 1348283 > [Backport] Security bugs 1346938 and 1338114 > [Backport] CVE-2022-3200: Heap buffer overflow in Internals > Make user agent helpers buildable without unwanted dependencies > Adapt DevToolsFileHelper for WebEngine > [Backport] CVE-2022-3199: Use after free in Frames. > [Backport] CVE-2022-3198: Use after free in PDF > [Backport] CVE-2022-3197: Use after free in PDF > [Backport] CVE-2022-3196: Use after free in PDF > [Backport] Security bug 962815 > [Backport] Security bug 1352549 > [Backport] CVE-2022-3056: Insufficient policy enforcement in Content Security Policy. > [Backport] CVE-2022-3057: Inappropriate implementation in iframe Sandbox > [Backport] CVE-2022-3053: Inappropriate implementation in Pointer Lock > [Backport] CVE-2022-3055: Use after free in Passwords > Disable less privileged app container > Fix debug builds on arm32 > [Backport] CVE-2022-3040: Use after free in Layout > [Backport] CVE-2022-3041: Use after free in WebSQL > [Backport] CVE-2022-3038: Use after free in Network Service > Merge branch 'upstream-master' into 102-based > (origin/upstream-master) BASELINE: Update Chromium to 102.0.5005.177 > FIXUP: Trim down some dependencies of push messaging > Fixup partial application of macOS OpenGL pixel format selection patch Fixes: QTBUG-108104 Fixes: QTBUG-108105 Task-number: QTBUG-108106 Change-Id: I4f0e4e267288904443f648b544606aa85dcaa16b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 00fa0def74e94139019ee7baa73b1099cd53f072) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix compilation 6.3 against 6.4Michal Klocek2022-11-011-1/+7
| | | | | | | | | | | Check if type registrations should be in Qt namespace. This amends 5208245d2ccabbc07ecf6b845cfa3d971d2ed7e5. Change-Id: I3f349a4aedac4410b1a581264d1e8877ba0bcf44 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 291082bf58fbafc2d6c2d48819d11d350749b1eb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix inputFieldOverridesShortcuts unit testMichal Klocek2022-11-011-1/+1
| | | | | | | | | | | | Since a818d49aa58c7ff871f89f7db4b1234402092994 in qtdeclarative we should explicitly ignore the event. Fixes: QTBUG-108008 Change-Id: I1b9beabb39e19df8af86b8cadaafb21eef9dc4a8 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 1f753957691e9fd4c9e107445958c224ca36cc9b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cleanup and document webEngineArgs command line optionMichal Klocek2022-10-195-27/+40
| | | | | | | | | | | | Fix usage of badcode vs code. This commit amends 82357352b49fdcba80727feec441053f676b5af2. Fixes: QTBUG-107502 Change-Id: I50be8b37a81f33ef8e8dff3985d00f562542031a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 337f6fa60b1fd17549537ed16c83b57ac5318c25) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix bogus layouting of qwebengineviewMichal Klocek2022-10-191-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | We did not really change pointers for doing a widget and a item delegate binding. This at some point was blowing up as we did not remove the old widget before inserting the new widget into the internal webengineview layout. The issue could get unnoticed for a while as the old widget got eventually removed on a destruction. However, at times when on the qlayout activation call the old widget was considered, resize event was triggered which was setting viewport to false value (minimum size to hold two webcontents). Make sure we remove widget before adding the new widget. This fixes the widget and the item bind, however this logic should be rewritten for dev branch as is get more and more complex. Fixes: QTBUG-107529 Change-Id: I31d180b54f52e38b3c335cfa2bf3afa61e449677 Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7c5546a78b1cbcf6d811648c003deb219ab6d070) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Only warn the user about conditions that are not metMichael Brüning2022-10-181-1/+4
| | | | | | | | | | | | | | | | When loaded from a plugin, we printed a warning about setting the application attribute Qt::AA_ShareOpenGLContexts and choosing OpenGLRhi as the scene graph renderer interface even when those conditions were already met. This patch checks if these conditions are already met before printing the warning. Change-Id: Iee06fa4560e022f0611f07a082513dc91c8065c9 Fixes: QTBUG-103958 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 9e5214e617471b326cc975095054f859924b4168) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix fullscreen request blocking after running fileChooserMartin Negyokru2022-10-141-0/+4
| | | | | | | | | | | | Chromium blocks fullscreen requests while the fileSelectListener is alive. Release it manually after the accept/reject signal. Fixes: QTBUG-106975 Change-Id: Iac4868b8ab0268b8ddb94912286155af73ebd343 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 1837eeb96693116ba4ec8542035003cac67421bc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix logic in bindViewAndDelegateItemMartin Negyokru2022-10-111-3/+9
| | | | | | | | | | | | Updating adapterClient is required to Bind correctly. Bring back old logic from 6.3. Fixes: QTBUG-105953 Change-Id: I8845948db379c24902df0dd2dad96982a1455531 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e995556338da4d381c457ddd978440f5099af496) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Add the git repo URL for the Qt PDF examplesVenugopal Shivashankar2022-10-101-0/+1
| | | | | | | | | This should enable the readers to access the up-to-date example code. Change-Id: Ie62bdea39d1374b49f1b8f5bf576b27c8f37996f Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit a14c5924d26fa73624269e0d46f914a8ec3471da)
* Do not intercept websocket connection when there is no associated frameMartin Negyokru2022-10-031-2/+1
| | | | | | | | | | This fix is based on chrome's implementation. Fixes: QTBUG-107144 Change-Id: If042e4156b8a4bdb27a210c4db94e3a6198aed7d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 64b7da9dab82713fdcb2e03d8a2715421eae5685) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Note DNS prefetches can overrule remote access permissionAllan Sandfeld Jensen2022-09-291-1/+2
| | | | | | | | Fixes: QTBUG-106967 Change-Id: I0407258403ec3b76ce694e0f592fe57b4f45c746 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 6bd06fdb35f4ad973a2abaaa35b5c12cbca0d37a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Work-around GNOME bug misidentifying HTML contentAllan Sandfeld Jensen2022-09-211-1/+4
| | | | | | | | | | | Correct application/x-extension-html to text/html Fixes: QTBUG-97392 Fixes: QTBUG-106688 Change-Id: I0d65c6950c5ba1504586cf564268463c5d4cd483 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 84ebd698597cf7a45b5e0967221547c21b1d67e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix client certificate regression on LinuxAllan Sandfeld Jensen2022-09-201-2/+3
| | | | | | | | | | The system certificate store was never generated after the define switched to being a BUILDFLAG Change-Id: I2efa54bd397e2dde55c249747f73a9ffb08e80ea Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit b6c1564c22332271c0a9473894200646efef4d50) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Check QT_OPENGL for softwareMichal Klocek2022-09-151-0/+7
| | | | | | | | | | | | | According to qt docs this variable should have same effect like setting Qt::AA_UseSoftwareOpenGL on application, therefore read that in case of detecting the software mode. Task-number: QTBUG-106095 Change-Id: I00fa8f0607ca44533c445434d1a35a1524bab679 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit fd1e82d0c09c73e42f172ffdf7edbcc952232155) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2022-09-151-0/+0
| | | | | | | | | | | | | | | | Submodule src/3rdparty 82da2de9a..1dc53de69: > [Backport] CVE-2022-3040: Use after free in Layout > [Backport] CVE-2022-3041: Use after free in WebSQL > [Backport] CVE-2022-3038: Use after free in Network Service > Merge branch 'upstream-master' into 102-based > FIXUP: Trim down some dependencies of push messaging > Fixup partial application of macOS OpenGL pixel format selection patch Fixes: QTBUG-106254 Change-Id: Ifd55481c8d26f0e2cf8cb9e01cdaa8aa530354d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit fbdb72b4981a9ec471756b5aac17376fe0a0c0d6) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Avoid crashing with unparented accessibilityAllan Sandfeld Jensen2022-09-141-6/+6
| | | | | | | | | | | We do not get the automation id in this case then, but we have run without it before. Fixes: QTBUG-106588 Change-Id: Ib65f1aaff1d7ef260df56c7de7198b0679e0d644 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a79afbeaa0d5a0fe1152c221c063cf8e7304ed73) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make opengl module name check more relaxedMichal Klocek2022-09-141-1/+1
| | | | | | | | | | | | The module filename can be different depending on windows platform for example "openglsw32.dll", "openglsw32.DLL", "openglsw32". Make check more relaxed. Fixes: QTBUG-106095 Change-Id: I0abd5f61df2a44b395c8a81511e4d3bc807e1537 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit db4d4d1edae7351fab777d492ed1004eb293f27e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix using QNetworkReply with custom url schemesAllan Sandfeld Jensen2022-09-131-1/+8
| | | | | | | | | | | | | | Sequential QIODevices are allowed to report atEnd() when they have no data to read, but add more data later. To avoid a regression with our own tests, treat a read error from a sequential device at end, as end-of-data. Fixes: QTBUG-106461 Change-Id: Iac1233e6daa978c827c37a7fd3131e2fce764111 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit aefd389bfdf7efcaf787d2cfb4683d7018cb377c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix busy waiting on streaming QIODevice'sAllan Sandfeld Jensen2022-09-101-5/+6
| | | | | | | | | | | The writable watcher will trigger all the time if we use automatic arming, instead we need to arm it manually when it is needed. Task-number: QTBUG-106461 Change-Id: Ia381db338adb1b1994d1da9b50c6d6ff542ea3e5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit b30559565cb91501baddea495362101341a0aa22) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove qLcNav logging category from qquickpdfpagenavigator.cppShawn Rutledge2022-09-101-2/+0
| | | | | | | | | | | It's not used in QQuickPdfPageNavigator, and causes a linker warning about a duplicate symbol, especially in static builds. Fixes: QTBUG-106361 Change-Id: I128c10a1aead1aa9a761dc091c626488fc195d12 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 1d98fad6ea411a00812d52bb7119f651b499d7a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PdfSelection: mark read-only for IM to avoid showing virtual keyboardShawn Rutledge2022-09-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | The Qt::ImReadOnly query enum is new in 6.2 (qtbase c80f262258b7846bf199887bcfdbb6dcfda6ad6f and aae4d52cbb79c61161271473ab5c3a1ba1086e01). It was added to the switch statement in 79d04aa9e3e9aa84d7378260519f9e9a6759dc41 but needs to return `true` to mark this Item as read-only, so that the keyboard will not open when it gets focus. The menu still gets populated with Select and Select All on long-press, and then Copy after a selection is made. That's all we need. The qt_im_readonly property was a sort of private API for Qt 5, and should no longer be needed (albeit the implementation is still in Qt 6 so far). Task-number: QTBUG-83811 Fixes: QTBUG-106358 Change-Id: I677363be545d07884dffdfc10d6fdbd488cf2cf0 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit b37d29b5f3c3572c6f3348545d23d8e42362311c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix typo in CMakeList.txtMichal Klocek2022-09-091-1/+1
| | | | | | | | | | | | | Fix typo, which slipped through testing. This covers the case when gn is already built (external project) and user reconfigures qtwebengine after removing cache (for non-prefix build) Task-number: QTBUG-106406 Change-Id: Ic0d105ff7d50a07f3729cb0cd095d2a8daf6911b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 08692e7d628e56e34fdc84e9da574d78ce8ecf1d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: Mark all QPdfLinkModel docs internal for nowShawn Rutledge2022-09-081-8/+8
| | | | | | | | | | | | So far we only have QML API, but we don't have a public header yet; so this class should not appear in public docs. Task-number: QTBUG-77511 Change-Id: I1f0f5c6b625597a73a67a3019b9f8271ce9cea9e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 95a3bfb9053c44b6fbf558b882ab28bdb3239786) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PdfSelection: check m_document before accessingShawn Rutledge2022-09-071-0/+12
| | | | | | | | | | | The document is a property that the user needs to bind. If initializing it has been neglected or delayed somehow, we shouldn't crash. Fixes: QTBUG-106355 Change-Id: I8e99b4bb84d868b694886058d56166fb3c4eabff Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit c1dc52321cda894771bbbc38be92ae852281e26a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Pdf[Multi|Scrollable]PageView: enforce zoom limits, don't get stuckShawn Rutledge2022-09-062-6/+8
| | | | | | | | | | | | | | | Handlers must not get disabled because the zoom range is beyond limits: rather, let PinchHandler's minimumScale and maximumScale enforce them. So far, PdfMultiPageView and PdfScrollablePageView do not have other ways of zooming (like a WheelHandler for control-mouse-wheel), so we don't need BoundaryRule. But the limits applied by PinchHandler are "hard" limits: you bump up against them instantly, with no easing curve. Fixes: QTBUG-104769 Change-Id: I4eb785e572816d1b80ea9c8f4f5b9c925594afac Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit d3bd8891b578c37fa3a88e0b93c314f25f789c75) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Copy gn in case for crossbuildMichal Klocek2022-09-061-0/+17
| | | | | | | | | | | | | In case of non prefix builds gn should be copied so it can be detected by cross-build from host qt. Change-Id: I02937fc7101c249b22cfa06275c508410f888248 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 84eaa29b881d25f1b7588187b5b74a9da133d430) (cherry picked from commit 512832e58a228a108606aa6cdb7bae8c77fac0ef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix wrong scalingMartin Negyokru2022-09-023-28/+40
| | | | | | | | | | | | Use inherited screen_infos_ in RenderWidgetHostViewQt. Handle multiple screens. Fixes: QTBUG-105955 Fixes: QTBUG-105960 Change-Id: I6e5d04e29ff1e8bb9936cc3103960f27895904d6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ecfa2f0973680332d6ab04adce471f4dd85f1422) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix moc's namespace for qquickwebenginesingletonMichal Klocek2022-09-021-1/+2
| | | | | | | | Fixes: QTBUG-106090 Change-Id: If0572c92e5b9fe6ae44c2d93d38dfa0f68289994 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 945398a4a76245682cd03e45beabd38d766476c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Reestablish default config for embedded buildsAllan Sandfeld Jensen2022-08-262-0/+15
| | | | | | | | | | Was missing from the CMake switch-over Change-Id: I0171d395f9e66c072e368b7019539fc29ff865b8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 0def03920e07d6a2e193cbd2537643d668bc979a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build with disabled webengine_printing_and_pdfPeter Varga2022-08-256-17/+51
| | | | | | | | | Now the extensions can be enabled when printing is disabled. Change-Id: I6183c795298eedf9cdf5110e580e73ba88f45828 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d3ceb65253b18cea470339ec5064778e253f5d58) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumPeter Varga2022-08-251-0/+0
| | | | | | | | | | | Submodule src/3rdparty 7ed043a1b..a7ecbb5ca: > Avoid calling git in build scripts > FIXUP: Fixes for jumbo build Change-Id: I47ae3494c00750adefae192a45da270ca3706e86 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d44d934fc18b2c1e0608761d6de9b0758f637e94) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix initial widget focusPeter Varga2022-08-241-1/+0
| | | | | | | | | | | | | Avoid WebEngineQuickWidget::rootObject() to steal focus from the content item (RenderWidgetHostViewQtDelegateItem). The root object is supposed to keep the content item alive and not handling input events. Fixes: QTBUG-105072 Change-Id: I18e8ff39bfe338b742416bc56f6937edcfd2bc21 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit a7d353ae7d85438b92c8e376cbf6cf92c05a0952) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update minimum windows sdkMartin Negyokru2022-08-231-1/+1
| | | | | | | | | | 102-based requires 10.0.20348.0 windows sdk. See: https://chromium-review.googlesource.com/c/chromium/src/+/3550827 Change-Id: I5797020f56d76831bf957940974e2bc296adb429 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit eac1777e88f93e50f57c16cf0d4ec0c60b473e66) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2022-08-221-0/+0
| | | | | | | | | | | Submodule src/3rdparty 4c842ebb1..7ed043a1b: > Move gio to public_config > Fix building with system ffmpeg 4.4 or 5.1 Change-Id: I7d657b874a3e7d8307c1af9447b8dffc2ab92546 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 4178a80d6c1fff0def89383d9c1675203269b3d1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Find GIO submodule of GLIBAllan Sandfeld Jensen2022-08-221-1/+1
| | | | | | | | | | Seems casing is important. Task-number: QTBUG-105818 Change-Id: I43176b6c1aa21cba7d9145067ffdaec4456e3e67 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d9c54dcbb1c3715bcee61a5e142af0fd24d06c85) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2022-08-192-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 8496e134..620599a6: * 2nd fixup for [Backport] CVE-2022-2605 * Fixup for [Backport] CVE-2022-2605: Out of bounds read in Dawn (1/3) * [Backport] CVE-2022-2854: Use after free in SwiftShader * [Backport] CVE-2022-2860: Insufficient policy enforcement in Cookies * [Backport] CVE-2022-2855: Use after free in ANGLE * [Backport] CVE-2022-2857: Use after free in Blink * [Backport] CVE-2022-2853: Heap buffer overflow in Downloads * Disable accelerated_2d_canvas for Intel drivers on Windows * [Backport] CVE-2022-2605: Out of bounds read in Dawn (3/3) * [Backport] CVE-2022-2605: Out of bounds read in Dawn (2/3) * [Backport] CVE-2022-2605: Out of bounds read in Dawn (1/3) * Native spellchecker: Fix it when enabled * Fix build without spellcheck * [Backport] Security bug 1264288 * [Backport] Security bug 1333970 * [Backport] Security bug 1343889 Fixes: QTBUG-104640 Task-number: QTBUG-1053266 Change-Id: I9fec122a689bcdf0afdec482b7a60cb5f811543d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 09799212350a54f1c8d7b204ad07a2778b0fe6d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix single process crash when proxy pac is usedMichal Klocek2022-08-161-1/+9
| | | | | | | | | | | | | | | | | | | Using proxy v8 resolver ends up in race condition when render thread tries to evaluate extension handle and v8 proxy resolver evaluates proxy pac script. Disable v8 proxy resolver for single process mode. Issue tracked upstream http://crbug.com/474654 Modify the unit test to catch the crash case, the test loads now network resource but it does not matter as we do not check for failure or success. Fixes: QTBUG-104436 Change-Id: Id3221d1b8b3896f0ced3d0cd7cb9d9eceeb929cc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 1b6633d1ce86eaf43b750a03a785793512e487ed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build with Qt versions < 6.3.0Michael Brüning2022-08-151-0/+4
| | | | | | | Change-Id: I754bce59da6d735c3a3adb4086b4d08e75c50b3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 772d86b92bba4c1e63fbb4c555e9a6789991b68c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update Qt compat documentationAllan Sandfeld Jensen2022-08-121-2/+2
| | | | | | | | | Updated it for Qt 6.4 Change-Id: Ia3a115bfd5bb41bc1ebbb2b2258178b42b938dca Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 8e9224189eb4446de1341a2fc006b133ef8058b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix PDF viewerAllan Sandfeld Jensen2022-08-1217-48/+396
| | | | | | | | | | | | | | | | | | | | | | | | | It was broken after 102-based merge Submodule src/3rdparty c57592220..8496e1340: > Revert "Jumbo build mojom files" > FIXUP: Fix building with optimize_webui=false > Revert "Add remove_v8base_debug_symbols to GN" > FIXUP: Fix crashes and asserts > Add missing node modules for PDF support > [Backport] CVE-2022-2614: Use after free in Sign-In Flow > [Backport] CVE-2022-2618: Insufficient validation of untrusted input in Internals > [Backport] CVE-2022-2612: Side-channel information leakage in Keyboard input > [Backport] CVE-2022-2613: Use after free in Input > [Backport] CVE-2022-2624: Heap buffer overflow in PDF > [Backport] CVE-2022-2610: Insufficient policy enforcement in Background Fetch > [Backport] CVE-2022-2615: Insufficient policy enforcement in Cookies > [Backport] CVE-2022-2294: Heap buffer overflow in WebRTC > [Backport] CVE-2022-2478 : Use after free in PDF > Jumbo build mojom files Change-Id: I4fc608c21ab8aaa508329e708446b57cccbddf76 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit f1cb0ab451f3282648caec6ec359be356c921942)
* Improve finding Chrome/Chromium widevine CDM modules on LinuxPeter Varga2022-08-111-2/+36
| | | | | | | | | | | | | | | Also search in the path stored in latest-component-updated-widevine-cdm hint file if available in ~/.config directory. The hint file is only available on Linux and it has been added by: https://crrev.com/c/1826077 Fixes: QTBUG-86007 Change-Id: I39d049db004a5ac452a94011603e9dc5f96707bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7d8bee327d445e5010cd997ec6a19fb132c3983a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix recovery after sub-process crashv6.4.0-beta3Allan Sandfeld Jensen2022-08-116-0/+24
| | | | | | | | | | We no longer get RenderViewChanged signal but only a RenderViewReady signal after a crash. Change-Id: Ib14cb3092e46e699d55bc252c9dddca524f6b8b7 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 2dfde66e1b9f95765cc61ae9985f5e7b58a8cb02) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add environment variables to specify resources and locales locationsPeter Varga2022-08-102-45/+122
| | | | | | | | | | | | | | - QTWEBENGINE_RESOURCES_PATH for resources - QTWEBENGINE_LOCALES_PATH for locales (translations) Fixes: QTBUG-88595 Fixes: QTBUG-78646 Task-number: QTBUG-103760 Change-Id: I9208ab8cc154d89eae6053eb3c50f007be5ffbb1 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f63f7903c9400b772f9566bc4b8c7d8e527314a9) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move QPdfBookmarkModel::d_rolesNames to private classAllan Sandfeld Jensen2022-08-102-4/+4
| | | | | | | | | | | To protect implementation internals From API Review Change-Id: Idaf221546a1d7d00b433759b2f3160b915155cc3 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 978677f6457693a716d40101dc4a94f43e6946a8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Change Rotation values from RotateX to ClockwiseXAllan Sandfeld Jensen2022-08-103-12/+12
| | | | | | | | | To avoid syntax such as Rotation::Rotate, and made direction explicit. Change-Id: Id7bd7024ba11cfe2f4f23061e4fb05f46d75061e Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 9dd330ef3d98555c5773ffa850f834e8904c45fb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Rename _Count to NRolesAllan Sandfeld Jensen2022-08-108-16/+16
| | | | | | | | | | | Identifiers shouldn't really begin with underscore even if it works. It is reserved for compiler/library internals. Change-Id: I17e1b3ce2dc19af036fcb13a6c90fc1f6f149e17 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit ae81a44c606f52cbb3ef33f32983163888a9e6d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add constructor to WebKeyboardEventMartin Negyokru2022-08-101-9/+12
| | | | | | | | | | | WebKeyboardEvent type is needed for devtools protocol. Fixes: QTBUG-105082 Fixes: QTBUG-86871 Change-Id: I17e9b38cae73cac606862cf2361ee878c9ae97ba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f2f6e3a3b2e2d30140d9e3d2b21d1eed79f1879a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add QT_NO_DEBUG_STREAM protectionsAllan Sandfeld Jensen2022-08-092-1/+6
| | | | | | | | | So the header compiles with QDebug disabled. Change-Id: I0f89dee4ff07734d53eee4dc5e2183633ee05da1 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 5b3e299bf0ed9459ff57bc9f2119b38ef0e001d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix -no-opengl build on WindowsPeter Varga2022-08-091-0/+4
| | | | | | | Change-Id: Id48824fb64125b1fdafcc54866eed8365d5ec3bb Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 38a6d268b09c49878b3a9b4819771f5c74925c35) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make QWebEngineFileSystemAccessRequest comparisons hidden friendsAllan Sandfeld Jensen2022-08-092-16/+12
| | | | | | | | | From API review Change-Id: I567767b95852048f56d3ff5b5d0df2b91358f8b1 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit d94a7242d59eb4c688f3bcab77ca5fb17a0caf00) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>