summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml')
-rw-r--r--tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml b/tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml
index 9d13715..b8524af 100644
--- a/tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml
+++ b/tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml
@@ -21,7 +21,7 @@ Grid {
newWindowParent: pages
url: "newwindows.html"
Timer {
- interval: 10; running: total<4; repeat: false;
+ interval: 10; running: webView.status==WebView.Ready && total<4; repeat: false;
onTriggered: {total++; webView.evaluateJavaScript("clickTheLink()")}
}
}