summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.6' into 5.7Allan Sandfeld Jensen2016-04-256-0/+234
|\ | | | | | | Change-Id: I329397621f19ba3890be5daf44a6bb2d668ad2d8
| * Do not access browser-context to read user-agent or accept languageAllan Sandfeld Jensen2016-04-211-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | Switches HttpUserAgentSettingsQt to reading local string that lives on the IO thread, instead of accessing a pointer that may be deleted. Also adds a test and fixes updating accept-language of already initialized WebContents. Change-Id: Iff4e3bd1ac40482a92bed50c3f703ed8b974b0ad Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
| * Use the temporary zoom factor to set the zoom factorMichael Bruning2016-04-212-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that using the temporary zoom factor is meant to set the zoom factor for one certain view, and this is actually what we want. Also added auto tests for this. Task-number: QTBUG-51851 Task-number: QTBUG-51969 Change-Id: I8912cbc25637d3c1681026380a2ab3068a964868 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
| * Add tst_settings.qml QML test caseAdam Kallai2016-04-203-0/+131
| | | | | | | | | | | | | | | | | | - Add test for localStorageEnabled setting. - Add test for javascriptEnabled setting. Change-Id: I7a67c24bdf76409148e88500d9a7a092f7896493 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Fix user-agent override works when setting contentAllan Sandfeld Jensen2016-04-191-0/+29
| | | | | | | | | | | | | | | | Adds test for user-agent override and fixes the override so that it also works when loading with content instead of URLs. Change-Id: I3f61b1d91b7b0908e35216722054168d1c514a87 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Add QQuickWebEngineFaviconProviderPeter Varga2016-04-205-8/+101
| | | | | | | | | | | | | | | | | | 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>
* | Remove default values for printToPdf callbacks and unify API.Michael Bruning2016-04-131-2/+2
| | | | | | | | | | | | | | Adds default QPageLayout values. Change-Id: Ibf2964ecd86350a51d682e385973f830ac4347a7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Merge branch '5.6' into 5.7Allan Sandfeld Jensen2016-04-116-9/+27
|\| | | | | | | Change-Id: I53645ee5405b1c43807123fd3c196e314cfd1ce9
| * Un-blacklist qwebengineaccessibility autotestJoerg Bornemann2016-04-051-6/+0
| | | | | | | | | | | | | | The test passes now. Change-Id: Ifc96c995036759d554938dbbc80ca05a5680d496 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * Blacklist tst_QQuickWebEngineView::transparentWebEngineViewsJoerg Bornemann2016-03-311-0/+2
| | | | | | | | | | | | | | | | This test is failing on 32 bit Windows. Unfortunately, we couldn't reproduce the failure locally yet. Blacklist the test for now. Change-Id: I7bdbc52033ccc0ed16ccf934418cc56a7783f88b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * Purge sRGB chunks from PNGs in test.Edward Welbourne2016-03-301-0/+0
| | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: I0fe8ea5a1c89d5c9c0dce765607e55ae9e9cf9fd Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| * Move loadVisuallyCommitted signal to the test support APISzabolcs David2016-03-253-3/+25
| | | | | | | | | | Change-Id: I877bbd8bc5c710370f135a27bcd7f0f7c95a7292 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | QML API for context menu dataAllan Sandfeld Jensen2016-04-091-0/+1
| | | | | | | | | | | | | | Adds QML API for the context menu data and improved spell checking API. Change-Id: I47868bdfaaec42d13aa7693bdc14bc75b008b862 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Clean up qml testsPeter Varga2016-04-067-16/+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>
* | Fix glitches in tst_QWebEnginePage::printToPdfJoerg Bornemann2016-03-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | QTRY_VERIFY combined with CallbackSpy::waitForResult is one layer of retry/wait too much. If the first waitForResult fails but subsequent waitForResult calls succeed something's very wrong. The condition in the second QTRY_VERIFY was wrong. The unary not was applied to length, not to the whole comparison. Change-Id: Ic66f740ba01527a979ab1ef9d8188dcbe9ab713a 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-259-3/+60
| | | | | | | | | | | | 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-253-1/+180
| | | | | | | | | | | | Change-Id: I8e4b11089de29623ed39ec6b13fe30be734baa3e Task-number: QTBUG-51179 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-211-63/+0
|\| | | | | | | | | | | | | | | Conflicts: src/3rdparty src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc Change-Id: I90728e965399e51b626d538924de955f9abab5fe
| * Remove tst_QWebEnginePage::viewModesJoerg Bornemann2016-03-171-21/+0
| | | | | | | | | | | | | | This tested semi-public API. History points to a WRT-related feature. Change-Id: I974feec55c5b243701bb2fa481ca16273088e438 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Remove test for QWebEnginePage::metaDataJoerg Bornemann2016-03-081-42/+0
| | | | | | | | | | | | | | This API doesn't exist. Meta data can be read by evaluating JavaScript. Change-Id: I6089de34b463d34d94d4d05e723e12bc163d288d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix bestFavicon testPeter Varga2016-03-192-1/+16
| | | | | | | | | | | | | | | | 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>
* | Add callback to printing APIMichael Bruning2016-03-162-7/+33
| | | | | | | | | | | | | | Also corrects and updates the printToPDF docs to reflect recent changes. Change-Id: Iffe276a1046d6d55923939f9d72b97cd533017ff Reviewed-by: Joerg Bornemann <joerg.bornemann@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>
* | Merge "Merge remote-tracking branch 'origin/5.6' into 5.7" into refs/staging/5.7Allan Sandfeld Jensen2016-03-119-121/+38
|\ \
| * | Merge remote-tracking branch 'origin/5.6' into 5.7Allan Sandfeld Jensen2016-03-089-121/+38
| |\| | | | | | | | | | Change-Id: Ieab3c4a6d16b1d7b7c0243ff8898f81807e7b1fc
| | * Blacklist test_geoPermissionRequest on Windows as well.Michael Bruning2016-03-071-0/+1
| | | | | | | | | | | | | | | Change-Id: I94aa72517dfedc22d9100b85e4d66dbf67bb3207 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| | * Remove skipped test tst_QWebEnginePage::popupFocusJoerg Bornemann2016-03-071-46/+0
| | | | | | | | | | | | | | | | | | | | | | | | This test makes only sense in QtWebKit where HTML input elements are implemented with Qt widgets (e.g. QComboBox). Change-Id: I0fdd63530db762595df7ca370ff2f9b1d73cc0a8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * Remove test for unimplemented Web SQL Database APIJoerg Bornemann2016-03-071-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QWebEngine will not provide a wrapper API for the now deprecated Web SQL Database HTML5 API. Change-Id: I8864b202ce9200145953ba5273f86eddff9e133a Task-number: QTBUG-51346 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * Enable qmltests in CIJoerg Bornemann2016-03-014-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | Blacklist failing tests. Stabilize some tests. Change-Id: I9fba81fb70f5b358108ef6935e363297e2658f79 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * consistently put {qt,qml}_{module,plugin} at the end of project filesOswald Buddenhagen2016-02-251-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | this fixes static builds by ensuring that all dependencies are exported. Task-number: QTBUG-51071 Change-Id: I1d1b38dd5f78d8a949bab7f9a4643a2430657458 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| | * Enable QtQuick inspectorserver test in CIJoerg Bornemann2016-02-252-1/+5
| | | | | | | | | | | | | | | Change-Id: I7c5f59a48688ca73889605ef5850ebedf43782de Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| | * Enable WebEngineView tests in CIJoerg Bornemann2016-02-241-1/+0
| | | | | | | | | | | | | | | | | | Change-Id: I6534d36279feffb66eb6a897ed31d4b013b39691 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * Enable qquickwebenginedefaultsurfaceformat test in CIJoerg Bornemann2016-02-221-1/+0
| | | | | | | | | | | | | | | Change-Id: Ia0dcc45a3b63da49b82cd4f018979df43e847273 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| | * Enable quick/publicapi test in CIJoerg Bornemann2016-02-222-2/+2
| | | | | | | | | | | | | | | | | | | | | Also, update the API list. Change-Id: Ib21feb823ecf58c071316f796a7e251c9f99bff4 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
| | * Prepare separate enabling of QtQuick autotestsJoerg Bornemann2016-02-227-3/+7
| | | | | | | | | | | | | | | Change-Id: I330de920c339e31725d123eadf5dcc4227dd500f Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | | Clean up FaviconManager and fix icon url in NavigationEntryPeter Varga2016-03-114-134/+70
| | | | | | | | | | | | | | | | | | 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 and skip failing Quick tests after Chromium 49 updatePeter Varga2016-03-106-4/+7
| | | | | | | | | | | | | | | 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>
* | Fix loadProgress 100Allan Sandfeld Jensen2016-03-071-2/+2
| | | | | | | | | | | | | | | | | | After upgrading to Chromium 49 we no longer get the last progress signal with 100% completed. Task-number: QTBUG-51173 Change-Id: I304e8833a0e707199cfa56a078b0c4d79c1b5c30 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Porting browser_accessibility_qt to Chromium 49Allan Sandfeld Jensen2016-03-071-6/+6
| | | | | | | | | | | | | | | | | | | | Blink now handles those rules, which means we don't have to. It however also means 'name' now contains inner-text like it is supposed to on paragraph elements. Task-number: QTBUG-51173 Change-Id: I5afbd56ac5787bbdac96e5a83af150ccbcac37e2 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Blacklist getUserMediaRequest on WindowsAllan Sandfeld Jensen2016-03-051-0/+3
| | | | | | | | | | | | | | | | It fails occasionally on the CI. Change-Id: I684f78785568cd78c3d817133dbc5795e7d61f0e Task-number: QTBUG-51652 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Skip crashing test on windowsAllan Sandfeld Jensen2016-03-021-0/+3
| | | | | | | | | | | | | | | | | | This test crashes on the CI system on Windows, and needs to be skipped until we have fixed the issue. Task-number: QTBUG-51608 Change-Id: Icc11fe062626f58ea32f06b332074af16e146b7d Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Move printToPDF to pageAllan Sandfeld Jensen2016-02-252-19/+17
| | | | | | | | | | | | | | | | | | The API needs nothing from view and view just forwards it to the page anyway. This is an page level API, this also makes it work without being shown. Change-Id: I3b8555ab472ec2c7632db3655bcc31925fcfa001 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Skip flaky HTTP cache test casesSzabolcs David2016-02-251-0/+5
| | | | | | | | | | Change-Id: I1602bd5f7f63c1f7f438a2eab00b9bb69f3fd1a6 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Merge "Merge dev into 5.7" into refs/staging/5.7Oswald Buddenhagen2016-02-231-22/+14
|\ \
| * \ Merge dev into 5.7Oswald Buddenhagen2016-02-171-22/+14
| |\ \ | | | | | | | | | | | | Change-Id: I43d4811120b551ae9c2619dedb2099b7e7796660
| | * | 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>
* | | | Merge remote-tracking branch 'origin/5.6' into 5.7Allan Sandfeld Jensen2016-02-202-1/+35
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Change-Id: If884b8b8bc087a6a726476b49cdb48a0efaa173e