summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Chromiumv5.15.0-rc1Allan Sandfeld Jensen2020-04-292-1/+1
| | | | | | | | | | | | Pull in changes from 81.0.4044.129 Changes: 165753b3781 [Backport] CVE-2020-6462: Use after free in task scheduling 6f260e5b2f7 [Backport] CVE-2020-6461: Use after free in storage Task-number: QTBUG-83618 Change-Id: I99c8c918cafed69dd7371f34cbfb56d67d3091b0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add changes file for Qt 5.15.0Antti Kokko2020-04-281-0/+91
| | | | | Change-Id: I3cdec9cd034e110fe24e7abcb2816e15b075cdb3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Restore behavior of OpenURLFromTab if createWindow returns thisJüri Valdmann2020-04-268-16/+42
| | | | | | | | | | | | Instead of using QSharedPointer's reference count to communicate adoption/non-adoption, change adoptNewWindow to return a adapter pointer, with null meaning non-adoption. Then change QWebEnginePage's implementation to reuse already existing adapters if possible, restoring previous behavior of OpenURLFromTab when createWindow returns this. Task-number: QTBUG-80596 Change-Id: I8ee7c31e4294aabd3207c504cba67d6171c66cb0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crash if createWindow returns this for AddNewContentsJüri Valdmann2020-04-263-22/+158
| | | | | | | | | | | | | | | | | | | | For a QWebEnginePage subclass where createWindow returns the this-pointer, we get a crash in WebContentsDelegateQt::AddNewContents because AddNewContents expects the adapter to be adopted already, but QWebEnginePage delays adoption. Revert 3855015600 by getting rid of the delayed adoption code path. It's not needed anymore with the delayed initialization of the WebContentsAdapter. Revert 8a4091c210 by forcing adoption of the adapter even when it doesn't have contents. This no longer results in a crash since OpenURLFromTab ensures that the adapter is initialized before use. However, it does result in a behavior change since return-this now consistently overrides the adapter, so, e.g. navigation history is now always cleared whereas previously it was only cleared by the AddNewContents code path. Fixed with new approach in next patch. Fixes: QTBUG-80596 Change-Id: I4d2230c1bffcf2d77fa59ded9be51da49a820474 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Fix flaky profile tests due to HTTP disconnectsJüri Valdmann2020-04-261-5/+5
| | | | | | | | | Resetting the network context can cause some (expected) disconnects, so return value of HttpServer::stop should be ignored. Fixes: QTBUG-83670 Change-Id: Ieb17b38c422f0cdaea5423d082fd04c22715cebe Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2020-04-261-0/+0
| | | | | | | | | | | | | | | | This pulls in the following changes: * ca5ef7e4a6c [Backport] Security bug 1053939 1/2 * 6d98471a3e1 [Backport] Security bug 1053939 2/2 * f3fbe32fb25 [Backport] Security bug 1025740 1/2 * 798537f6ebb [Backport] Security bug 1025740 2/2 * 9b37796d4fa [Backport] Fix for CVE-2020-6444 1/2 * 0173823bbde [Backport] CVE-2020-6458 * 4b088342587 [Backport] Fix for CVE-2020-6444 2/2 Task-number: QTBUG-83618 Change-Id: I3665e1ae37015c179e1dfc9a70b6665a8fbfe17c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2020-04-261-0/+0
| | | | | | | | | | | | | | | | | This pulls in the following changes: * 361a0c7f9d4 [Backport] Fix for security issue 1030167 * 6f434937c47 [Backport] Fix for security issue 1050090 * 2eb01dd7314 [Backport] CVE-2020-6432 * 20a811a4b2d [Backport] Fix for security issue 609527 * e23a74469f4 [Backport] Fix for security issue 818327 * 8154ce0fcad [Backport] CVE-2020-6459 * 17dd703700e [Backport] CVE-2020-6460 * bb3309303f4 [Backport] Security bug 1055933 Task-number: QTBUG-83618 Change-Id: I2ba8aca7a370267196e849be6a95b52c729cbc2a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumKirill Burtsev2020-04-241-0/+0
| | | | | | | | | | | | | | This pulls in the following changes: * e9d336d7889 [Backport] Fix for CVE-2020-6443 * d9342640fab [Backport] Fix for CVE-2020-6442 * 28996bc48bc [Backport] Fix for CVE-2020-6441 * 0b633aff1dd [Backport] Fix for CVE-2020-6439 * a6cb9e378be [Backport] Fix for CVE-2020-6438 Task-number: QTBUG-83618 Change-Id: I26053cdd9065a00f55ab746a9105a61a6049a31f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fixup xkbcommon testAllan Sandfeld Jensen2020-04-231-9/+3
| | | | | | | | It needs to be includable without using special include path. Task-number: QTBUG-83693 Change-Id: Ibdee6ff00fde66a9de970bbaba9282c42e420c6b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Merge 5.15 into 5.15.0Alexandru Croitor2020-04-231-1/+2
|\ | | | | | | Change-Id: I8666479a594b69a18e00f875558038665901f2f7
| * Fix warning about unexpected null disconnect in QPdfLinkModelShawn Rutledge2020-04-221-1/+2
| | | | | | | | | | | | | | | | | | QObject::disconnect: Unexpected nullptr parameter was caused by disconnecting from the previous document's statusChanged signal even when there was no previous document. Change-Id: I740f0e569f445660494011d788c0e917e787ac80 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* | Update ChromiumMichal Klocek2020-04-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: * 39d2873778c [Backport] CVE-2020-6433 * 0f16d8d83e4 [Backport] CVE-2020-6434 * 8a691f31947 [Backport] CVE-2020-6435 * 904d83d41b4 [Backport] CVE-2020-6436 * 88274f362d7 [Backport] CVE-2020-6430 2/2 Change-Id: I8a341eecf40b8ab0f572d6f521c47cf2f075d4d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumMichal Klocek2020-04-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: * daeb5ccdfaf Disable alternate window station of Windows sandbox * 6f916658d9f Fix recursive deadlock in sandbox::InitLibcLocaltimeFunctions * 5a7809f25c4 [Backport] CVE-2020-6454 1/2 * 70e5d6e68c2 [Backport] CVE-2020-6454 2/2 * c44739c246c [Backport] CVE-2020-6430 1/2 * 2cd39da1f70 [Backport] CVE-2020-6456 * 020de77cb35 [Backport] CVE-2020-6431 Task-number: QTBUG-83618 Change-Id: Ic221a0897197e737767f2b7f4a3cb0dabad4ee80 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Forward unhandled scroll eventsAllan Sandfeld Jensen2020-04-227-3/+102
| | | | | | | | | | | | | | | | Fixes a regression in webengine stealing all wheel events. Fixes: QTBUG-81322 Change-Id: I0176627f3e13d97f55162f70fc7a969f98f4f444 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Implement WebContentsDelegate::ContentsZoomChangeAllan Sandfeld Jensen2020-04-222-0/+10
| | | | | | | | | | | | | | | | Needed to do wheel zoom. Fixes: QTBUG-83656 Change-Id: I97d96585b7f760487daa292ad279805007c5095e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into 5.15.0Allan Sandfeld Jensen2020-04-2119-323/+310
|\| | | | | | | Change-Id: I3b93ac7c5ac1662ed51e211beb40be215af47215
| * Cleanup interceptors in profileMichal Klocek2020-04-204-86/+0
| | | | | | | | | | Change-Id: Ibc6d63845601b8189ac38bacc77885327284c81f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Move request interceptor to ui threadMichal Klocek2020-04-2012-210/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | We use now network service avoid io-ui-io-ui hops, pipe proxying url loader factory directly to ui thread. This solves thread safty issues. Add deprecated request interceptor test cases. Task-number: QTBUG-83082 Task-number: QTBUG-82999 Change-Id: I38778cf1a70789c5e92e04c93d1c93e2cc4c765a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix PgUp/PgDown navigation in the PDF multi-page exampleShawn Rutledge2020-04-161-2/+2
| | | | | | | | | | | | | | | | | | SpinBox.valueModified is emitted only when the user interactively modifies the value; so SpinBox.value++ doesn't trigger view.goToPage(). Therefore we should call it explicitly when handling those key shortcuts. Change-Id: I9648d1d143812d34d77218fd9ed7559415d13f63 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
| * PdfLinkModel: support the remaining link action typesShawn Rutledge2020-04-161-21/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In practice, some PDFs contain links for which FPDFAction_GetType() reports PDFACTION_UNSUPPORTED and yet we can successfully get the same information as if it were PDFACTION_GOTO. For example https://www.openexr.com/documentation/TechnicalIntroduction.pdf contains some of these. PDFACTION_URI is another web link representation: for example in https://www.w3.org/WAI/WCAG21/working-examples/pdf-links/links.pdf PDFACTION_LAUNCH and PDFACTION_REMOTEGOTO will be trickier to support in actual viewer applications, but at least we should provide the file path to open, as a URL. Log similar warnings each time an invalid aspect of a link is encountered, into the qt.pdf.links logging category. Change-Id: I7ca24baa10524611e0705e89a07906ab7b74dadb Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
| * Replace deprecated call to TouchPoint::rect() with ellipseDiameters()Shawn Rutledge2020-04-161-4/+5
| | | | | | | | | | | | | | | | | | GetTouchMajor/Minor sound like they are intended to return ellipse diameters, so it was clearly the right thing to do already, any time after 5.6 when rect() was deprecated. Change-Id: I3cbb1e9f38206626fdd9fe2eb3d799662751c475 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2020-04-212-1/+1
|/ | | | | | | | | | | | | | | Changes: 1b05827804e BASELINE: Update Chromium to 80.0.3987.163 03d44c1c2cd Merge remote-tracking branch 'origin/upstream-master' into 80-based 28396737685 [Backport] Fix for security issue 1066893 2ccc559ca7d Update sqlite, fixing CVE-2020-6455 d5c4b6230b7 Fix gn compilation on mac with Xcode 11.4 55a8f34b5de [Backport] When suspending context, don't clear handlers 580c53c725c [Backport] Fix for CVE-2020-6423 6564891efb8 Fix crash in file-selector tests Change-Id: I9de280a9e9e7606761b709d16b4417893a592233 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Join some features request and response functionsAllan Sandfeld Jensen2020-04-1510-62/+67
| | | | | | | Will make it easier to expands with more features in the future Change-Id: Ic7c1aca23a543c95a4873471c918f74606be2053 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Remove ExtensionsBrowserAPIProviderQtAllan Sandfeld Jensen2020-04-154-130/+0
| | | | | | | | We don't add any extension API beyond the core ones and are just duplicating what CoreExtensionsBrowserAPIProvider does. Change-Id: Ia50f89e7e23dc0e155f8f2e01b4f7f1e262cbe53 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Update build requirementsAllan Sandfeld Jensen2020-04-152-14/+13
| | | | | | | Update to requiring macOS 10.13 and Xcode 10. Change-Id: I50aae730096da76e8917041211e7c143a69941eb Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Disable accelerated and offscreen canvas for old rendererJüri Valdmann2020-04-152-0/+6
| | | | | | | | | | | | | | Offscreen canvas requires surface embedding which is a viz-only feature. Accelerated canvas uses gpu memory buffers which don't work with old renderer. Updates src/3rdparty with dependent change * 757b9f45 Expose WebPreferences::disable_features_depending_on_viz Fixes: QTBUG-56147 Change-Id: I90322f05554af43de5db9e386929d4faf5e65b6d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge "Merge remote-tracking branch 'origin/5.14' into 5.15"Allan Sandfeld Jensen2020-04-145-8/+61
|\
| * Merge remote-tracking branch 'origin/5.14' into 5.15Allan Sandfeld Jensen2020-04-105-8/+61
| |\ | | | | | | | | | Change-Id: I75f7bbf5e5a4d4ed3bf7bfbfb76162de8a89e6fa
| | * Avoid HTML encodings in default JS QMessageBox'es5.14Allan Sandfeld Jensen2020-04-081-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Escape any HTML encodings, as we have no convenient way to set formating to Qt::PlainText. Fixes: QTBUG-83338 Change-Id: I4d8cb05fe643eb018d3e40119c629e7304fe0813 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| | * Doc: Fix docs for playbackRequiresUserGesture WebEngine settingLeena Miettinen2020-04-023-5/+16
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-83101 Change-Id: I7ca8271cc88c7e157c36c79e06fa378f4bce48e4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Windows: Look for the WidevineCdm plugin in the new Chrome locationsAndy Shaw2020-03-281-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | With the later versions of Chrome it will place the WidevineCdm plugin inside the Program Files folder, so we need to check in there for the plugin on Windows as well as the older locations. Change-Id: I4ce10536dbd4779a2c3631827a9cb3a5eb8cb7d0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Enable viz unless --disable-viz-display-compositor is givenJüri Valdmann2020-04-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since we now support running the GPU service on the UI thread even with viz, there's no longer any need for a --enable-viz-display-compositor flag. Fixes: QTBUG-79864 Change-Id: I86f6282a17e1e0ed56a91373eb2a2753085e981a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix builds against Qt 5.12v5.15.0-beta4Allan Sandfeld Jensen2020-04-102-16/+23
| | | | | | | | | | | | | | | | | | | | | We need to provide the last update possibility for Qt 5.12. Change-Id: I3dbf327ad5ef149046744ed2db57a1d56dc8e7fd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Use WebContents instead of FrameTreeNode when set first party urlTamas Zakor2020-04-101-15/+8
| | | | | | | | | | | | | | | Change-Id: Ia69b4aa17396229bf303ef231a08ff135f425249 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | ProfileIODataQt: remove more remains of non network service codeJüri Valdmann2020-04-104-249/+2
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-83394 Change-Id: Ib1b4431ac75ae7e988bf62580e2bfb690840f54a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Delete last network service feature checksJüri Valdmann2020-04-105-45/+0
|/ / | | | | | | | | | | | | | | Network service is required. Task-number: QTBUG-83394 Change-Id: I8b636730eba5bd2ba5895e072e134c3b1fb786d1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Stabilize widget auto tests which use evaluateJavaScriptSync()Peter Varga2020-04-091-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interrupt the waiting on the event loop in CallbackSpy::waitForResult() to not block calls on the UI thread. It is necessary because RenderProcessHost creates channel for mojo communication on the UI thread. QWebEnginePage::runJavaScript() needs this channel because the JavaScript is executed in the render process. If evaluateJavaScriptSync() is called before the mentioned channel is created, the JavaScriptExecuteRequest mojo message might not be sent because the wait would block the thread. Change-Id: Ic5bb5a6fde02717cec49dcf9e458f2eaac09eacf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix macOS build after 10.15.4Peter Varga2020-04-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMAKE_MAC_SDK_VERSION is set by /usr/bin/xcrun --sdk macosx --show-sdk-version in qtbase/mkpecs/features/mac/sdk.prf From 10.15.4, xcrun outputs the SDK version in Major.Minor.Patch format instead of Major.Minor. mac_sdk_min gn arg is expected to be in Major.Minor format, therefor pass only the first 2 revision numbers to gn. Fixes: QTBUG-83318 Change-Id: I3af523dd5df8149fb5cd57b259c2bed889db88b5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Test qquickwebengineview: remove unneeded blacklistingKirill Burtsev2020-04-091-3/+0
| | | | | | | | | | | | | | | | As the dependency 6420ad91d3 in declarative for the only present focusChild is integrated and test doesn't fail according to grafana. Change-Id: I0d8fbb966548687d3fb92ec123726f110f18d8d5 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix crash on fence create after failure to make context currentKirill Burtsev2020-04-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | GLFence::Create requires valid current gl context, which is not the case if InProcCommandBuffer::MakeCurrent fails: driver and api structures will be null after context loss (for examples on os resume with desktop gl), that triggers access violation. Fixes: QTBUG-82656 Change-Id: If46a252147d1d3a0be7d2b19f7bbc36ac1dd338a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Update documented chromium versionAllan Sandfeld Jensen2020-04-091-1/+1
| | | | | | | | | | | | Fixes: QTBUG-82763 Change-Id: Idf5cd91ec520aabe2b42b31ed0d2b32fcaec0272 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Mark cleanup for ImageTransportFactoryMichal Klocek2020-04-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | On viz cleanup we should not try to use viz process transport factory, use the same code path as compositor would have been already destroyed. Task-number: QTBUG-83040 Task-number: QTBUG-79864 Change-Id: I0f91b99cd5545d65500c3733ae097893d53b1cab Reviewed-by: Tamas Zakor <ztamas@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Use SetBaseBackgroundColorOverride for setting background colorJüri Valdmann2020-04-092-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | The normal WebViewImpl::SetBaseBackgroundColor expects to be called only during certain lifecycle states, otherwise a DCHECK will be triggered. Whereas the *Override version forces a lifecycle update. Needs 3rdparty change to stop RenderWidgetHostViewBase::SetBaseBackgroundColor from clearing the override color when switching between opaque and transparent colors though. Change-Id: If4c1e22886d7ebc7d87ca880dd9c6a659855a931 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix DisplaySoftwareOutputSurface swap with transparent backgroundJüri Valdmann2020-04-091-1/+3
| | | | | | | | | | | | | | | | | | Change QPainter's compositing mode from the default SourceOver (alpha-blending) to Source (copy). Fixes: QTBUG-81250 Change-Id: I670772b77cdd89ec42de96808608693ad50f726a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumJüri Valdmann2020-04-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: * c81ff02d Fix ozone builds of ANGLE * 6c9c6c8b Fix skia crash on Windows after 77-merge * 10f68b30 Fix viz crash when cleanup * b25b21fa Stop sending ViewMsg_SetBackgroundOpaque to renderer Change-Id: I14059823b1ae1510f86c3850e1654a224df01684 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Enable most qmltests without testsupportAllan Sandfeld Jensen2020-04-0757-67/+313
| | | | | | | | | | | | | | | | | | Move the qmltests that require testsupport to qmltests2, this enables us to run most of the tests on CI configurations that isn't developer- builds. Change-Id: Ie0ba060632b36cbd738d6ede512a6a5f35880ae3 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix hardware accelerated video decodingAllan Sandfeld Jensen2020-04-071-0/+32
| | | | | | | | | | | | | | Copy initialization from gpu_main.cc to our setup. Change-Id: I8b32df76783da7783f033c3e15dd3b20b48152a8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Adaptations for Chromium 80Allan Sandfeld Jensen2020-04-0764-378/+427
| | | | | | | | | | Change-Id: Icaf68648cbc2c13a61fc3b208ff1e64ca36c90b6 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix crash in ProxyingURLLoaderFactoryQtAllan Sandfeld Jensen2020-04-073-21/+32
| | | | | | | | | | | | | | | | | | We need to be on the UI thread to walk the frame-node tree. Task-number: QTBUG-82999 Change-Id: I8011a29e91d6af92da341cbdd01fc9403c587e23 Reviewed-by: Tamas Zakor <ztamas@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix CSS backdrop-filterPeter Varga2020-04-031-1/+1
| | | | | | | | | | | | Task-number: QTBUG-82842 Change-Id: I79394cf726d9c5d16881fa8c07b43d28fa43e026 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>