summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginefaviconmanager/tst_qwebenginefaviconmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Combine candidate icons for a page into a single iconPeter Varga2016-05-041-6/+32
| | | | | | | | | | | | 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 icon property and iconChanged signal to QWebEnginePagePeter Varga2016-03-311-6/+100
| | | | | | | | | | | | The new API makes possible to access downloaded icons via QWebEnginePage. Thus the QNAM usage for downloading favicons and the corresponding workaround due to authentication are removed from the demobrowser. Change-Id: I9fdcc7ee7673f7caa239d932f20a51c74b24763f Task-number: QTBUG-51179 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add multi-sized favicon testPeter Varga2016-03-251-2/+22
| | | | | | Change-Id: Ib984c4fb3e9a2424ac09e4ab17a9bfc3f9627fb9 Task-number: QTBUG-51179 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add settings for FaviconManager's icon download modesPeter Varga2016-03-251-1/+62
| | | | | | Change-Id: I8e4b11089de29623ed39ec6b13fe30be734baa3e Task-number: QTBUG-51179 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix bestFavicon testPeter Varga2016-03-191-0/+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>
* Clean up FaviconManager and fix icon url in NavigationEntryPeter Varga2016-03-111-5/+3
| | | | | | Change-Id: I56a109c9071ef581c6a51b5b7b8ce5a2464c6a76 Task-number: QTBUG-51179 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Cleanup QUrl initialization in favicon-manager testAllan Sandfeld Jensen2016-03-111-5/+5
| | | | | | | | No need to call QUrl constructors multiple times. And we should avoid using remote URLs even invalid ones that still cause DNS lookups. Change-Id: I251784a3d607377986349f196b893cf3a45656a7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix iconUrl getter and changed signalAllan Sandfeld Jensen2016-02-121-22/+14
| | | | | | | | | We should only emit iconUrlChanged when iconUrl changes, and the return value of iconUrl should match the value of the last emitted change. Change-Id: I70f4d6a11b96d83278dddc4d85e1c78ca82bf5cb Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Add FaviconManager to corePeter Varga2016-02-031-0/+279
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>