summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-18 05:00:11 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-18 05:02:10 (GMT)
commit261f8eecfe0580c198d8d4f71f2afa59abd080e0 (patch)
tree24fdae17320139babff94924ffb3de2febbc1e66 /tests/auto
parent131f03f5725a57412d29323edf595ee3199103a4 (diff)
downloadQt-261f8eecfe0580c198d8d4f71f2afa59abd080e0.zip
Qt-261f8eecfe0580c198d8d4f71f2afa59abd080e0.tar.gz
Qt-261f8eecfe0580c198d8d4f71f2afa59abd080e0.tar.bz2
Remove timing sensitivity.
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativewebview/data/newwindows.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/data/newwindows.qml b/tests/auto/declarative/qdeclarativewebview/data/newwindows.qml
index 4d9df43..5f9f757 100644
--- a/tests/auto/declarative/qdeclarativewebview/data/newwindows.qml
+++ b/tests/auto/declarative/qdeclarativewebview/data/newwindows.qml
@@ -23,8 +23,8 @@ Grid {
newWindowParent: pages
url: "newwindows.html"
Timer {
- interval: 10; running: webView.status==WebView.Ready && total<4; repeat: false;
- onTriggered: {total++; webView.evaluateJavaScript("clickTheLink()")}
+ interval: 10; running: total<4; repeat: false;
+ onTriggered: { if (webView.status==WebView.Ready) { total++; webView.evaluateJavaScript("clickTheLink()") } }
}
}
}