summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update Chromiumv5.8.0Kai Koehne2017-01-031-0/+0
| | | | | | | | 15d257f Fix aggregated WebKit license Task-number: QTBUG-57872 Change-Id: I43e8712feb02ea6f3ae77cca4a1cb19d703119c3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2017-01-022-0/+9
| | | | | | | | | Include compilation fix introduced on the 5.8 branch. Change-Id: Ia665ddb80374bfc532ad8e90be6b59aab48b5485 Task-number: QTBUG-57774 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Describe WebEngineLoadRequest::errorDomainLeena Miettinen2016-12-222-23/+23
| | | | | | | | | | | Remove the WebEngineLoadRequest property doc from WebEngineView::loadingChanged() method docs and add the type name to create an automatic link to the type docs. Fix a typo in the copied ErrorDomain docs. Change-Id: I9798e066d599c75a062bb7f596e4465f32d613b4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Fix article in WebEngineSettings::accelerated2dCanvasEnabled docsLeena Miettinen2016-12-221-1/+1
| | | | | | | a > an Change-Id: I52cb0b4b7e654d49e864e16fa5270515a73defbe Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Fix QML type name in QML signal signatureLeena Miettinen2016-12-221-1/+1
| | | | | Change-Id: I1cfa958c02d40f6ac1ec4d3922457d841abc5ea3 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Describe the WebEngineView::navigationRequested() signalLeena Miettinen2016-12-221-0/+4
| | | | | Change-Id: I78fc7ecd3e453da16e1e2c493ac4b697e4ab5bcc Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Describe default values for WebEngineView::printToPdf()Leena Miettinen2016-12-221-1/+7
| | | | | | | | | | The doc does not mention that two out of three parameters have default values and can be left out. Also fix the method signature to use QML conventions. Change-Id: I4c88653ce1fc5890aadce74be878098d16ae274c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: WebEngineView::runJavaScript() callback parameter is optionalLeena Miettinen2016-12-221-2/+2
| | | | | | | | This is currently implied, but not stated. Use the \a command for the callback parameter. Change-Id: I4d593f19362e04f54ae555c75897c50d03c643f7 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Remove return value from qmlsignalKai Koehne2016-12-221-1/+1
| | | | | Change-Id: Id354b217a1e584c1f1766953cdfc5fc56435daa8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Describe the WebEngineView.LoadStoppedStatus enum valueLeena Miettinen2016-12-221-0/+3
| | | | | | Task-number: QTBUG-57636 Change-Id: I71aabeb670385037d938ecf130320e2aa8828331 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Fix type name to build FormValidationMessageRequest::type docsLeena Miettinen2016-12-221-1/+1
| | | | | Change-Id: I518cd1af6a6952c5ed325b51fbf34e312d90f594 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Describe WebEngineDownloadItem.DownloadCancelled enum valueLeena Miettinen2016-12-221-0/+2
| | | | | Change-Id: I829cd3225858be5c10b00ee5b9c586abb6431111 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Add docs for the WebEngineNavigationRequest typeLeena Miettinen2016-12-221-0/+59
| | | | | Change-Id: I41d0d286f25aa28b859271d907f226f5740524e0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Describe missing WebEngineFullScreenRequest property and methodLeena Miettinen2016-12-221-2/+11
| | | | | | | | | | The origin property and reject() method were not documented. Remove \since commands, because all the properties and methods were added when the type was added. Change-Id: Ic63e20fca6469b06b65af78963a968df7a236e0d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Doc: Fix property name JavaScriptDialogRequest::defaultTextLeena Miettinen2016-12-221-3/+2
| | | | | | | | The type value was also wrong (should have been DialogTypePrompt), so the text was changed to use natural language insted of code. Change-Id: I5e27749af54a20e722fcd0ccf793cd948151112a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Update chromiumv5.8.0-rc1Allan Sandfeld Jensen2016-12-151-0/+0
| | | | | | | | | | | | | Pulls in an ANGLE build fix Changes: 3205b85 [Backport] Adjust NOT_SHIPPED labels of some README.chromium's a89675a Add TOOLKIT_QT define for use_qt a87668b Avoid clobbering the argument scope for v8_use_external_startup_data b7d1c5b FIXUP: [Backport] Use safe math in ValidateCopyBufferSubData. Change-Id: Ibd17b481c942c6856a4beaf1bd7e3480f5e70691 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix Linux audio library detectionAllan Sandfeld Jensen2016-12-151-3/+4
| | | | | | | | | The configure checks where moved to QtMultimedia which we do not depend on, therefore we need to now duplicate the checks ourselves. Task-number: QTBUG-57620 Change-Id: I6f7319c7e91e3f51baf012c669121389cd6e1360 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Fix reference to QNetworkProxyFactory::usesSystemConfiguration()Leena Miettinen2016-12-151-1/+1
| | | | | | | ...in the overview. Change-Id: Ie2b5d3c9f2313fa222741a87b978c5d8f5a999f1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Upgrade the Chromium version in the overview to 53.0.2785.148Leena Miettinen2016-12-141-1/+1
| | | | | Change-Id: I374a72e6cccbe5daafcf0dc442fdc9618d158455 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2016-12-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the remainding security updates from the first Chrome 55 release. Changes: f0e73b6d Add mus and catapult project files 804dc2f Merge remote-tracking branch 'origin/upstream-master' into 53-based 461b9af [Backport] Merge: "INPUT element: Do not dispatch events in detachLayoutTree()." to M55 branch. 0119f04 [Backport] Disallow frame swap during frame detach. 7aab930 [Backport] Do not call an event listener on a cloned node in svg <use>'s UA shadow tree e9660fc [Backport] Do not re-create the page view when accessing from Document::removeField. 2ff5d16 [Backport] Merge to 2883 "[DevTools] Move sanitize url to devtools_ui.cc." 482005e [Backport] Null CPDF_CountedObj::m_pObj prior to deletion ba38b74 [Backport] [inspector] added check that context always survives inspected context 02ac973 [Backport] Don't send loading completion callbacks for detaching frames. 803a9bb [Backport] Merged: Avoid using stale InspectedContext pointers b6888f2 [Backport] cc: disable denorm handling before calling into Skia's filter code. 7713975 [Backport] Don't show the pending URL for chrome.tabs API navigations 10e27e9 [Backport] Drop navigations to NavigationEntry with invalid virtual URLs. 75b24b6 [Backport] Use safe math in ValidateCopyBufferSubData. 9b21229 [Backport] Use better fallback URLs when calling AVScanFile(). 15f8e8e [Backport] Make WebViewImpl::textInputInfo update layout before working on ranges. Change-Id: If25235295f4ebf43d15f4c584cfcbecf16f46840 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use surfaceless context if necessaryAkihiko Odaki2016-12-081-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The support for surfaceless context was disabled in commit 9cc97f0c63049a8076476acc89c875c9e240abfb, which says: > Using surfaceless EGL surface on imx6 embedded device crashes webengine > with backtrace in gpu driver. It was added in commit bfcbdc3ab42880dc37ffa7174af96928ccf25f03, which says: > This patch is a port of commit 4b0cac9dfeebb73f21a11e10e6a2bc7bddbe889b > in Chromium for Qt WebEngine. > The based commit says: > (snip) > > the creation of a dummy offscreen surface. This would also enable > > support for offscreen rendering on platforms (i.e Ozone-Wayland) which > > donot support pbuffer surfaces. > > Some platforms supported by QPA, such as Mesa 3D DRI2 with drm and > wayland backend also don't support pbuffer surfaces. Considering those cases, this change enables surfaceless context only if pseudo surfaceless context made of surface context is not available. Change-Id: I015421ebbbc357d48313e09d4f7a0369bb956521 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen2016-12-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | Pulls in the first half of security changes from the Chrome 55.0.2883.75 release. Changes: fb104e7 Add webengine target to root BUILD.gn c9be6be [Backport] [runtime] Better encapsulation of dictionary objects handling in lookup iterator. 04a8a91 [Backport] Merged: Squashed multiple commits. e63cc35 [Backport] Enforce form-action CSP even when form.target is present. 167831d [Backport] Walk up frame tree for srcdoc referrer policies 97d1433 [Backport] M55: Convert from int to float values. 1903e5a [Backport] Limit PDF helper extension to print preview only a71fdf5 [Backport] M55: [pdf] Defer page unloading in JS callback. 0755498 [Backport] Update mix bus carefully for MediaStreamAudioDestinationNode 80d11e3 [Backport] Strengthen bounds check in CWeightTable::Calc. 238654a [Backport] Strengthen bounds check in CWeightTable::Calc * part II bd3626a [Backport] Don't run handleEvent getter in V8EventListener::getListenerFunction if script is forbidden. b5e68b8 [Backport] M55: PDF: Don't follow redirects in the plugin. Change-Id: Iaecaae474bd490a62aef0591549f3dc314166afb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Avoiding accessing null QMimeData from missing clipboardsAllan Sandfeld Jensen2016-12-071-3/+17
| | | | | | | | | Not every Linux QPA has the selection clipboard, and will return a null QMimeData when one is requested for Selection. Task-number: QTBUG-57425 Change-Id: Ib63a0c3589df299ce4a2a5e30cbe6efb0727b5f1 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Merge remote-tracking branch 'origin/5.7.1' into 5.8.0Liang Qi2016-12-071-2/+3
|\ | | | | | | Change-Id: I4f73844c730d52b00194ab6ff4abe35c59f7ef68
| * Disable surfaceless context supportv5.7.1Michal Klocek2016-12-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | Using surfaceless EGL surface on imx6 embedded device crashes webengine with backtrace in gpu driver. Since this feature requires a bit more testing on embedded platforms disable support for the 5.7.1 release. Task-number: QTBUG-57290 Change-Id: I3ed5b6fc173d184486316a2c3d899a88d4b1de76 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2016-12-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in security patches from the Chrome 54 releases and build fixes. Changes: d16995e Revert "Add FirstVisuallyNonEmptyLayout support for RenderViewObserver" 6f9bddb [Backport] Blink-in-JS should not run micro tasks 69f2204 [Backport] Fix CPDFSDK_PageView cleanup. 544aa01 [Backport] Disallow reentrance of FrameView::updateLifecyclePhasesInternal() 1a33a6c [Backport] Keep top controls visible if SHOW is called right after HIDE. a5c8560 [Backport] Check CORS policy on redirect in TextTrackLoader ce506f1 [Backport] Merge to 2840 "[DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost." e38afe4 [Backport] avformat/mov: Fix potential integer overflow in mov_read_keys e1d977f [Backport] Remove leak of internal class 9097a63 [Backport] Merges six security fixes to M54, related to blobs. 2b2c7fc Fix loading of blobs which have a qrc:// origin 4750e41 Reject createImageBitmap promise when the cropRect or resize is too big d8a6a2b Fix include order of texture_manager.h includes. 366d476 Fix use_system_icu builds e6427d6 Add shadow option to gn bootstrap c2366a7 Add option to pass ninja binary path to gn bootstrap c952f54 Fix FORTIFY redefined warnings f22cd00 Fix missing enable_remoting check in tests 52e8806 FIXUP: Fix use_system_icu builds Change-Id: I1c046e16722e0e2dadb431ff0d3f5b7f69edd86f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Do not disable thumb instructions on ARMv7+Allan Sandfeld Jensen2016-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | Chromium in particular the bundled FFMPEG does not build on ARMV7 with thumb disabled. Since thumb should always be available on ARMv7 just ignore possible -marm in QMAKE_CFLAGS in that case. Task-number: QTBUG-57037 Change-Id: I09380839dddb97f64fb35ed749e5af0d002fa5fa Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix build when PDF support is disabledPeter Varga2016-12-012-0/+12
| | | | | | | | | | | | | | | | Wrap unused parameters. Change-Id: Iac550783a55b3fc585db6f7b8241aa2ae89fdf2e Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix build with -no-opengl configured QtMichael Brüning2016-12-011-1/+4
| | | | | | | | | | | | | | | | | | Commit e2541ebdfadea0fe43baac748cfa9e07f3b57215 introduced an unguarded reference to QOpenGLContext. Guard it with the appropriate flags. Task-number: QTBUG-57374 Change-Id: Ic9f0cc3c99aabd52813d8b828f1a51ca6871d4b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add environment variable to set chromium flagsAllan Sandfeld Jensen2016-12-011-21/+22
| | | | | | | | | | | | | | | | | | | | | | It is not always possible to pass random flags to any QtWebEngine application, so we should allow another way of setting Chromium flags. Among other things this makes it easy to set flags when running auto tests. Change-Id: I7ffb3bf8c9ceafc7d6b1bd2ba135643a687e480f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Doc: update platform notesMichal Klocek2016-11-291-2/+2
| | | | | | | | | | Change-Id: I2482a570f7c22b5cff5ce217dbece1746441961e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Rework and fix loadVisuallyCommitted signalPeter Varga2016-11-258-26/+31
| | | | | | | | | | | | | | | | | | | | | | - Remove RenderViewObserverHostQt_DidFirstVisuallyNonEmptyLayout message and use WebContentsObserver::DidFirstVisuallyNonEmptyPaint instead. - The order of the DidFirstVisuallyNonEmptyPaint and OnSwapCompositorFrame events is not guaranteed. Check for both events to do not miss to send any loadVisuallyCommitted signal. Change-Id: Ic733b3e9a6fae64b1d827e8e07514f180273cf8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix multiple copy handling while printingMichael Brüning2016-11-251-1/+5
| | | | | | | | | | | | | | | | | | | | Both the printer code and the webengine printing code were producing the number of requested copies. So if n copies were requested, n*n copies of the document were printed. Task-number: QTBUG-56722 Change-Id: I34bce2d61041e1234139139dcd70b7b3d1c7cd7b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Move the QPrinter and QtWidgets related code out of the PDFium wrapperMichael Brüning2016-11-2517-175/+230
| | | | | | | | | | | | | | | | | | | | | | This moves the actual printing using QPrinter to the WebEngineWidgets part of the API. The printsupport module depends on the widgets module and therefore QtWebEngineCore also had a dependency to widgets. This is removed by this change. Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Merge remote-tracking branch 'origin/5.7' into 5.8Allan Sandfeld Jensen2016-11-2514-21/+132
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: Ib9c9eca457c1c42dab948e6cb56d44b57d5da32a
| * \ Merge branch '5.6' into 5.7Allan Sandfeld Jensen2016-11-249-12/+108
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Conflicts: src/core/api/qwebengineurlrequestinfo.cpp src/core/api/qwebengineurlrequestinfo.h src/core/core_gyp_generator.pro Change-Id: I5c78f0c86f6dcd61697148f0729d3d3a2cb2c76f
| | * ResourceType ABI/API fixupAllan Sandfeld Jensen2016-11-234-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][Important Changes] The enum value ResourceTypeUnknown has changed value since there was a mismatch between 5.6 and 5.7+ definitions. In general any unknown ResourceType value should handled as unknown for forward compatibility, since more types are and can be added in later Qt versions. Change-Id: I0a9f8a2129d4549deeae01e199f432fbbf1bbb9e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Fix IPC message loggingPeter Varga2016-11-222-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register Qt IPC messages for logging. The usage of content::RegisterIPCLogger function adds the content_common.content_ipc_logging.o to the link dependency. Thus it will register the Chromium Content IPC messages too. Task-number: QTBUG-57224 Change-Id: I2c45691feb22a34f6074940cc35b8a4ba7804370 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Fix select tag interaction when the web view is inside a modal dialogAlexandru Croitor2016-11-103-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when a QWebEngineView was inside a modal QDialog, trying to click on a select tag option did not properly select the option. It either focused the new option without closing the popup, or didn't focus it at all. Fix consists in making sure the newly created popup QWindow and RenderWidgetHostViewQtDelegateWidget are marked as children of the QWebEngineView, so that they are considered part of the current modal session by the OS, thus allowing user interaction with them. Because the ownership of the delegate widget should still be retained by its respective RenderWidgetHostViewQt instance, the QObject parent of the delegate is unset before the parent is destroyed. Also to make it work on macOS, the window attribute has to be set to Qt::Tool instead of Qt::ToolTip. Change-Id: I56d6f446254a624428a0c661ac3c49eb409c931e Task-number: QTBUG-54836 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | Merge remote-tracking branch 'origin/5.7.1' into 5.7Allan Sandfeld Jensen2016-11-214-9/+21
| |\ \ | | | | | | | | | | | | Change-Id: Ifcf7423fa8d892ddad595300e33a09c7f63f5e6e
| | * | Update ChromiumAllan Sandfeld Jensen2016-11-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the security fix from Chrome 54.0.2840.87 Change-Id: I70064927cba01b7978742951ba0636b780d9eb68 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| | * | Do not call QOpenGLContext::openGLModuleType() from MainDllMichal Klocek2016-10-261-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of dynamic OpenGL on Windows this ends on calling QWindowsIntegration::staticOpenGLContext() from MainDll which in case of angle will end up badly. Add warning message when webengine is loaded from plugin and context is not initialized. Task-number: QTBUG-52201 Task-number: QTBUG-55501 Task-number: QTBUG-56020 Change-Id: I03570cad5f686c4a63910c71136bf3eb9499f223 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * | Update ChromiumAllan Sandfeld Jensen2016-10-171-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in security fixes from the Chromium 54.0.2840.59 release, Changes included: - Fix renderer crash on null family strings - [Backport] Blink-in-JS should not run micro tasks - [Backport] Disallow reentrance of FrameView::updateLifecyclePhasesInternal() - [Backport] Check CORS policy on redirect in TextTrackLoader - [Backport] Keep top controls visible if SHOW is called right after HIDE. - [Backport] Merge to 2840 "[DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost." - [Backport] Enable do not allow default action for untrusted events. - [Backport] Compare font-feature-settings as part of Font::operator==(). - Stop the flood of accessibility messages - [Backport] Fix for hitting an assert when refreshing a page with an image - [Backport] Report the decoded size to ImageObserver, instead of deltas Change-Id: I142cc070ba7fb215e4a5b9c162852b583dab9784 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * | Fix nullpointer dereferencing errorViktor Engelmann2016-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether iconUrls is NULL before calling contains(iconUrl) on it, which, under certain circumstances, caused a SEGFAULT. Task-number: QTBUG-56330 Change-Id: Ia167d68a4c4d62af4740a8cbab2686bfbc975455 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * | Update ChromiumAllan Sandfeld Jensen2016-10-121-0/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I6803569bd7bee4bf8eb94f61771ea2a318eb752b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * | Fix crash in WebEngineContext when using WaylandAllan Sandfeld Jensen2016-10-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason the OpenGL context wayland QPA sets has no nativeHandle, so we end up crashing in strcmp. Assume a context without nativeHandle is Wayland or other GLES2 platform and also force GLES2 when using Ozone. Change-Id: Ia3fc524f3ffbb278d86f9153ec96c7258ef86656 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * | | Pass size to URLRequestJobAllan Sandfeld Jensen2016-11-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If QIODevice has a size we can pass that on as expected size. This fixes media playback where Chromium does not always support streaming outside of HTTP or HTTPS. Task-number: QTBUG-57139 Change-Id: Ie8bf96b1f7f6af80fe707936055620d154c3ef2d Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
* | | | Add pkg-config test for system harfbuzz version on linuxMichael Brüning2016-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older harfbuzz versions like the one bundled with Ubuntu 16.04 cause crashes of Qt WebEngine applications. Use the bundled copy although Qt was configured with -system-harfbuzz in those scenarios. Task-number: QTBUG-56895 Change-Id: I8fad6754447ba32c3630e6772ca2ae6d4fd710c1 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Add support for compiling WebEngine with Clang sanitizer optionsAlexandru Croitor2016-11-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change pipes the already supported Qt sanitize options to Chromium, so the Chromium build system adds the correct compiler sanitizer flags. The change also checks whether the requirements to build a sanitizer enabled Chromium are met (currently works properly on macOS with an Apple clang >= 7.3.1, and on Linux with clang + libc++). Change-Id: Ibab2d5735935ddc92226575fc0e9f5912b807329 Task-number: QTBUG-52656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Build with Qt 5.6Allan Sandfeld Jensen2016-11-173-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make minimal changes so QtWebEngineCore 5.8 still builds with Qt LTR. Change-Id: Iae3ae606b3457a6ca311ae174b3d2a331e9b20bc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>