summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix not working proxy_pac test with network serviceMichal Klocek2020-02-213-5/+20
| | | | | | | | | | | | Due to sandboxing we can no longer pass pac file. Pass it as data url instead by reading the pac file and encoding into base64. Fix failing proxypac url on windows. Fixes: QTBUG-81557 Change-Id: I3dc3da4fbd3cce4e903c75022b8e9fe5faf71604 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix CustomURLLoader not supporting responses over 64k bytesJüri Valdmann2020-02-212-34/+92
| | | | | | | | | | | | | Mojo data pipes are non-blocking, meaning we have to wait until there's room in a buffer before we can transfer data from the QIODevice to the pipe. Use mojo::SimpleWatcher to monitor the pipe for readiness and use the two-phase BeginWriteData/EndWriteData API to let the QIODevice write directly into the pipe's internal buffer, avoiding a copy. Fixes: QTBUG-82244 Change-Id: I65e69ce72d0e99bc047c57b5a22531c0891c553a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Do not build webengine on iosMichal Klocek2020-02-211-1/+2
| | | | | Change-Id: I21391ef9f5ea9c93227c1a8a64bcd1e5a5e20ad4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* View's contexMenu test: fix assumption for input eventsKirill Burtsev2020-02-191-9/+28
| | | | | | | | | | Mouse clicks are set to be ignored in chromium 79 as no useful actions are available before first real navigation. Add simple blank load for that and also enforce checks for different kind of policy. Task-number: QTBUG-80743 Change-Id: Icb0056895c5b194e85bb711b8449e179257f8d5d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.14' into 5.15Allan Sandfeld Jensen2020-02-1916-57/+264
|\ | | | | | | | | | | | | | | | | Blacklisted one test requiring an update of qt5.git. Conflicts: .qmake.conf Change-Id: I75e55a1c5f8840cde55ddb60d632287b2affadeb
| * Fix tst_QWebEngineUrlRequestInterceptor::initiator flakinessJüri Valdmann2020-02-181-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | The test assumes a 1-1 correspondence between request URLs and initiator origins, but really we have a 1-N correspondence since the same URL can be requested multiple times by different initiator origins. The current flakiness results from just such a conflict, namely from one URL being requested both by the main site (w3schools.com) and by AdSense (doubleclick.net). Fixes: QTBUG-82288 Change-Id: Ida121d8f23b396b72a28faab91780d6fa4d99c92 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Fix quick accessibility on macOSPeter Varga2020-02-178-13/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | Same as the widget fix: ffdf7ece Fix widget accessibility on macOS This patch depends on a focusChild() fix in qtdeclarative: 6420ad91d3 Fix QAccessibleQuickWindow::focusChild() to return focused descendant Task-number: QTBUG-78284 Task-number: QTBUG-81539 Change-Id: If0da937d2c778a158ce02e1433b28ca0888692d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix name filters of GTK file pickerSzabolcs David2020-02-162-1/+4
| | | | | | | | | | | | | | | | | | | | Setting an empty string instead of "()" fixes that case where the file input doesn't have "accept" attribute. Task-number: QTBUG-82109 Change-Id: I8a72f819fa6d8bbab4e5f1067b38ad75ff11e118 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Emit title change event asynchronouslyKirill Burtsev2020-02-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | Ammends 445235bc01. Preserve some previous assumptions on order of change events for url and title. Fixes flaky failures in previously written tests like WebEngineViewSource::test_viewSource. Fixes: QTBUG-81855 Change-Id: I487d27d594d5a0d74d39b7b58e815e5c75a73fb3 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Stabilize cookie test and prepare for loadAllCookies API fixKirill Burtsev2020-02-141-22/+41
| | | | | | | | | | | | | | | | | | | | Trigger cookie monster init by making simple blank navigation to allow run every single test separately. API loadAllCookies supposed to init cookie storage to avoid this navigation but currenly doesn't work. Task-number: QTBUG-80605 Change-Id: I0b71e7eeb015169af2042e90713c5aa96f8bb135 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Example 'quicknanobrowser' improvementsKirill Burtsev2020-02-081-9/+22
| | | | | | | | | | | | | | | | | | | | * Fix TabView containing no tabs by using one method on close with tab's button, StandardKey and windowCloseRequested. * Prevent warning on invalid tab's icon * Set default title for new empty tab Change-Id: I1a8522b10fff8107e4ee213cb6760c637a4f6e9d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix backActionUpdate flaky failureKirill Burtsev2020-02-041-1/+1
| | | | | | | | | | | | | | | | BackAction might not be immediatelly enabled after frame's content check through javascript. Amends d7d40469b5. Change-Id: I2b6242da190c39b8d72d17d563c6c86238e56887 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Bump versionAlexandru Croitor2020-02-041-1/+1
| | | | | | | | Change-Id: Id4fa7fd2e28e9be44b5c1d9e0414d9e90277d9bd
* | Move disabling of features we used to not support to non-viz onlyAllan Sandfeld Jensen2020-02-171-14/+15
| | | | | | | | | | | | | | | | | | These features all failed to work with our old compositing implementation, but works with viz compositor, and due to being default in Chrome, might work more reliable being on, than off. Change-Id: Ifab1913fd4bc20f295dc7c2ccffa510610b23796 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix missing webenginview in designer pluginMichal Klocek2020-02-131-1/+1
| | | | | | | | | | | | | | | | | | The feature name is 'webengine-widgets', but module name is 'webenginewidgets'. Fixes: QTBUG-82123 Change-Id: I501815dc74ca96527a888a708121c656447bf7a5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix accessibility anchor testAllan Sandfeld Jensen2020-02-121-1/+1
| | | | | | | | | | | | | | Needs an id to a valid anchor. Change-Id: I39d586e94ca68c0d502302aa27d228f3c5caf160 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: remove qpdf cmake file from releaseMichal Klocek2020-02-121-2/+2
| | | | | | | | | | | | | | Fixes: QTBUG-82035 Task-number: QTBUG-81546 Change-Id: I68d85c2f469d1cc46c0040fdd5e522ec5096ee8e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Fix typo in error reporting for winMichal Klocek2020-02-121-1/+1
| | | | | | | | | | Change-Id: I5097aa17617738b4db8c0fe7717b32be2a0efd8f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumJüri Valdmann2020-02-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: 458aa4294db Fix generation of attribution documentation a370b2f7a7e Don't force gpu process launch on macOS with vizdc and no GL 5b79320c013 Expose StoragePartitionImpl::InitNetworkContext Change-Id: I3f7c78fd4f1342a109ee6f8a2842ec2b60e1b83b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add missing pdf dependency for image pluginv5.15.0-alpha1Michal Klocek2020-02-101-0/+1
| | | | | | | | | | Change-Id: Iae77cc585257387b401e14b0958d18851ee1eb6b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* | Fix build log, qtpdf build clutters logMichal Klocek2020-02-101-0/+1
| | | | | | | | | | | | | | Do pdf build after core. Change-Id: I1cb750d6f32cdbc7eb3ff377498391bc015faf94 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix content split config file for ExportToolAntti Kokko2020-02-061-8/+8
| | | | | | | | | | | | | | | | Add missing commas. Change-Id: I70fd8fdf74fa3ebe09300d689159977b1b987873 Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Solve FIXME in CustomURLLoaderAllan Sandfeld Jensen2020-02-051-1/+3
| | | | | | | | | | | | | | Update the headers as asked for in FollowRedirect. Change-Id: I86d241d52abe8bd9d082b7ad49e921a955dc1403 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.14' into 5.15"Jüri Valdmann2020-02-0413-24/+291
|\ \
| * | Merge remote-tracking branch 'origin/5.14' into 5.15Jüri Valdmann2020-02-0313-24/+291
| |\| | | | | | | | | | Change-Id: I349a4ecbbd9d3d121ca6564db77e417872246554
| | * Doc: Remove info about Sandboxing not being supported on WindowsLeena Miettinen2020-02-021-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 5.14.1, it is supported. List restrictions on Linux and ways of explicitly disabling sandboxing on all platforms. Fixes: QTBUG-81688 Change-Id: I7f8fc08b921cc0e50056cc143cbf63b62be90b4e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Cleanup FrameSinkManagerImpl before shutting down GPU serviceJüri Valdmann2020-01-303-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We changed RootCompositorFrameSinks to be destroyed asynchronously (in HostFrameSinkManager::InvalidateFrameSinkId) which means that one can still exist during shutdown in GpuThreadControllerQt::destroyGpuProcess. This results in a deadlock in single threaded GPU mode: in destroyGpuProcess we wait for the viz thread to exit, but the FrameSinkManagerImpl on the viz thread will try to destroy the RootCompositorFrameSink, which waits for work to be done on the GPU=UI thread, which is waiting for the viz thread to exit. Fix by destroying all RootCompositorFrameSinks before destroyGpuProcess. Change-Id: I4cf135f29b90ae0bf78525d5747567dc10a775e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Merge remote-tracking branch 'origin/5.14.1' into 5.14Allan Sandfeld Jensen2020-01-282-0/+81
| | |\ | | | | | | | | | | | | Change-Id: I5a856d3976581806e75b775c2f383c6e4ed35530
| | | * Add changes file for Qt 5.14.1v5.14.1Allan Sandfeld Jensen2020-01-201-0/+81
| | | | | | | | | | | | | | | | | | | | Change-Id: I09c28da2c23a7132667fe5f839fea78e026123b1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | | * Update ChromiumMichal Klocek2020-01-201-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 3bbfff059e3 FIXUP: Support GPU service on UI thread with viz * a9a20127e8a Improve jpeg headers handling Change-Id: I0c81edbb24e984a798bb71444a4a6498a38abb38 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * | Fix widget accessibility on macOSPeter Varga2020-01-247-4/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS Accessibility queries the window for the focused accessibility element. The window forwards the query to the widget with active focus. This widget is the RWHVQtDelegateWidget if a web element is focused in QWebEngineView. Therefore, a QAccessibleWidget interface has been implemented for the RWHVQtDelegateWidget to forward the request to the QWebEngineView. The focused accessibility element expected to be returned by the QAccessibleInterface::focusChild() method. In case of the macOS accessibility backend, it is called by the accessibilityFocusedUIElement() NSAccessibility API function. It expects the focused web accessibility element otherwise VoiceOver won't focus properly. The focused web accessiblity element is looked up by the new BrowserAccessibilityQt::focusChild() method. RenderWidgetHostviewQtDelegateWidget::focusChild() and QWebengineViewAccessible::focusChild() methods have been also implemented to forward it. This patch depends on a focusChild() fix in qtbase: a132e02540 Fix QAccessibleWidget::focusChild() to return focused descendant Microsoft Narrator also uses focusChild() to query the current focused element when it starts but it is still functional without this fix. Task-number: QTBUG-78284 Task-number: QTBUG-81539 Change-Id: I3c4861e58622ccbb5046c60c4efcc19842400a88 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * | Blacklist tst_QWebEnginePage::mouseMovementProperties on macOSTor Arne Vestbø2020-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It relies on moving the cursor. Task-number: QTBUG-76312 Change-Id: I6bdd53b8c0eb41300a538137fb7ec52881c38f33 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | | Blacklist page's dev tools tests for msvc-2019Kirill Burtsev2020-02-042-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also speculatively increase timeouts for load operations Task-number: QTBUG-81263 Task-number: QTBUG-79852 Change-Id: Id7fc0849d671535e35c939edbe4ef365b229dce4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Remove non-NetworkService support classesAllan Sandfeld Jensen2020-02-0423-2365/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes much of the specific code for non-networksupport, classes that won't work or even compile with 78/79 based. Change-Id: I150794a55164998fa3d0031757718081fa7d7d9a Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | | | Add configuration file for coin ExportTool to split the contentAntti Kokko2020-02-041-0/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | By default all files shall be in the base package, but additional packages can be specified in the top-level object by name along with python glob.glob compatible masks. Task-number: QTBUG-81546 Change-Id: Ib72a72e0e8b29d762783abaa98744d954a44dd1b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Add getter/signal to get the render process PIDFlorian Bruhin2020-02-0115-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can useful for e.g. implementing something like the "Task manager" in Chromium or otherwise interacting with the render process (e.g. to kill it for some reason while debugging). [ChangeLog] Add a renderProcessPid() getter to (Q)WebEnginePage which allows getting the process ID of the underlying render process. Change-Id: Id5d59be9b6bd46ffc3a6aa480cb5ff7bd3b8aa31 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | FIXUP: Fix qptdf build with system icuMichal Klocek2020-01-301-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | When doing qtpdf build with system icu we might get no static libs. Update checks and remove unnecessary CONFIG lines from pdf core. Change-Id: Ia9e1944b4931d47f2efca58418f430bad800b29f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add clear method to QQuickWebEngineHistoryJüri Valdmann2020-01-305-0/+24
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-71619 Change-Id: I35c5ecbbe78da3114d30945f8ce030937e17d98e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Switch network-service to default onAllan Sandfeld Jensen2020-01-306-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-79890 Task-number: QTBUG-81556 Task-number: QTBUG-81557 Task-number: QTBUG-81614 Change-Id: I4c81ca1b1fb9c9595c1f670706948fcbe65bcd33 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | FIXUP: fix makefile warnings after qtpdf mergeMichal Klocek2020-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | Fix "warning: ignoring old recipe for target" Change-Id: Idf86004709a8e5394594f5b6a3138d01c5e48b58 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Update ChromiumAllan Sandfeld Jensen2020-01-301-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: a9a20127e8a Improve jpeg headers handling c1be521d4b0 Create an AudioOutputIPCFactory even without WebRTC 35b6d2c4838 third_party perfetto: add missing include for clang, asan and no_pch 6c2cf4c4571 Fix access after move 86de069171e FIXUP: Fix building with g++ 5 5c2d377121c Suppress racy DCHECK Change-Id: Icd8d71a5c3b12fa8c18b2683729b796701d63c59 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | | Merge "Merge remote-tracking branch 'origin/wip/qtpdf' into 5.15"Michael Brüning2020-01-27129-51/+9407
|\ \ \
| * \ \ Merge remote-tracking branch 'origin/wip/qtpdf' into 5.15Michael Brüning2020-01-27129-51/+9407
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial merge of QtPdf into QtWebEngine. Fixes: QTBUG-69519 Change-Id: I48dc25a59f2c161bb231bd0fa60392eb70fe4e7d
| | * | | Add missing check when doing qpdf buildMichal Klocek2020-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need this, since 5.15 branch adds webrtc check. Change-Id: I40b63bf38ed57562562305d34f9f5ce96dec31dd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * | | Do not share pdf features with webengine-coreMichal Klocek2020-01-275-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pdfium build for qtwebengine should not use features set for qtpdf. Change-Id: Ibee97b774dda7e9157cadf28aa4a7a862bcba8ed Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * | | Doc: Add periods to the ends of \brief commandsLeena Miettinen2020-01-242-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qdoc no longer adds them automatically. Change-Id: I83463038a515ed7e731795a9a63b3ba48a7c8c94 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | | Doc: Document the \a mode parameter to fix a QDoc warningLeena Miettinen2020-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic6f66d36ab742cebaf7a1425419e3d2a56f9e56f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | | Add rotation actions to the QML pdf viewer exampleShawn Rutledge2020-01-235-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-77514 Change-Id: Ifa7515dae18b278e038c2e5fad46492ca158b044 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | | Add QPdfSearchModel, QML PdfSearchModel and PdfPageViewShawn Rutledge2020-01-2329-5/+1154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables searching a PDF for a text string and getting the boundaries of the areas where it is found. The boundaries are returned as polygons intended to be rendered with PathMultiline. PdfPageView is a QML component intended to be a drop-in viewer for use in applications that need the most common PDF viewing functionality. More advanced applications are free to use it as a starting point for customization. Task-number: QTBUG-77507 Task-number: QTBUG-77514 Change-Id: Id08ac30224e41b6cdfb9300cc4288d5750259f78 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
| | * | | Doc: Add QML types from the Qt Quick PDF module to the doc configLeena Miettinen2020-01-222-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add examples, even though the example docs have not been added yet. Task-number: QTBUG-81560 Change-Id: I9ada8e658359788421eda209fffe1eaed967318c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>