diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-11 23:55:56 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-12 00:32:44 (GMT) |
commit | 8e872ed96a77a1bef37a5612e1825bd045447029 (patch) | |
tree | 947df709c6c5a39c56d469c5892dddb9a7f855e4 /tests/auto/declarative/qmlgraphicswebview/data | |
parent | 4a6feeca991bce5029a74d0e052e0ae2bdb8c207 (diff) | |
download | Qt-8e872ed96a77a1bef37a5612e1825bd045447029.zip Qt-8e872ed96a77a1bef37a5612e1825bd045447029.tar.gz Qt-8e872ed96a77a1bef37a5612e1825bd045447029.tar.bz2 |
Fixed race condition in tst_qmlgraphicswebview::multipleWindows
This timer must not be started until the web view has finished loading.
Diffstat (limited to 'tests/auto/declarative/qmlgraphicswebview/data')
-rw-r--r-- | tests/auto/declarative/qmlgraphicswebview/data/newwindows.qml | 2 |
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()")} } } |