summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Chromiumv5.11.0-rc2v5.11.0Allan Sandfeld Jensen2018-05-082-2/+3
| | | | | | | | | | | | | | Pulling in security fixes from Chrome 66.0.3359.139 Changes: a816f8401c Update the ICU shim headers a329fc0080 [Backport] [MemCache] Fix bug while iterating LRU list in range doom 492afe7432 [Backport] Merged: [keys] Don't keep chain of OrderedHashSets in KeyAccumulator 1785e2c1eb [Backport] Merged: [wasm] Call AsyncInstantiate directly when instantiating a module object Task-number: QTBUG-67800 Change-Id: Id84a3e58f5eb4fc7b8e73f57c8edb8f0574e6547 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update changes with CVEsv5.11.0-rc1Allan Sandfeld Jensen2018-05-031-0/+6
| | | | | | | Add a list of public CVEs security patches have been cherry picked for. Change-Id: I64703fea470070e79fb1327e960b59e0f7d88437 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add reserved fields to the cookie filter requestAllan Sandfeld Jensen2018-05-012-2/+14
| | | | | | | Makes it cleaner to expand it later. Change-Id: I2ccbcf143ca676c3fb89641b40e0848b6dd4bae8 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add changes file for Qt 5.11.0Antti Kokko2018-05-011-0/+114
| | | | | | | Change-Id: I95f34b613e72c28ae1d9cfea02ccdb1d45f5c7db Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add fallback to qpa when query for glXGetProcAddressMichal Klocek2018-05-011-3/+21
| | | | | | | | Seems that with pyqt we have to fallback to qpa. Task-number: QTBUG-67898 Change-Id: I70889b4f5858f675e4692858de3dcb111c64c147 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-04-301-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Changes: e0864b6551ba Revert "For local origins CanDisplay should be treated as CanRequest" c47570975b7e [Backport] Don't sniff file URLs for HTML. a2e3b4e55ea0 [Backport] DevTools: speculative fix for crash in NetworkHandler::Disable 98a2b309e128 [Backport] Use correct Request Context when EMBED or OBJECT requests an image 09731111686c [Backport] Remove usage of SEE_MASK_FLAG_NO_UI from ui::base::win 848a0b395f95 [Backport] Merged: [wasm] Call FatalProcessOutOfMemory on OOM d7809694d8ce [Backport] Merged: [turbofan] Properly test number of descriptors. 880dbfff351d [Backport] Revert "Roll libxml to 707ad080e61014ab4a6d60dc12875e233c1f673c" 9ad7a2ac8ae1 [Backport] Roll libxml to 7a1bd7f6497ac33a9023d556f6f47a48f01deac0 5ca051ce6e17 Fix use after free in DeviceMediaToMojoAdapter 24cf628c8e4a [Backport] [turbofan] Fix dead loop exit removal. 61b62c6ef03f [Backport] Use PaintLayer pointer from PaintLayerScrollableArea as PaintLayer is destructed first. 287955ba1c32 [Backport] VP9 GoF/temporal index check. 8c7d2f8a1cd6 [Backport] Check actual text length in InlineTextBox::IsLineBreak 1f64262b5d [Backport] Track the location of IHDR in PNG 7ae5eb6188 init out-param on buffer failure Task-number: QTBUG-67800 Task-number: QTBUG-67870 Change-Id: I6b68f4dd51b214f53bb8dcc0853e1559520764ef Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Install lost hooks for geolocationAllan Sandfeld Jensen2018-04-302-0/+24
| | | | | | Task-number: QTBUG-67904 Change-Id: Ib97ca78d8a7e489534c5985237782963f7295d80 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix invalid site instance when switching browser contextsJüri Valdmann2018-04-302-3/+38
| | | | | | | | | All pages in a site instance should belong to the same browser context, an invariant which is violated by our WebContentsDelegateQt::OpenURLFromTab. Task-number: QTBUG-67900 Change-Id: I754180bb96de07448ee3058210391f7856f4caeb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-04-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Changes: 6e2354c9971e [Backport] service worker: Skip service worker for all Pepper plugins. 9908339e3989 [Backport] service worker: Disable interception when OBJECT/EMBED uses ImageLoader. 4ec3a984093e [Backport] Merged: [wasm] Avoid integer overflow on function locals check e9ec9ada1c39 [Backport] Enable <video> to see if a response from a service worker was cross-origin. c46b6312e1dd [Backport] Enable the Oilpan metadata canary in production builds. adb836fcdfcb [Backport] Oilpan: Disable prompty free for weak collection backings 3cf495268dd3 [Backport] Reland: Oilpan: Immediatelly promptly free objects. ba51ea1c97e3 [Backport] If a page calls |window.focus()|, kick it out of fullscreen. 744262b7512d [Backport] service worker: Disallow opaque responses for WebVTT. 0dcab5a6bd94 [Backport] DevTools: check Host header for being IP or localhost when connecting over RDP. 0558fd6946db [Backport] Fix MediaObserver notifications in MediaStreamManager. cbe8bec08847 [Backport] Map U+0454 (є) to 'e' (small E) e818a3dc9a83 [Backport] Add more entries to the confusability mapping 16c374f9f30c [Backport] Add a few more entries to the confusables list for IDN 43bff7cb2280 [Backport] [M66 branch] Add more to confusables list 75434e5f622e [Backport] Fix bug in async generators. Task-number: QTBUG-67800 Change-Id: I3728c42d8a7492b76748e2dfc9fa056852b1562c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Merge 5.11 into 5.11.0Oswald Buddenhagen2018-04-206-34/+49
|\ | | | | | | Change-Id: Ide3f60771813db37aac87fc7b7a8aae66d4fe1e0
| * Update ChromiumAllan Sandfeld Jensen2018-04-191-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 3c5150686978 Remove NOTREACHED in ScreenWin::GetNativeWindowFromHWND c3a7eab76f70 [Backport] Blockfile cache: fix sparse + evict reentrancy problem, take 2. cdae16717515 [Backport] [MemCache] Fix bug while iterating LRU list in eviction 107477bf1cf4 Pass virtual url of data url request back to the UI bf10f2f32a33 Don't create undeserializable mojo origins 04c37e5d545f [Backport] [wasm] Use guard pages for minicage 66c763feb029 [Backport] Merged: [wasm] do not reuse externalized backing stores when growing 5ef6d51aa222 [Backport] Copy visible_pages_ when iterating over it. d16c1774d1ac [Backport] Skip Service workers in requests for mime handler plugins af49c0deab15 [Backport] Fix possible overflows in hair line path renderer vertex counts de120c712b75 [Backport] service worker: Disallow interception for EMBED and OBJECT requests. Task-number: QTBUG-67800 Change-Id: I421d37a303f84dfdd8547c294ac0731ed9eacac7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Examples: Use === where possibleKai Koehne2018-04-191-4/+4
| | | | | | | | | | | | | | | | This silences QtC warnings. Change-Id: Ia5580379a8ace01274265b3688cc267aa3540210 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Examples: Name signal argumentsKai Koehne2018-04-193-15/+26
| | | | | | | | | | | | | | | | | | | | Use a function declaration for all signal handlers that take at least one argument. Directly referencing the signal values is less robust and arguably too much magic. Change-Id: I49a48e336bdc2149643770b978826884515cc4ad Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Fix focus after hideAllan Sandfeld Jensen2018-04-181-2/+3
| | | | | | | | | | | | | | | | | | | | We are not supposed to set the QWidget as non-visible, this removes the widget from layout and focus, and no other QWidget does that on minimize, instead just set qquickitem as non visible. Task-number: QTBUG-65595 Change-Id: Iefb52243229d11879a7a38c641084c266eef2207 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Consider various resources fallback paths on macOS framework buildAlexandru Croitor2018-04-181-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building a macOS framework build, paths like process path, resources path, icu path, etc are determined solely by the existence of the WebEngineCore.framework bundle, which is found using its bundle id. There might be cases when the bundle is not present. For example when deploying a WebEngine PySide2 application using PyInstaller, the layout of the copied files is changed. In this case considering application path (current application directory) as a candidate path, as well as the rest of the candidates paths would be useful. Change-Id: Ide3fd62756659ec8d42c5629c0efa1d60602ed80 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | RequestController: Fix pure virtual method call crashJüri Valdmann2018-04-195-4/+15
|/ | | | | | | | | | Fixes bug introduced by 4b30d82f05064723b9c3684e1c16ae0cf9d71baa where somebody had the bright idea to call reject() from RequestController's destructor. Of course, at this point the subclasses have already been destructed and a pure virtual method call error is triggered. Change-Id: Ida581285828c592a76f9ca981ec780f2711d298e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add tests/auto/widgets/originsJüri Valdmann2018-04-1711-2/+377
| | | | | | | | | | Unlike http/https, the same-origin policy for file, qrc and custom schemes is not specified in any standard and, for the latter two, is not tested by Chromium either. Therefore some tests might be useful. Task-number: QTBUG-62536 Change-Id: I194d06c16c44b0a78bf4dba57415a2d2c6b991cc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* simplebrowser: Focus url bar for new tabs and windowsJüri Valdmann2018-04-171-3/+8
| | | | | Change-Id: Ib13db55adc065dde3bc257f3acc243480c2d03b4 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Update plugins.qmltypesKai Koehne2018-04-172-16/+34
| | | | | | Task-number: QTBUG-66905 Change-Id: I149a0d6a9b16ddc55c52200b7dce2b5e37409e9d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make sure we can build with -no-feature-draganddropJoerg Bornemann2018-04-178-0/+31
| | | | | | Change-Id: Ib6763a8a3e1ac1ac98caef39f7e6e75c18344424 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Build without iterator debuggingJüri Valdmann2018-04-172-5/+1
| | | | | | | | | | | Iterator debugging (aka standard library debug mode) with libstdc++ slows down some code by orders of magnitude due to locking for each iterator operation. Disable on non-MSVC platforms. Task-number: QTBUG-66904 Change-Id: Ibb31f32235084b52988ac674b4b0bb1b198eed88 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Set application name for pulseaudio on LinuxAllan Sandfeld Jensen2018-04-171-0/+5
| | | | | | | | Otherwise we are listed as "Chromium" Task-number: QTBUG-67707 Change-Id: I1d121b28913887f3b6d6dbccf3a9a0c91ae84fc1 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix crash on launching and quitting nanobrowser with devtools openAllan Sandfeld Jensen2018-04-172-9/+12
| | | | | | | | | Make sure it is opened after initialization of the inspected content, and deleted when the inspected content is closed. Task-number: QTBUG-67642 Change-Id: Ie7218bc437e8c529205ceb7744c4aa0c9ffe6c75 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Do no log pbuffer creation failure as errorMichal Klocek2018-04-172-1/+2
| | | | | | | | | The pbuffer creation with egl can fail, however this is expexted if surfaceless egl is used. Task-number: QTBUG-65682 Change-Id: I0aefda0bec3d3b4943df20697b495dba83e012a7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Document process model switchesJüri Valdmann2018-04-171-0/+57
| | | | | | | Task-number: QTBUG-65561 Change-Id: I39b318b65c692c6b0fa9c81865fcaef5c7ee691c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add tst_QWebEnginePage::devToolsJüri Valdmann2018-04-171-0/+43
| | | | | | | Open devtools from autotest. Change-Id: I5e78d6259fdd29df5608b45292ee0a786d179e26 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move check for g_egl_surfaceless_context_supportedv5.11.0-beta4Michal Klocek2018-04-151-10/+6
| | | | | | | | | | | | | The check g_egl_surfaceless_context_supported can not take place in InitializeExtensionSettingsOneOff since correct surface/less initialization is required for gpu info collection which is initialized with InitializeGLNoExtensionsOneOff. Otherwise egl with pbuffers is only supported, which will fail on wayland. Move the check to InitializeOneOff. Task-number: QTBUG-65682 Change-Id: I0f5107134366f141e1941e824e3238473383962a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Reject unanswered permission requestsJüri Valdmann2018-04-131-3/+8
| | | | | Change-Id: I2a5b35810d20dec685e134f6d8fe3383003d33d1 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Private constructors for permission classesJüri Valdmann2018-04-132-5/+9
| | | | | Change-Id: I55b033a03ec581841e1cea55c3d707067ee5ef42 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Use wrappers in QtWebEngineCore public interfaceJüri Valdmann2018-04-1310-26/+25
| | | | | | | | Stop exporting quota / RegisterProtocolHandler request controller classes, and use the public wrapper classes in WebContentsAdapterClient instead. Change-Id: Iaa380b6ceb4f9464fc05dd012ee5df219f11f189 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Shorten names of permission classesJüri Valdmann2018-04-1329-228/+224
| | | | | | | | | | | Remove 'permission' from class and signal names, so e.g. QWebEngineQuotaPermissionRequest becomes QWebEngineQuotaRequest and quotaPermissionRequested becomes quotaRequested. Rename the internal controller classes to public name + "Controller". Change-Id: I247714ab0a2880adbf4ed8ee68f1b78838ae7a14 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix crash on opening devtools in simplebrowserAllan Sandfeld Jensen2018-04-131-1/+8
| | | | | | | | | | | The devtools webcontents-adapter is no longer guaranteed to be initialized at this point, and we can initialize it directly with the right site instance. Task-number: QTBUG-67642 Change-Id: I8abbd4297ae677d3bd8d45f00f7463d60ee2bce5 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Use Q_DECLARE_OPERATOR_FOR_FLAGS in public APIKai Koehne2018-04-132-0/+4
| | | | | | | | | | This allows writing something like FindFlags x = FindBackWard | FindCaseSensitively Change-Id: I88f8465dd64482ad871530fbb6d6351895fe6a3a Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add initialization of static bindings for egl and glxMichal Klocek2018-04-121-1/+78
| | | | | | | | | Use lazy binding for static bindings initialization, the same way we do in ozone. Task-number: QTBUG-65682 Change-Id: I51ecdfa3b7daca8b1345cf2c0c89a4ac6e25a7c9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Protect against null adapter clientAllan Sandfeld Jensen2018-04-121-3/+7
| | | | | | | Task-number: QTBUG-67653 Change-Id: I07c9dca788ee31f691b05f7647ffbf3f9e0b7260 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-04-121-0/+0
| | | | | | | | | | Changes: e173cb17d9 Do not initialize static bindings in x11_initializer 7c379772b2 Disable mask-tiling until we support it Task-number: QTBUG-67585 Change-Id: Ic557125e75fb7bdcdc0cd476d7e9c2a7da5f052a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Simplify libxml2 system compatibility detectionMichal Klocek2018-04-123-18/+6
| | | | | | | Test for icu also in xml2 compile test. Change-Id: I435f609761cb299f58a9b5f68e31698bb238ab1c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix style in alsatestMichal Klocek2018-04-121-2/+2
| | | | | Change-Id: If35a8f3a69e21a8fbd203ca84c37efdcac514549 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add check for catalog support in libxml2Michal Klocek2018-04-124-4/+52
| | | | | | | | | | | | Since https://codereview.chromium.org/2788063002 libxml2 is expected to have disabled catalog support. Prevent crashes of render process and do not link against system libxml2 if it is compiled with catalog support. Task-number: QTBUG-66488 Change-Id: I2d922929878262c555802336841536eba1294db2 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Pass on mipmap property on layersAllan Sandfeld Jensen2018-04-101-0/+1
| | | | | | | I don't know when it is used, but we have the support, so lets do it. Change-Id: I1784ae902598c99c73c651b6929256e36610ed6d Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Fix test failure in test_contextMenuAllan Sandfeld Jensen2018-04-101-0/+2
| | | | | | | | Seems making a context menu too early is racy. Change-Id: I9cf268d506e6fcee348102cc3138c475ac94d55c Reviewed-by: Valentin Fokin <fokinv@inf.u-szeged.hu> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Update ChromiumAllan Sandfeld Jensen2018-04-091-0/+0
| | | | | | | | | | Changes: 312f43a137d4 Fix bypassing of installed CDM component define on macOS f1a3b4eec78e Fix compilation with system ICU 59 aa9e7d726498 Do not export .gitignore and .gitattributes Change-Id: I4a7e95a3f7eddc2f0eaa778478688880452a1620 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Find and hold mask texture of render passesAllan Sandfeld Jensen2018-04-091-0/+4
| | | | | | | | | | Even if we don't yet implement handling it, we need to hold it to not assert later on it missing from held resources. Task-number: QTBUG-67414 Change-Id: Ic14efba383ba7f1809238768b386b2254fad7121 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Rename GLOzoneQt to GLOzoneEGLQtMichal Klocek2018-04-074-11/+11
| | | | | Change-Id: I0f88772a0e869de3c7bfd065227b6151558c7408 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix Windows ANGLE buildsAllan Sandfeld Jensen2018-04-072-10/+9
| | | | | | | | Move implementation of DirectCompositionSurfaceWin::IsHDRSupported() so OpenGL definitions doesn't conflict. Change-Id: Ib5d61b647b9a6ca00e8f9dae2dffb8cb72fa09c0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix building with Qt 5.9Allan Sandfeld Jensen2018-04-071-2/+2
| | | | | | | | Avoid hitting undefined reference to 'bool TestNamespace::QTest::qCompare<unsigned long, unsigned int>...' Change-Id: I91588869708899e1055619ca9ba46d2061869417 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Avoid creating temporary blank WebContentsJüri Valdmann2018-04-0614-231/+395
| | | | | | | | | | | | | | | | | | | | | - Avoid creating a blank WebContents for new QWebEnginePages only to replace it with a different blank WebContents moments later. This problem is already solved in QQuickWebEngineView by lazy initialization, therefore the patch moves this lazy initialization into WebContentsAdapter itself so that it can be applied to both QQuickWebEngineView and QWebEnginePage. - Try to delay WebContents creation until the first navigation so that we have enough information available to pick the right initial SiteInstance when calling WebContents::Create. This is done by triggering WebContents creation from the first call to a WebContentsAdapter::load* method. - Use the SiteInstance from WebContentsDelegate::OpenURLFromTab. This method gets a SiteInstance pointer which we should give to WebContents::Create. Task-number: QTBUG-65561 Task-number: QTBUG-67163 Change-Id: Id7b351998adefb810cf27c61a1447b61d7f4c606 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Change QWebEngineView to use another layoutSzabolcs David2018-04-051-4/+4
| | | | | | | | | QWebEngineView hides its siblings in its parent layout. (See QTBUG-66957) Change it to use QVBoxLayout for now. Change-Id: I4e89d8c06d990633adab1150de1c62552f0033a1 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove an unnecessary ContextMenu SeparatorValentin Fokin2018-04-052-2/+3
| | | | | | | | | When right clicking on a simple image there would be a separator on the top of the DefaultContextMenu. This patch fixes it by checking if the context menu has any elements in it before adding a separator. Change-Id: I6bbe91fdac9f49006be8cc73df1d97d34f3c2848 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Replace deprecated Q_FLAGS macroKai Koehne2018-04-053-7/+7
| | | | | | | | | | | | | Q_FLAGS is deprecated, and is replaced by the more powerful Q_FLAG macro. Anyhow, Q_FLAG and Q_FLAGS only makes sense if used inside a QObject or Q_GADGET. The patch therefore makes QWebEngineContextMenuData a Q_GADGET. Change-Id: Icccb373846a645272a7bf29397b930ae80be9b85 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Valentin Fokin <fokinv@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>