summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/dialogs
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-07-19 12:08:56 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-07-23 13:52:46 +0200
commitc18c51acf8d0eb9426ce998d6e09f20a4a481c40 (patch)
tree3f314634c361f6ccb4e43d596370167003ec210a /tests/auto/quick/dialogs
parentf43d9dc448f0fd2073f44ea696205969ffd0d9c8 (diff)
parent662de14ceecee701b31478849ae147c70f3fe00f (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Conflicts: src/core/config/common.pri src/core/configure.json src/core/net/url_request_qrc_job_qt.cpp src/core/ozone/surface_factory_qt.cpp src/core/web_contents_adapter.cpp Change-Id: If679aa179123f793639da3d8ee4ab5d116707754
Diffstat (limited to 'tests/auto/quick/dialogs')
-rw-r--r--tests/auto/quick/dialogs/WebView.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/quick/dialogs/WebView.qml b/tests/auto/quick/dialogs/WebView.qml
index 4f8b7a0ce..01f4ac297 100644
--- a/tests/auto/quick/dialogs/WebView.qml
+++ b/tests/auto/quick/dialogs/WebView.qml
@@ -56,11 +56,12 @@ Window {
WebEngineView {
id: view
anchors.fill: parent
- onLoadingChanged: function(reqeust) {
- if (reqeust.status === WebEngineView.LoadSucceededStatus) {
+ onLoadingChanged: function(request) {
+ if (request.status === WebEngineView.LoadSucceededStatus) {
handler.ready = true
- } else {
- console.log("Wooohooo loading page from qrc failed !")
+ } else if (request.status === WebEngineView.LoadFailedStatus) {
+ console.log("Page was not successfully loaded from qrc! Status: " + request.status
+ + ", error [code: " + request.errorCode + "]: '" + request.errorString + "'")
}
}