summaryrefslogtreecommitdiffstats
path: root/tests/widgets/qwebenginepage
Commit message (Collapse)AuthorAgeFilesLines
* Fix the linking of tst_qwebenginepage on MacAndras Becsi2013-08-231-0/+4
| | | | | | | | Skip Mac specific tst_QWebEnginePage::macCopyUnicodeToClipboard() which uses the unimplemented QWebEnginePage::setHtml. Change-Id: I39c2d0d7b61517646e1702ca4f1ac119daef1585 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Implement the basic parts of QWebEngineHistory.Jocelyn Turcotte2013-08-201-4/+2
| | | | | | | | | | | | | | Mark the remaining methods as not implemented to allow enabling most of the dependent code in the demo browser and in API tests. Add two new tests to cover cases that might be problematic with the index-based implementation. This also renames WebContentsAdapter::navigateHistory to navigateToOffset in order to avoid confusion with navigateToIndex. Change-Id: I7c5cb9f5f878e34206fdfe48334a2dc7d9d95a1d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Implement QWebEnginePage::action for basic navigation.Jocelyn Turcotte2013-08-201-8/+0
| | | | | | | | This imports code from qwebpage.cpp and QWebPageAdapter.cpp of WebKit into qwebenginepage.cpp and thus also restrict the license accordingly. Change-Id: Ic5da8f2b469109cb10132cbe6585f2d941b14403 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* API tests: Make them link.Jocelyn Turcotte2013-08-201-12/+257
| | | | | | | | | Add the tests to the build. Very few of the test cases pass already, but this should allow to progress on the implementation while fixing/unskipping those tests. Change-Id: Id96d22748f8effad963232c2451fb8719d299fee Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* API tests: Make them compile with QtWebEngine.Jocelyn Turcotte2013-08-201-687/+683
| | | | | | | | | | | They still won't link since most methods aren't implemented yet. The changes to tst_qwebengineframe.cpp are mostly esthetic as those tests should be merged with tst_qwebenginepage.cpp once the implementation has progressed a bit further. Change-Id: If6627820069b51d7461d667716aafa6e250a684b Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Import relevant QtWebKit API tests.Jocelyn Turcotte2013-08-2013-0/+3453
This import the tests as-is, without adding them to the build. Change-Id: I8b8e11a9f62b2a8f2be299347d2621b10fb61f20 Reviewed-by: Andras Becsi <andras.becsi@digia.com>