- Aug 14, 2018
-
-
Edward Welbourne authored
The feature has long been unused and support for it shall soon be dropped. Change-Id: Ia82082fa6cd2d83d461b6db40670dd541015e9f2 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Aug 28, 2017
-
-
Michal Klocek authored
The deletion of CallBackSpy before web engine page destruction could end up in segmentation fault. Make CallbackSpy safe to be deleted before web engine page. Change-Id: I71a184091c0251c61e3383010e3badfef5cb6124 Reviewed-by:
Viktor Engelmann <viktor.engelmann@qt.io>
-
- Nov 29, 2016
-
-
David Faure authored
I added QSignalSpy::wait() in Qt 5.0 exactly for this purpose. Change-Id: I895a92f5f7e4e8554e00f6668e6973cc2c903adf Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- May 03, 2016
-
-
Michal Klocek authored
Change-Id: Ie0ecb1808c6b6a689ef29d7fa4831ca0a2e92721 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Jan 08, 2016
-
-
Allan Sandfeld Jensen authored
We exposed javascript worlds for user-scripts, this adds variants of runJavaScript that can access those worlds. Change-Id: I5a0b40b863b543cd364c902d0a84ae2c35e2a0b8 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Sep 01, 2015
-
-
Joerg Bornemann authored
Needed for BLACKLIST support. Change-Id: I43f84a3150d0336b3f1702329f0c386545633f51 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Feb 18, 2015
-
-
Szabolcs David authored
Implement a custom QTEST_MAIN preprocessor macro in order to support hardcoded Chromium content switches in the API tests. Force renderer accessibility to be on instead of enabling it on demand when a screen reader is detected. Change-Id: I9600ac4b26f4656104ce27ff19accbed4ea817c6 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- Feb 13, 2014
-
-
Jocelyn Turcotte authored
A few changes to the API: - Return the success result asynchronously. - FindWrapsAroundDocument and HighlightAllOccurrences are enabled by defaults and cannot be disabled. - Found text isn't updating the selection on the page like QtWebKit did, but triggers a separate state not available. A find count and current index could be exposed, but isn't in this case to keep the API delta lower. This also adds the possibility to pass bool results through the CallbackDirectory and add a new tst_QWebEnginePage::findTextResult test since the old test relied on the selection to be updated when the searched text is found. Change-Id: I8189b5aea8d832df183c6c1ae03e3f08198a9c45 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Feb 12, 2014
-
-
Jocelyn Turcotte authored
Change-Id: I0c6594a9758edc97f658717388c20f9e79be0f70 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
Jocelyn Turcotte authored
Update tests to check that we can keep the same functionality by querying document.baseURI through runJavaScript instead of implementing QWebEnginePage::baseUrl. This also removes QWebEnginePage::baseUrl from the header. Change-Id: I549e57d3986e22986438f8a23e469bbd220633b7 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Jan 30, 2014
-
-
Pierre Rossi authored
Mostly speculative autotest adjustments due to lacking features Change-Id: I5b0cfa8fb586ae4531327c21d03b064d9c307d06 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Jan 27, 2014
-
-
Jocelyn Turcotte authored
This header requires rtti in libstdc++ on Mac, which we can't recommend since Qt itself is usually built without rtti. Replace its uses with simpler hand-made template functors. Change-Id: Ic020dcceaf262f77d92b31a8318a513fa200428d Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Jan 22, 2014
-
-
Jocelyn Turcotte authored
The current implementation offers no way to cancel async requests. This means that normal applications could easily allow callbacks to dereference a destroyed object unless they use a smart pointer within the callback function object. This patch will empty the pending callback list by calling each of them with an empty value. This will at least allow applications to cover the cases where the page is expected to have a shorter or equal lifetime than objects referenced in the callback. Change-Id: Ia9fc556b03f5d83f904a0ff4b05dc9e440ea488c Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
Jocelyn Turcotte authored
Replace direct calls of toHtml and toPlainText to use a blocking helper function that spins a QEventLoop to wait for the async result. This should work fine for tests where the event loop is less polluted by other events that could cause code reentrancy through stacked stacks. Change-Id: Ic46a06a9abad782a39a620ceecdc51c3bbb6b5a1 Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- Oct 14, 2013
-
-
Adam Kallai authored
Change-Id: If3617d86ea44f665a44a54b6ba57935b69220a9e Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- Aug 20, 2013
-
-
Jocelyn Turcotte authored
This import the tests as-is, without adding them to the build. Change-Id: I8b8e11a9f62b2a8f2be299347d2621b10fb61f20 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-