summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* FIXUP: Fix building on macOS after 77 mergev5.14.0-beta2Peter Varga2019-10-081-3/+3
| | | | | | | Yet another speculative workaround for MacOSX SDK version check. Change-Id: I4112fd87825d823579ca0041bdb5fc36f0a0b8c0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: Fix building with gcc 5Peter Varga2019-10-071-0/+1
| | | | | | | Fix MSVC build after gcc 5 build fix. Change-Id: I4fb7d2b8a4da9f2557471c6128fdff1132eb8b7f Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fixes for building with MSVC post 77-mergeAllan Jensen2019-10-0751-127/+162
| | | | | Change-Id: I3489452c9d7e61243fb60b877d289293b1850ebe Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building with gcc 6/7 after 77 mergeAllan Sandfeld Jensen2019-10-0717-51/+63
| | | | | Change-Id: Id8b9212be6568deabf44368be789c2864a6eda81 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix skia crash on Windows after 77-mergeTamas Zakor2019-10-041-4/+4
| | | | | | | | | This patch causes a crash on Windows: https://skia-review.googlesource.com/c/skia/+/166840 Change-Id: Icccf5c32f2ec8e93737d18b8e5a84d1aa9b11549 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building on macOS after 77 mergePeter Varga2019-10-043-4/+22
| | | | | Change-Id: I09006e7ddf8852c3955b90b504706c0e77f8d126 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fixups post 77-mergeAllan Sandfeld Jensen2019-10-0210-15/+16
| | | | | Change-Id: I5f59c43bf26109d8148fc8347008b4d05cd1508b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* FIXUP: Fix building with gcc 5Allan Sandfeld Jensen2019-10-0218-55/+81
| | | | | | | Aka: The trouble with tuples. Change-Id: I8b6ac715f416b2adddc134c6b601f9c42e83489c Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix initialization of SpellCheckService on macOSPeter Varga2019-10-021-2/+2
| | | | | | | This is required after https://chromium-review.googlesource.com/c/chromium/src/+/1637639 Change-Id: I676d519a03b6ea9dbbde929c0647b317e4f1d02b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Reintroduce non-NetworkService code for shared workersAllan Sandfeld Jensen2019-10-0220-150/+428
| | | | | | | | | | | | | | The code was removed because it was unused by Android Webview, but we still need it. Reverts: Worker: Remove non-NetworkService code for shared workers in content/renderer/worker/ Worker: Remove non-NetworkService code for shared workers in content/browser/worker_host/ Worker: Remove non-NetworkService code from WorkerScriptLoaderFactory And fixes the code up to deal with conflicting later changes. Change-Id: Ib7307e0e10c78127f138162f37e796deb1efef65 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Support qrc protocol in UrlPatternSzabolcs David2019-10-024-0/+7
| | | | | | | | | We use UrlPattern to parse @match rules from the metadata headers of user scripts. Task-number: QTBUG-76173 Change-Id: Ibd1b73508e3229bcc5babe26e0048da069da6dec Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix pressure of tablet eventsSzabolcs David2019-10-021-1/+6
| | | | | | | | | | | | | | | | Incoming tablet events are forwarded as mouse events to Chromium, because its pointer event unification is still WIP. The following change introduced a behavior which sets the pressure property to 0 when no button is pressed: https://chromium-review.googlesource.com/c/chromium/src/+/626039/ This is acceptable for mouse events, but breaks our tablet support. Revert this until Chromium has a proper API and support of tablet events. Change-Id: Ieeffd22fc9337df342367826e39286352c6ba43b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] Fix layout of the Space class for members accessed via an offsetTamas Zakor2019-10-022-9/+0
| | | | | | | | | Bug: v8:9118 Change-Id: Ia628d34921234b0f6a59e60378198281bcd5617b Commit-Queue: Bill Ticehurst <billti@microsoft.com> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#62923} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] [csa] Fix for debug build in MSVCTamas Zakor2019-10-021-2/+4
| | | | | | | | | | | | | | The preprocessor of MSVC works differently for empty __VA_ARGS__. Another hack is needed to make this compile in both MSVC and clang. R=tebbi@chromium.org Bug: v8:9555 Change-Id: Id14a7c0f6c7b0ffaf022a34ece486cc164bd9b0d Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#62952} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix use of deprecated method for scanning wifi networksMichael Brüning2019-09-301-8/+3
| | | | | | | | | | | scanForNetworksWithParameters has ben removed in the sdk that ships with XCode 11. Replace its use with scanForNetworksWithName. The results should be the same. Change-Id: Ifaeb6b380d02364133280b44644ae8ca1e51119a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* FIXUP: Qt GN integrationAllan Sandfeld Jensen2019-09-301-5/+4
| | | | | | | Fix build with extensions disabled Change-Id: Ifb38a090f3c5d01f1fab72d0fff8d5fbd82cb70b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* FIXUP: Fix clang and embedded gcc buildsAllan Sandfeld Jensen2019-09-301-0/+2
| | | | | | | Fix another unnecessary dependency on libatomic Change-Id: Ied50bc114c88c7d56d6956b72d7d209dcf57dd44 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Revert "Fix building bundled zlib on non-clang"Allan Sandfeld Jensen2019-09-301-1/+1
| | | | | | | | | No longer needed and conflicts with upstream fix. This reverts commit ef093e8ed3020246522af4c3136dd249cc83b66d. Change-Id: Ia25db26b3c5702e87fd08c077ae49dd34526ffc1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* [Revert] Delete more extensions code that still depends on URLRequestAllan Sandfeld Jensen2019-09-3031-149/+606
| | | | | | | | | | | | | | | | | | | QtWebEngine: We still need it Now that network service is launched, this is no longer needed. Modified a few of the unittests to work with the other WebRequestInfo constructor. Bug: 934009 Change-Id: Ie291f23de31b0059902c541c4d2b97475403ee90 Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Reviewed-by: Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#669038} Change-Id: Id4b8995f2c84d16dfc7c304722fec27491fc4b50 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* [Revert] Delete unused ExtensionProtocolHandler since network service is ↵Allan Sandfeld Jensen2019-09-308-4/+900
| | | | | | | | | | | | | | | | | | | launched QtWebEngine: We still use it. Network service is on by default on all platforms that support extensions, so ExtensionProtocolHandler is no longer needed since it is only used in the non-network service path. Bug: 934009 Change-Id: Id9021b5319677cd98a35343fdfa40761f989b678 Reviewed-by: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Reviewed-by: Junbo Ke <juke@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#668969} Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* [Revert] Remove the streams code as it's no longer used.Allan Sandfeld Jensen2019-09-3065-37/+3189
| | | | | | | We still use it. Change-Id: I8e31f3263a679e263e905b6225b5eb7771cc5c94 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* FIXUP: Pass Qt Prefix path to the macOS V2 Seatbelt SandboxAllan Sandfeld Jensen2019-09-301-3/+4
| | | | | Change-Id: I314c5d9cb95950732a2b6473f19680c330b99954 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* FIXUP: Bring enable_webrtc backAllan Sandfeld Jensen2019-09-2711-25/+22
| | | | | | | Was missing fixes for building with with enable_webrtc disabled Change-Id: Ib2c8a62dabd998179204d8ef67bd7b0cfb30b917 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* FIXUP: Allow Service Workers without HTTP headers (again)Peter Varga2019-09-261-1/+1
| | | | | | Task-number: QTBUG-56169 Change-Id: I42e6c9b7471dcef0e69e46d3844e618cfb03d0e9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix building with pulseaudio 13Allan Sandfeld Jensen2019-09-262-8/+19
| | | | | | | | The function signature changed though the ABI stayed the same. Change-Id: I86ca361b5e4f0c523e1031910df438c23beee876 Fixes: QTBUG-77037 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Adapt ProtocolHandlerRegistry for WebEngineJüri Valdmann2019-09-263-3/+33
| | | | | | | | 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 crash in blink::CSSSegmentedFontFace::GetFontDataJüri Valdmann2019-09-262-2/+8
| | | | | | | | | | | | | | | | | | | | | | Chromium assumes that it's safe to zero-initialize an std::string. It's not though, at least not with libstdc++. That is why the std::string inside FontFaceCreationParams inside FontCacheKey inside the WTF::HashMap inside CSSSegmentedFontFace can cause a crash. Fix by changing FontCacheKeyTraits to have kEmptyValueIsZero = false. This way WTF::HashMap will actually call constructors to construct keys. The fix reveals another crash in blink::CSSFontFaceSource::GetFontData due to a similar issue. There a WTF::LinkedHashSet is used with FontCacheKey. The change to FontCacheKeyTraits should prevent this crash, but it turns out that WTF::LinkedHashSet itself is buggy because it completely ignores kEmptyValueIsZero and zeros the key anyway. Fix by changing LinkedHashSetTraits to take into account the kEmptyValueIsZero of the LinkedHashSet's value type traits. Change-Id: I7947399a98f2abd45c10ade664db76bf7d210c5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge "Merge remote-tracking branch 'origin/upstream-master' into 77-based" ↵The Qt Project2019-09-25245-2154/+4876
|\ | | | | | | into 77-based
| * Merge remote-tracking branch 'origin/upstream-master' into 77-basedAllan Sandfeld Jensen2019-09-24245-2154/+4876
| |\ | | | | | | | | | | | | | | | | | | Conflicts: chromium/content/browser/BUILD.gn Change-Id: I62e6d958419f15ac19318878408be2b46d923490
| | * BASELINE: Update Chromium to 77.0.3865.98Allan Sandfeld Jensen2019-09-24245-2155/+4876
| | | | | | | | | | | | | | | Change-Id: Ice85979eb8b64af9a3c649d719bec6ea14ac3bf7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Don't use harfbuzz-subsetAllan Sandfeld Jensen2019-09-251-1/+1
|/ / | | | | | | | | | | | | | | It is a separate dependency, and it isn't used without an experimental flag anyway. Change-Id: I98d8fb41f25b50e5ae6188cb2a2c69be04ccd5f9 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Silence most warningsJüri Valdmann2019-09-239-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add -Wno-return-type (6949 warnings) and -Wno-deprecated-copy (306 warnings) to cflags_cc for GCC. Guard #pragma clang with #ifdef __clang__. Revert some now-unnecessary fixes. Tested with GCC 9.1. Change-Id: I34b63f50201da5e4cdbce88f354836ba753ab85e Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix building with GCC after 77 mergePeter Varga2019-09-121-0/+1
| | | | | | | | | | Change-Id: Ia676df6f4753501e8071994a7112e5f35fb6189d Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | FIXUP: Support non-base::Thread GPU threadJüri Valdmann2019-09-111-0/+1
| | | | | | | | | | | | | | | | The feature kGpuUseDisplayThreadPriority has been moved to gpu/config/gpu_finch_features.h. Add missing include. Change-Id: I1b3399c9a049aa6a36b417ca6bda4802d41498e1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix crossbuilds of v8 snapshotsAllan Sandfeld Jensen2019-09-051-0/+1
| | | | | | | | | | | | | | | | ConvertReturn is called from derived classes and needs be protected instead of private. Change-Id: Ida09210ef54cdd4666284e89bfa2fed1247b8218 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Do not bundle the tracing UI resourcesAllan Sandfeld Jensen2019-09-045-3/+34
| | | | | | | | | | | | | | | | We do not support loading the chrome://tracing WebUI and therefore we shouldn't bundle those resources in our library. Change-Id: If3aa4c676b22a55e772f19487e21b4cd48babe65 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Use ui::Compositor (3rdparty)Jüri Valdmann2019-09-047-8/+41
| | | | | | | | | | | | | | Task-number: QTBUG-71885 Change-Id: I441bd742f3ba6d16bfe58d88574b628d3561ecda Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Enable android-specific fields of RenderFrameMetadataJüri Valdmann2019-09-046-14/+14
| | | | | | | | | | | | | | | | Needed for root_layer_size. Task-number: QTBUG-71885 Change-Id: I1d820c98c103ed5987dcf4d7b7aaea254894df2d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix iterating when erasing last element from task queueTamas Zakor2019-09-041-1/+5
| | | | | | | | | | | | | | | | | | | | This patch fixes the iterator debugger assert on Windows. This bug is introduced by: https://chromium-review.googlesource.com/c/chromium/src/+/1369780 Change-Id: I9a77dac13d226e09d32b08e394ac1a441672668b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Support ubsan and asan on GCCAllan Sandfeld Jensen2019-09-042-4/+21
| | | | | | | | | | Change-Id: If073a1a427eaa0761796806f64e0767b5370f658 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Remove linking with libatomicMichal Klocek2019-09-042-2/+2
| | | | | | | | | | | | | | | | Rhel machines on ci do not have it. Change-Id: I4cbb6d9d0826a23f8065a9eebba7ba27856e44d4 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Work-around MSVC bug with base::Optional<LayoutUnit>Allan Sandfeld Jensen2019-09-044-3/+8
| | | | | | | | | | | | | | For some reason it can't be passed by copy. Change-Id: I76707f447c98bc4be8e6dfe0cd2c29f04e0b56fe Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fixup of Windows build post 75-mergeAllan Sandfeld Jensen2019-09-046-4/+16
| | | | | | | | | | Change-Id: I81b6d3dba53e9e58632107bdeda33c0c996506de Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Add mojom for renderer_configurationAllan Sandfeld Jensen2019-09-042-0/+78
| | | | | | | | | | Change-Id: I3e7b09d39dcfbf13b603bc64f4e21fdcf685f27d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Allow non-Chrome projects to runAllan Sandfeld Jensen2019-09-041-2/+2
| | | | | | | | | | Change-Id: Iddb00ae4d7362da4b90b7f185acb6914c1b4ff4b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix changing should_override_user_agent_in_new_tabs_Allan Sandfeld Jensen2019-09-041-2/+2
| | | | | | | | | | | | | | It wouldn't be updated if the custom user-agent didn't change. Change-Id: Ic31ef485e2cb84903f9b48cb9ad5f9f1a723eb92 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | [Revert] Remove base::internal::PassingTraitsAllan Sandfeld Jensen2019-09-043-5/+19
| | | | | | | | | | | | | | | | | | | | This simplification doesn't work on MSVC due to some MSVC bug, so stick with the old version for now. Reverting https://chromium-review.googlesource.com/1118061 Change-Id: I3dff6075f9cc37dcc39c26b4f24de0501c8a362f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix build issues after 75-mergeAllan Sandfeld Jensen2019-09-043-1/+5
| | | | | | | | | | Change-Id: I8bb0b269e7a5c793b1fc5a1d9aa260d5e09cd36e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix perfetto on MSVCAllan Sandfeld Jensen2019-09-043-10/+60
| | | | | | | | | | Change-Id: I9bad374117fceafdaa07326ad4468cda06184248 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Add net::URLRequest::first_party_url()Tamas Zakor2019-09-048-0/+55
| | | | | | | | | | | | | | | | | | Returns the top level frame URL. Used instead of site_for_cookies() in case of cross-origin iframe navigations. Task-number: QTBUG-70790 Change-Id: Icec4beddd70b20120d53e17a35385d83d1276ac2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>