summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/tst_favicon.qml
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of touch icons when it is disabledPeter Varga2019-02-251-0/+33
| | | | | | | | | | | | | | | | Store the icon type in a bitfield because the same icon URL might be used for various types on same page. This way webengine won't ignore to download a default icon what is also set as a touch icon when touch icons are disabled. Moreover, do not store the icon types from the previous page because a subsequent page might use the same icon URL but with different type. With this change the type of the cached icons are updated after each page load. Fixes: QTBUG-70081 Change-Id: I8031a740b07b0c6a8e5759a994f386b13ce87be2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adaptations for Chromium 67Allan Sandfeld Jensen2018-06-261-2/+2
| | | | | Change-Id: I13cedba56012f74651a044d6fa8f0957487bf3eb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Make tests work on high-dpi screensKai Koehne2018-06-251-2/+3
| | | | | | Change-Id: I89c39ccf6fd383cad33639959a90b7592467edac Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Adaptations for Chromium 62Allan Sandfeld Jensen2018-01-251-2/+2
| | | | | Change-Id: I49cd3c419d4dd1180144c3c07bdd9a628ab73caa Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Merge remote-tracking branch 'origin/5.9' into 5.10Allan Sandfeld Jensen2018-01-081-21/+70
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/core/api/qwebengineurlrequestjob.cpp src/core/browser_context_adapter.cpp src/core/renderer/user_resource_controller.cpp src/core/web_engine_context.cpp src/webenginewidgets/api/qwebenginepage.cpp Change-Id: I5278e5e22e1776d42975fc94d70ff8ca4f81fb9a
| * Fix favicon update from JavaScriptPeter Varga2017-12-131-21/+70
| | | | | | | | | | | | Task-number: QTBUG-64967 Change-Id: Ida79d6cdb682d510e9a2e91e3e3ca263acf34a99 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* | Auto test adaptations for Chromium 58Allan Sandfeld Jensen2017-06-141-0/+1
|/ | | | | | | | Adjustments to auto tests to pass with Chromium 58 Change-Id: I7f6905e5344c528c608734bc660cbf43c89d4a63 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Unskip test_errorPageEnabled in tst_favicon.qml testAdam Kallai2016-05-251-8/+4
| | | | | | | | | - Unskip this test becuse the releted issue is already fixed. - It is worth to restore the initial page before each test functions, not only when there was icon url. Change-Id: I2a71e026ab3ffabb8de191b7296a67ac44479934 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Combine candidate icons for a page into a single iconPeter Varga2016-05-041-12/+21
| | | | | | | | | | | | For the Widget API the QIcon returned by QWebEnginePage::icon() function contains all the candidate icons for the current page. For the Quick API the QQuickWebEngineFaviconProvider provides the best quality icon for the requested size from the candidates. Task-number: QTBUG-51179 Change-Id: I42b8427f957e2f2fc745dd0111bedcc71b577216 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Add QQuickWebEngineFaviconProviderPeter Varga2016-04-201-7/+85
| | | | | | | | | The new QQuickImageProvider subclass is used to access downloaded icons from the FaviconManager via the Quick API. Change-Id: I6a52d3c737b2260cf480167764a931915cd99cab Task-number: QTBUG-51179 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Clean up qml testsPeter Varga2016-04-061-1/+0
| | | | | | | | | | - Remove superfluous imports of QtWebEngine.experimental - Remove unused waitForViewportReady() - Remove "when: windowShown" from tests where UI is not used for testing Change-Id: I05362596ace44a490417dc61e6d0564b4004537e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add multi-sized favicon testPeter Varga2016-03-251-0/+16
| | | | | | Change-Id: Ib984c4fb3e9a2424ac09e4ab17a9bfc3f9627fb9 Task-number: QTBUG-51179 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix bestFavicon testPeter Varga2016-03-191-1/+8
| | | | | | | | Workaround the case when the page load finishes earlier than the icon url is updated and the test should wait more for the actual icon url. Change-Id: I9553bf444843e9932842ed5e61dfc87a8e970ad3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Re-skip failing error page disabled test for tst_favicon.Michael Bruning2016-03-161-0/+1
| | | | | | | | It is causing trouble in the CI and the bug that it was skipped for (QTBUG-48995) does not seem to be fixed yet either. Change-Id: If7f05cc943a357e5cdeffdd46b10da59ac220c1c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Clean up FaviconManager and fix icon url in NavigationEntryPeter Varga2016-03-111-3/+67
| | | | | | Change-Id: I56a109c9071ef581c6a51b5b7b8ce5a2464c6a76 Task-number: QTBUG-51179 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix and skip failing Quick tests after Chromium 49 updatePeter Varga2016-03-101-2/+2
| | | | | Change-Id: I1d8d221787c11bc8461e4989b0e5a5ece1c7d572 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix iconChanged signal in Quick APIPeter Varga2016-03-081-16/+8
| | | | | | | | | | Do not emit iconChanged signal twice if icon url does not change. This fix implements the same behavior for icon handling in Quick as in the Widget API. Change-Id: I9fcc27c9cec3cbef74fb0a71026065e359a5cbc3 Task-number: QTBUG-51179 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Add FaviconManager to corePeter Varga2016-02-031-0/+166
The new icon manager uses the WebContents::DownloadImage() API for downloading icons. It proposes the best quality among the available favicons via the iconChanged signal. Change-Id: I66a014365b6f6560ff34d40ee870aee84e4e70e4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>