summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Hardcode default argument for mimetype in ::setContentKai Koehne2017-12-183-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs were wrong in that the default is actually text/plain with US-ASCII encoding (see e.g. data_url_unittest.cc). Anyhow, saying it might change in the future does not help anyone, and is actually a potential security risk - see e.g. the discussion about 'magic' in QTextEdit::setText(). Because of this, it's unlikely that Chromium ever changes the default. Anyhow, we can as well hardcode the default, and document it then. Change-Id: I949111598a30fa69d152d3e98d76e9d96df92d54 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Turn off caching of images rendered for the printerMichael Brüning2017-12-143-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When printing very large documents using the QPrinter-based API, it was possible to run out of memory because the images that pdfium has generated was cached for reuse when printing multiple copies of the document. Caching the images is now removed as printing multiple copies is not the default use case and is nowadays often also handled by the printer itself. Task-number: QTBUG-58400 Change-Id: I27bd17b33a839a845ca1b387b0c3bd0466b6592f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix invalid access in currentTimeForEventAlexandru Croitor2017-12-141-1/+2
| | | | | | | | | | | | | | | | | | The method currentTimeForEvent() tried to access the timestamp() method for a QEvent::Leave event. Leave events are regular QEvents and not QInputEvents, and thus have no such method. Change-Id: Iecc20d239b0e2a5b39b995dabdd7ca8fb44491aa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix QSGSoftwareLayer renderingJüri Valdmann2017-12-131-1/+1
| | | | | | | | | | | | | | | | Software layers (added in qtdeclarative 5.8) also need updating. Task-number: QTBUG-62867 Change-Id: If7a941d7e360871822e1776cde3845abcb1f7efa Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Fix favicon update from JavaScriptPeter Varga2017-12-133-21/+103
| | | | | | | | | | | | Task-number: QTBUG-64967 Change-Id: Ida79d6cdb682d510e9a2e91e3e3ca263acf34a99 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * Bump versionOswald Buddenhagen2017-12-121-1/+1
| | | | | | | | Change-Id: I88eb85ea51a5d0b0b98b21e7213ed963995b255a
| * Check for null renderViewAllan Sandfeld Jensen2017-12-111-4/+10
| | | | | | | | | | | | | | | | | | | | | | It can according to documentation potentially be null, even if it might not happen in our cases. Task-number: QTBUG-63854 Change-Id: I76029c83fe32c163c2707568fe81b7590a79b4fe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * Refactor QWebEngineView tooltip handlingPeter Varga2017-12-082-6/+28
| | | | | | | | | | | | | | | | | | Hide tooltip on empty text and make tooltips more fluent by ignoring duplicate requests. Task-number: QTBUG-64933 Change-Id: Ib82cb06ceda938548429cd694b849a2faadd2633 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix Message Bubble position for High-DPIPeter Varga2017-12-051-4/+18
| | | | | | | | | | | | | | Task-number: QTBUG-64812 Change-Id: I9df71253cf6c541622e431b1ff444fc49269d0c3 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2018-01-051-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull in the rest of the Chrome 63 security patches Changes: 6e4dc78363 [Backport] Serialize struct tm in a safe way. ccdc643a9e [Backport] [BlobStorage] Fixing potential overflow f2ffe010d9 [Backport] Fix a range bug in Persian calendar fb4add52f7 [Backport] Cherry-pick the entire fix for Persian calendar f67ed4572c [Backport] Clear bottom three bits of password scalar in SPAKE2. 28e6df60ab [Backport] Don't clear DnsAttempts that have received a response 5971c2e515 [Backport] Change the script mixing policy to highly restrictive Task-number: QTBUG-65042 Change-Id: Ic23e47469c91e53556c63ebf4b3fa6e03e9b8ada Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2018-01-051-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls into the first set of security patches from Chrome 63 Changes: ecf956cc0a [Backport] Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData 44d355f3b2 [Backport] Remove unsafe align4 call d66a2fdf0d [Backport] trim down colortable impl 741f3965b4 [Backport] Simplify / fix SkBitmap::ReadRawPixels() d0e7830edb [Backport] Resource Timing: Do not report subsequent navigations within subframes 79ef6c0691 [Backport] Do not use NavigationEntry to block history navigations. 7869641c98 [Backport] Setting focus on a widget may destroy the widget 51bfe44529 [Backport] Fix UAF in SetVisible(). Task-number: QTBUG-65042 Change-Id: I2139a45d3d95f26ff378a27777ccdae03a9f2a19 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Avoid to export QtTest symbols in QtWebEngineLiang Qi2018-01-051-1/+1
| | | | | | | | | | | | | | | | This amends commit 656b7fdd2d972946fe980f4089f5e9d01160dc68. Task-nmuber: QTBUG-65455 Change-Id: I3d8d7017a9dbffd9b2ce020cdce7918b6efaf46a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Cleanup tst_QWebEngineScript::injectionPointAllan Sandfeld Jensen2017-12-301-15/+16
| | | | | | | | | | | | | | | | | | The code was not correctly giving a function as argument to the addEventHandler, and the whole logic was more complicated than it needed to be. Change-Id: I21e4e6bb6adf1071ae7eb2798d129224af8ef0fb Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Update setCookie documentationMichal Klocek2017-12-221-1/+4
| | | | | | | | | | | | | | | | | | | | WebEngine prepends "." to domain if one is set explicitly to the cookie. Task-nmuber: QTBUG-64732 Change-Id: Ic54531281cf3a26f7a516118b8ecd78a2ac27e4a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Clean up contextMenuRequested implementationValentin Fokin2017-12-215-19/+19
| | | | | | | | | | | | | | | | | | - Get rid of the unused return value - Instantiate event only when used Change-Id: I01b93d133a53185c2c87f61ea688be3742511c38 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Bump versionOswald Buddenhagen2017-12-201-1/+1
| | | | | | | | Change-Id: I712739fcc812347a034fa38bc79b6b34b1592782
* | Add QML autotests for ContextMenuValentin Fokin2017-12-197-20/+348
| | | | | | | | | | | | Change-Id: If18bb163744b9064c0e4d97a9476851b6dee39ad Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Update ChromiumAlexandru Croitor2017-12-181-0/+0
| | | | | | | | | | | | | | 224acc2957 Fix hanging of process when application is closed too fast Change-Id: I7b7e599c982d3af4f62d53f7c69907e31acb3f25 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Blacklist flaky test textSelectionOutOfInputField on all platformsAlexandru Croitor2017-12-181-1/+1
| | | | | | | | | | Change-Id: I685ee99eedfc47065ed01301943802d7b89ffa2a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Blacklist flaky textSelectionOutOfInputField test on WindowsAlexandru Croitor2017-12-151-0/+3
| | | | | | | | | | Change-Id: I32a92913f3dc80fc409069e624259eecc50c357b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Blacklist flaky mouseLeave testAlexandru Croitor2017-12-151-0/+3
| | | | | | | | | | | | Task-number: QTBUG-65206 Change-Id: Idc85c71ff56cb24764625877c8f54c978661a044 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Add binary compatibility files for QtWebEngine for 5.10Milla Pohjanheimo2017-12-153-0/+45856
| | | | | | | | | | | | | | Files to test binary compatibility added for 5.10 Change-Id: I97940a92003084ed0c5c92eb62ce1be94fdd0715 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | Rename qwebenginehistoryinterface testAllan Sandfeld Jensen2017-12-144-107/+96
| | | | | | | | | | | | | | | | | | We have no qwebenginehistoryinterface and the test does basically nothing, however since it exposes problems at shutdown we can keep the test as an very fast test just to check fast shutdown work. Change-Id: I612ac79fad788fe3835789fcfba11647f43a8796 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Update ChromiumKai Koehne2017-12-131-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3af56a2143 FIXUP: Reduce warning flood when compiling with clang e82868662a Add all devtools resources to our resource pak 26515640a6 Adapt licenses.py for qdoc needs dc7aa94b2e Reduce warning flood when compiling with clang 75390a1c00 [Backport] [TabDiscarding] Reset the sudden termination features flag when renderer dies 4dd3a30491 Fix API to allow InspectElement to work with remote inspector Task-number: QTBUG-64799 Task-number: QTBUG-58698 Change-Id: I084686222826859a05935c3081114fa05d47b18b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.10.0' into 5.10Liang Qi2017-12-083-1/+4
|\ \ | | | | | | | | | Change-Id: I331f4b2b0348d5ee1fb8ff83803bfc9cd359c2d3
| * | Fix broken rendering of select popups on macOSv5.10.0-rc3v5.10.0-rc2v5.10.0Alexandru Croitor2017-11-292-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the kDisableNativeGpuMemoryBuffers flag to Chromium, so it does not generate GL_TEXTURE_RECTANGLE_ARB textures, which caused the rendering issues for popups. Task-number: QTBUG-64823 Change-Id: Ie7b5824eed870ce5c89ff66ba3309f85f9261c81 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Doc: Update Chromium versionv5.10.0-rc1Kai Koehne2017-11-231-1/+1
| | | | | | | | | | | | | | | Change-Id: Id7d695bc9acdcdb10cfedd039065e3e31025f46a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into 5.10Allan Sandfeld Jensen2017-12-054-29/+30
|\ \ \ | | |/ | |/| | | | Change-Id: Ia24d831c2d2b04d13cf6eef2883d2ab2e4cad642
| * | Blacklist failing test_findTextInterruptedByLoad QML testAlexandru Croitor2017-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continiously failed 5 times on Windows when integrating unrelated patches. Task-number: QTBUG-61887 Change-Id: Ibc3e1563355364302f7ee430c97209798e86e3e7 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit f1003c50652c1f5ef9ae0e16036b175fe3e8f215) Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | Fix viewport supportAllan Sandfeld Jensen2017-12-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Set the viewport related preferences together. Task-number: QTWB-2 Task-number: QTBUG-57206 Change-Id: Ib06bf0159d0e0d77d963f8fa3752b668e4795f8b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * | Ensure BeginFrameSource is created before useJüri Valdmann2017-11-291-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In RenderWidgetHostViewQt::RenderWidgetHostViewQt we first call m_host->SetView(this) and then initialize the m_beginFrameSource member. However, since Chromium 55, m_host->SetView(this) ends up calling RenderWidgetHostViewQt::SetNeedsBeginFrames which already needs the m_beginFrameSource member. Fix by initializing m_beginFrameSource before calling m_host->SetView(this). Task-number: QTBUG-64560 Change-Id: Idda188977d0eec0656297fb4e3f3b3d2302f5eba Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Fix crash on exit-fullscreen using context menuAllan Sandfeld Jensen2017-11-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The context menu does not like when we delete current widget while handling the context menu actions. Change-Id: I18dc9d19ae2a669c97c9d4bc833950fcdc0204b0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | Fill pointerType member of pointer eventsSzabolcs David2017-11-242-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix pointerType of the currently supported (mouse and touch) events. Support of pen and eraser types is coming with QTBUG-62975. Backport of 5.10 fix: 64ad0e8b335509970062ba550a06018426b7c285 Task-number: QTBUG-63266 Task-number: QTBUG-64436 Change-Id: Ief32b9680ab5acfb15537aba74c2bcdd6f51c978 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Restore loading libEGL and libGLES2 symbols implicitlyMichal Klocek2017-11-151-30/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This recommits d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad and fixes the issue that on some platforms "eglGetProcAddress" call was not resolved. On some platforms libGLESv2 does not link to libEGL and eglGetProcAddress is resolved in qpa plugin, therefore use it as fallback. Task-number: QTBUG-63341 Task-number: QTBUG-57761 Change-Id: I14f0853a1b92f8f2a9ae7e40f16ce80ab55db331 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* | | Use BrowsingDataRemover to clear HTTP cacheSzabolcs David2017-12-048-23/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a more convenient solution to remove cache instead of going down to the current cache backend and dooming its entries manually. It also fixes WebCacheManager and behavior of clearHttpCache() API on http://refreshyourcache.com/en/cache-test/ example. Task-number: QTBUG-63606 Change-Id: I43e5d6eb53aff66ed1b23caa2868ccfc0f4ebce1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add widget auto test for webUI URLsPeter Varga2017-12-021-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | Most of them are unsupported but verify that loading them doesn't cause crash or assert. Change-Id: I81f219e8d56923dbe6df16f3412e384803808245 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Process pending resize of view before scroll to anchor by URL fragmentPeter Varga2017-11-301-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the WebEngineView must be set before navigating to an URL with fragment for scrolling to the correct position. In some cases the resizing is scheduled on the event loop and Blink uses wrong size to calculate position to scroll. Schedule the navigation on the event loop if the viewport's size is 0 thus it is performed after the potential resizing is done. Task-number: QTBUG-54172 Change-Id: I9acbc33748755606082278585c121dd66b4aa02c Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* | | Fix tst_QWebEngineHistory widget auto testsPeter Varga2017-11-291-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Reset loadFinishedSpy counter after initialization - Do not expect loadFinished signal after "same document" navigation Change-Id: If78304d8fa67ec96b28811c148b4a23f664987fb Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add detailed documentation for when selectionChanged() gets emittedAlexandru Croitor2017-11-272-0/+6
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-51096 Change-Id: Id1029577418884d5aa14296a53a8223ec410a4a2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | Speculative stabilization of tst_QWebEngineView::emptyInputMethodEventPeter Varga2017-11-271-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid false positive results by waiting for a value change when it is not expected to be changed and make sure the event is processed before check for unexpected change. Moreover, verify that the composition events are sent. Change-Id: Ie7a53237b90cda433502e7f376fbe2ae1964385d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Stop creating image nodes without texturesJüri Valdmann2017-11-271-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Triggers segfault when using software backend. Task-number: QTBUG-64562 Change-Id: Ib7c55c8480cbccd5a546813d84021b57bb02d067 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Fix QtQuickControls1 mock-delegates paths in qmltests.proValentin Fokin2017-11-271-5/+5
| | | | | | | | | | | | | | | Change-Id: I4743c69202443c3ddb128ae89efc93cd524e775b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Reduce the amount of thread switches needed for fetching texturesAllan Sandfeld Jensen2017-11-262-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | Combine multiple texture fetches into a single sync call on another thread. Change-Id: Id372d5a11290105b36b34a4fc56bff9929304c20 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Update ChromiumAllan Sandfeld Jensen2017-11-242-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 469bce1cfb Optionally unbundle OpenH264 7cd9b9caad Disable all gpu features usage when using nouveau 951acdd317 Fix most warnings about nested else 69f24bbea4 Fix assert with devtools 2fa8f2d847 Use default MessageLoop type for NetworkConfigWatcherMac thread 4368c73808 Fix of build-time race conditions Change-Id: I1654aaa8233411421017adfcdd1d1e5ebf74d477 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Merge "Merge remote-tracking branch 'origin/5.10.0' into 5.10" into ↵Allan Sandfeld Jensen2017-11-244-4/+114
|\ \ \ | | | | | | | | | | | | refs/staging/5.10
| * \ \ Merge remote-tracking branch 'origin/5.10.0' into 5.10Allan Sandfeld Jensen2017-11-224-4/+114
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: I44aec2cad55423353d06f8d40f251450972cc7fa
| | * | Add GN_HOST_TOOLCHAIN_EXTRA_CPPFLAGSMichal Klocek2017-11-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a way to add pass extra compilation flags when using host toolchain. This is currently used by yocto to get correct lookup path for native headers. Task-number: QTBUG-63140 Change-Id: Ic8f3e394840635b2a0a26acf593888e1f79439f6 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| | * | Add GN_PKG_CONFIG_HOST to set host pkg-configMichal Klocek2017-11-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yocto builds need to pass pkg-config-native to build natvie tools. Task-number: QTBUG-63140 Change-Id: I75ef77461b56bd599240da95df13261aa9e4be75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Add missing 'webengine' prefix in configure.jsonMichal Klocek2017-11-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix condition mixup in webengine-system-lcms2 configuration Change-Id: Iff8513b1e1102c3ca6402b2ec346dfdded2c110a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Merge 5.10 into 5.10.0Oswald Buddenhagen2017-11-2053-332/+837
| | |\ \ | | | | | | | | | | | | | | | Change-Id: I05f7952ea887536674045ed0779967e23388c5d1