summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reinstate skipping content/browser for jumbo-buildsv5.12.0-rc1Allan Sandfeld Jensen2018-11-191-1/+2
| | | | | | | | | | We are hitting OOM crashes on the CIs again. Task-number: QTBUG-71870 Change-Id: Ief97b83b26091136acf4988e555b331191ce8271 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 24d883d703d3599d6818b6b371ae06dd4ca6f734) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-11-142-1/+1
| | | | | | | | | | | | | | | | | Includes one security fix from Chrome 70.0.3538.102 Changes: ce79ab59a09c [Backport] Skip deleted object files in POSIX base::debug::StackTrace 573ac8f40079 Disable some DCHECKs to fix printing 9ca99cf7418b Cherry-pick certain macOS V2 sandbox rules into the V1 sandbox rules ba7a77a4fbd5 Stop orphan child processes from staying alive on Windows c04d5ad155f0 Do not make tools for webkit layout tests 071af956fdf4 Make sure we do not use png for host build c2aeb1c6d21c [Backport] Fix for CVE-2018-17478 91432e048e9b Fix assert in V8 mksnapshot when building on macOS Change-Id: I80fce63a87cc15d0bfe26f8b98dcfe5bca05c0e7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add missing refactoring for glxGetProcAddressMichal Klocek2018-11-131-14/+4
| | | | | | | | | | Commit 9ad3c7aa fixed regression, however refactoring which took place 9397251b is missing. Task-number: QTBUG-70696 Task-number: QTBUG-71742 Change-Id: I4ff3f5fbbd14996478299f51a3d766d2fa1a7017 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix opened webviews closing when opener closesAllan Sandfeld Jensen2018-11-082-14/+10
| | | | | | | | | We apparently can't not rely on getting a QEvent::ParentAboutToChange event before every QEvent::ParentChange event. Change-Id: Ie55b51f8c75623bc4f1a943367fb0070078df55b Fixes: QTBUG-71565 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Update documented chromium versionAllan Sandfeld Jensen2018-11-061-1/+1
| | | | | | Change-Id: I8d6051b5ddd9d68c8a6d7488460439399f707c49 Fixes: QTBUG-70024 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add changes file for Qt 5.12.0Antti Kokko2018-11-061-0/+84
| | | | | | Change-Id: I2183c58732b168acccfcddd195cb93cd50090414 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix smooth-scrolling of mouse wheelsv5.12.0-beta4Allan Sandfeld Jensen2018-11-021-1/+9
| | | | | | | | | Turns out has_precise_scrolling_deltas, doesn't mean what its name says, but instead is a macOS'ism indicating a system scroll gesture. Fixes: QTBUG-71378 Change-Id: I124ba8f64495671e8a8ad7a9c397fb506d7fedf9 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix quicknanobrowser crash on startupJüri Valdmann2018-11-021-4/+5
| | | | | | | | Don't call SynchronizeVisualProperties from updatePaintNode Fixes: QTBUG-71430 Change-Id: I6bd231b22c0473f9fd47ca3cdbcb8262f314bd5b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix quicknanobrowser crash on exitJüri Valdmann2018-11-021-4/+8
| | | | | | Fixes: QTBUG-71513 Change-Id: If3dfa048cfce57a1f10fa7bde3e7892e00fc8fa9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add missing fallback for glxGetProcAddressMichal Klocek2018-11-021-1/+18
| | | | | | | | | This fallback was added in 5.11, however fell out somehow during ozone change. Fixes: QTBUG-70696 Change-Id: I68d12842e2283a25db64035e57d5a19323b4e6c0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update ChromiumMichael Brüning2018-11-021-0/+0
| | | | | | | | Includes build fix for MSVC which blocks 5.12 and 5.12.0 integrations. Change-Id: Iaef3942f8fc5cef1c3e14834bd73b056861d4e8d Fixes: QTBUG-71521 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12.0Allan Sandfeld Jensen2018-11-011-1/+2
|\ | | | | | | Change-Id: Id54a452d04438147e541ff9978c59db27269f694
| * Fix thirdParty setting for first party requestAllan Sandfeld Jensen2018-10-301-1/+2
| | | | | | | | | | | | | | | | | | Some first party requests has no site_for_cookies yet, and thus returns an empty string. The logic matches that of StaticCookiePolicy. Change-Id: I10caf978dc410639cd21fc2aa01eb2bf6dc67c1f Fixes: QTBUG-71393 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2018-10-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: d17576d3e8 [Backport] Fix for security issue 888678 c6e9629156 [Backport] Fix for security issue 875494 3eeb84af35 [Backport] Second fix for CVE-2018-12371 6d63f10a16 [Backport] Fix for security issue 874433 1c382237bc [Backport] Fix for security issue 880023 (1/2) e6c8000fcf [Backport] Fix for security issue 880023 (2/2) 4eda1a0881 FIXUP: Implement HTTPS state Task-number: QTBUG-71203 Change-Id: Ic46a71614eea9f281abe956c38ce71259b8cafab Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix typo in error message of maps examplePeter Varga2018-10-311-1/+1
| | | | | | | | | | Change-Id: Icd89aea969921ee2a5e6949a4f045ae7439dd618 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix background of composition textPeter Varga2018-10-301-4/+3
| | | | | | | | | | | | | | | | | | | | The Chromium API has been changed: https://chromium-review.googlesource.com/c/chromium/src/+/959006/ Task-number: QTBUG-70289 Task-number: QTBUG-71453 Change-Id: Ib20a82bd826d8067aa3eb3bccccda7d8716e20ad Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2018-10-301-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 466052c4e7c0 BASELINE: Update Chromium to 69.0.3497.128 f45cda20b1e1 Merge remote-tracking branch 'origin/upstream-master' into 69-based a5f88126f6b7 [Backport][Blink/SPv175+] Change DCHECK(chunk clip escaped layer clip) to a DLOG 48bd6a61f95c Make scroll animation less "drunk" c980bd518441 [Backport] Fix for CVE-2018-17476 198aa4c82d53 [Backport] Fix for CVE-2018-5179 24e56256fed1 Fix selection paste on Linux Task-number: QTBUG-71203 Change-Id: I88e8cc250be7c4addc874df13bcf3a3ad193812c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Doc: Remove obsolete dependency to qtquickcontrols2Topi Reinio2018-10-301-1/+0
| | | | | | | | | | | | | | | | | | | | The documentation module for Qt Quick Controls 2 is now named simply 'qtquickcontrols'. Remove the obsolete dependency, and leave out the dependency to the (now deprecated) Qt Quick Controls 1 docs. Task-number: QTBUG-70333 Change-Id: Iac3ffbbf72c216c815f2434af991dfb6fa7f7b84 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* | Fix build with disabled accessibilityPeter Varga2018-10-302-7/+15
| | | | | | | | | | Change-Id: Icdf58c228fc2511508c997e733d881d53709dd21 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12.0Michael Brüning2018-10-301-1/+26
|\| | | | | | | Change-Id: I319ea175f9d95a3ffea9cc3140696976348a5238
| * Trigger disabling offline renderers on late 2013 Mac ProsMichael Brüning2018-10-231-1/+26
| | | | | | | | | | | | | | | | | | | | | | This reads the hw.model string through sysctlbyname and sets the environment variable QT_MAC_PRO_WEBENGINE_WORKAROUND to tell the Cocoa platform plugin to not enable offline renderers upon creation of the platform OpenGL context. Task-number: QTBUG-70062 Change-Id: I986d9d76a80f96a215f3fcd08b3d47e546682e35 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Blacklist failing tst_QQuickWebEngineView tests in openSUSE 15.0Tony Sarajärvi2018-10-291-0/+4
| | | | | | | | | | | | Task-number: QTBUG-71461 Change-Id: I837cf81c1685ad210a17a8d548c4f6e439e181d6 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Keep visibility of WebContents when restoring historyPeter Varga2018-10-291-0/+2
| | | | | | | | | | | | | | | | | | For restoring history a new WebContents is needed to be created. Make it visible if the old WebContents was. Task-number: QTBUG-71400 Change-Id: Ica10545e11413eb4da553f4976f9bf0c20125846 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Stop showing speculative framesJüri Valdmann2018-10-2921-155/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium creates "speculative" frames (RenderFrameHost and company) for pending cross-process navigations (and maybe other navigations too). For example, a redirect from http://qt.io to https://qt.io will trigger this, as described in the bug report. These speculative frames are loading in the background and only shown once they are officially ready (as decided by the RenderFrameHostManager and signaled to WebContentsObserver::RenderViewHostChanged). At least, this is how it's supposed to work and how it works in Chrome. In WebEngine, however, we actually show these speculative frames as soon as they are created and before they are ready. This runs into the problem that the if the speculative frame is dropped (instead of committed), then Chromium will not ask us to re-show the old frame (since it hasn't actually asked to us to show the new frame, it naturally assumes we are still showing the old one). Fixes: QTBUG-68727 Change-Id: I9d53035ce60e3a002d5412d4473d940a32644b5d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Bumb jumbo buildsAllan Sandfeld Jensen2018-10-281-2/+1
| | | | | | | | | | | | | | | | With content/browser and content/browser limited in GN, we can drop disabling them here and try increasing the jumbo-width a little. Change-Id: I0f84e44881c8a71ee57a4bba2230c5f110595616 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2018-10-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 10e146a7ff Silence most of the GCC warnings 60a2f0b294 Fix crash on exit 0286bb49ed Fix wake-lock with ozone 45c95ab284 [Backport] Fix for CVE-2018-17462 b0cdfa2d9f [Backport] Fix for CVE-2018-17463 fae700f087 [Backport] Update LCMS d30b56c22d [Backport] Fix for CVE-2018-17466 50221801bd [Backport] Fix for CVE-2018-17467 329c1780d9 [Backport] Fix for CVE-2018-17468 7a3ca41e45 [Backport] Fix for CVE-2018-17469 ddd00566a5 [Backport] Fix for CVE-2018-17470 e7b84680c6 [Backport] Fix for CVE-2018-17471 e6a46f1a01 [Backport] Fix for CVE-2018-17473 bf8e8093a5 [Backport] Fix for CVE-2018-17474 100d756a6d Fix Chromium build without x11 Task-number: QTBUG-71203 Change-Id: I9241612859badb4e58e00d09014e291291ca54a5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Unify updating navigation actionsSzabolcs David2018-10-237-18/+28
| | | | | | | | | | | | | | | | | | | | On the Quick side, navigation actions were dependent on the context menu. They were only updated when requesting a new context menu and this is obviously wrong if an action is tied to a button or another type of UI element. Change-Id: I5f14b019b66215f16d027fb57d76f052b1604365 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Clean-up BrowserMainPartsQtAllan Sandfeld Jensen2018-10-234-182/+315
| | | | | | | | | | | | | | Move to a separate file and cleanup the code. Change-Id: I33d9536c7e40315b6bf271e33bdc3f838ab4b671 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix size of tab view when devtools are openAllan Sandfeld Jensen2018-10-231-2/+5
| | | | | | | | | | | | | | | | The tabs view still trying to fill the entire view even when the bottom was taken by the devtools view. Change-Id: Ia1c4fc7aa9648bf19d5f79dd7ac95ec611318105 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Remove some outdated Qt version checksAllan Sandfeld Jensen2018-10-236-72/+0
| | | | | | | | | | | | | | | | We can't not build with older than Qt 5.9 anyway due to QSG and qmake changes. Change-Id: Iff0247e70d9ffc1e045e2c571f0089d68df9a589 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix four switch related warningsAllan Sandfeld Jensen2018-10-232-3/+7
| | | | | | | | | | Change-Id: If4888c1b170568735953ac715c4a7c40de614dd8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Add extra config check for x11 ozone pluginMichal Klocek2018-10-232-1/+10
| | | | | | | | | | | | | | | | In case of cross compilation for targets with x11, check also for dependencies. Change-Id: I32df962a61e5a13ee1290ab2c256f0f222dafbd3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix builds against Qt 5.11Allan Sandfeld Jensen2018-10-231-0/+2
| | | | | | | | | | Change-Id: I1e1d36c656e465ca718985896aca96b27754aa84 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Test world-ids over 11Allan Sandfeld Jensen2018-10-231-3/+14
| | | | | | | | | | | | | | Add a test that we can have larger world ids. Change-Id: Ibc8a0eb5e6f56aa41183adb3726b2c3141197c84 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Allow client certificates without opensslAllan Sandfeld Jensen2018-10-238-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | We don't use OpenSSL, but only depended on it because QtNetwork didn't define QSslCertificate without an SSL backend. I changed that in QtNetwork 5.12, so we only rely on a QtNetwork SSL backend with older Qt versions. Task-number: QTBUG-54877 Change-Id: I16f3077235f5c48610597868608ef2e5ca2efa99 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.11' into 5.12" into ↵Allan Sandfeld Jensen2018-10-2219-7/+417
|\ \ | | | | | | | | | refs/staging/5.12
| * | Merge remote-tracking branch 'origin/5.11' into 5.12Allan Sandfeld Jensen2018-10-2219-7/+417
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.json src/3rdparty src/core/content_browser_client_qt.cpp src/core/content_browser_client_qt.h src/core/login_delegate_qt.cpp src/core/login_delegate_qt.h src/core/net/url_request_context_getter_qt.cpp src/core/net/url_request_context_getter_qt.h src/core/qtwebengine.gni 3rdparty changes: 616a7f558c7e This is expected for us, so don't report it as an error. c30febceaa1b Do not write <protocol>.json to source directory 9e68e4f2d92c Remove incomplete logic to detect AMD K2 CPU's e0ed41c8e90a FIXUP: This is expected for us, so don't report it as an error. f9fd9109b4b7 Fix --single-process --disable-gpu combination not to hit asserts f305d65cc27e Reduce severity level of messages when kDisableGpu switch is used 5e3e5074bb78 Work around MSVC2017 optimizer bug when printing a page usind Pdfium 34f52ec3bae8 Bump maximum number of custom isolated world ids f7a2f8153c82 Fix hunspell::NodeReader::affix_id_for_leaf bounds check 1e80090f7044 Fix resolve_proxy service permissions 2e498629651d Add proxy_resolver_manifest Change-Id: I2b176c80aa315a0ae0a22b5707694fdcd407407b
| | * Adds proxy pac testMichal Klocek2018-10-186-0/+257
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-71128 Task-number: QTBUG-69281 Task-number: QTBUG-71229 Change-Id: If6b839ce12efb3ccd69c270d99b10b3756014bb2 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Add proxy resolver serviceMichal Klocek2018-10-189-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds proxy resolver service as a part of content utility process and pulls in the corresponding change in Chromium. Fixes: QTBUG-69281 Change-Id: Icb2b67e1e506a5b511531322a8c13d7df0e11f9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Fix race condition in ResourceDispatcherHostLoginDelegateQtMichal Klocek2018-10-182-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Do no access m_request from ui thread. The auth request can get cancelled, this can happen for example when a new navigation interrupts the current one. Fixes: QTBUG-71128 Change-Id: I140b1a164294342bad13a76342c1f642ba0960c8 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Add content_browser manifest handlingMichal Klocek2018-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-69281 Change-Id: If48d1a7ad723b18d4577d675b11c0cdc5e22f758 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Fix configure check for freetype versionKai Koehne2018-10-121-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately the versions reported by system freetype packages with pkg-config are not always consistent with the actual freetype version. Instead, we now use a compile time check, similar to what the corresponding check for qtgui does. Change-Id: I3316f5dfe423ffead5fd9cfec1542407c2b21bd8 Fixes: QTBUG-71033 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Update ChromiumMichael Brüning2018-10-081-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Pull in fix for build failure on macOS with 10.14 Fixes: QTBUG-70981 Change-Id: Ie302e3b7f21edfe4390248c4953dbcce6525715a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * Do not bind resolve proxy factory on ui threadMichal Klocek2018-09-282-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Pass interface to io thread and bind there. Task-number: QTBUG-69281 Change-Id: Ia8630cb7ff216cecaec5274a0b3da3ef0881fcea Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Cleanup web_contents_view_qt.hAllan Sandfeld Jensen2018-10-2111-14/+26
| | | | | | | | | | | | | | | | | | | | | It had too many headers, and many files depending on its over inclusion. Change-Id: I5add1c4e07a14e017ac60db75efab5fc11e4166f Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | | Clean up header includes in corev5.12.0-beta3Peter Varga2018-10-204-22/+10
|/ / | | | | | | | | Change-Id: I3ffc92eacf30265ecb80061870d213e521e4f838 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Do not import README.chromium files without license / source codeKai Koehne2018-10-181-2/+5
| | | | | | | | | | | | Task-number: QTBUG-69365 Change-Id: Ifa11a5fa1fa9be89699497650158536c3271e265 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix build for Boot2QtMichael Brüning2018-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | A change in Chromium 69 pulled a mojom header into the public content browser API without, assuming the dependencies would always be fulfilled via building the extension system. Add the dependency explicitly to fix this. Change-Id: I005aa0970c7ecdbdce90d8c1db78c38f2274d324 Fixes: QTBUG-70914 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Allow XMLHttpRequests from qrc to fileJüri Valdmann2018-10-185-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test for cross origin XMLHttpRequests from/to custom schemes. By default, this is not allowed, but can be changed by adding an origin access whitelist entry to blink::WebSecurityPolicy in the renderer. Do this for the qrc scheme. As a result SecurityOrigin("qrc").CanRequest("file") will return true, which makes DocumentThreadableLoader::Start disable CORS for the request. Otherwise, CORS would be used, which only works with CORS enabled schemes. Fixes: QTBUG-70228 Change-Id: I2da60fddbbfb490c6d2f03329be286dbc28e1f12 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Avoid chromium assert in desktop capture testsPeter Varga2018-10-171-0/+20
| | | | | | | | | | | | | | | | | | The page need to be visible to use desktop capture. Task-number: QTBUG-71005 Change-Id: Icf19b68fb9132e528d206ac45245121beb31a1ac Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>