summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicswebview/data
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-09 03:08:26 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-09 03:08:26 (GMT)
commit65ebb736e7d1f134b6d3dc5c620de43b9880d544 (patch)
treee1731953e59a2ae3f8e90cf8c8656a7b631685ce /tests/auto/declarative/qmlgraphicswebview/data
parent58e1842aa9703f81c2f55758ba186315524027d8 (diff)
downloadQt-65ebb736e7d1f134b6d3dc5c620de43b9880d544.zip
Qt-65ebb736e7d1f134b6d3dc5c620de43b9880d544.tar.gz
Qt-65ebb736e7d1f134b6d3dc5c620de43b9880d544.tar.bz2
webview JS test
Diffstat (limited to 'tests/auto/declarative/qmlgraphicswebview/data')
-rw-r--r--tests/auto/declarative/qmlgraphicswebview/data/javaScript.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicswebview/data/javaScript.qml b/tests/auto/declarative/qmlgraphicswebview/data/javaScript.qml
index 75d0cea..28742f3 100644
--- a/tests/auto/declarative/qmlgraphicswebview/data/javaScript.qml
+++ b/tests/auto/declarative/qmlgraphicswebview/data/javaScript.qml
@@ -2,4 +2,10 @@ import Qt 4.6
WebView {
url: "javaScript.html"
+ javaScriptWindowObjects: [
+ Object {
+ property string qmlprop: "qmlvalue"
+ WebView.windowObjectName: "myjsname"
+ }
+ ]
}