diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativewebview/resources/javaScript.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativewebview/resources/javaScript.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/resources/javaScript.qml b/tests/auto/declarative/qdeclarativewebview/resources/javaScript.qml new file mode 100644 index 00000000..527e3b98 --- /dev/null +++ b/tests/auto/declarative/qdeclarativewebview/resources/javaScript.qml @@ -0,0 +1,12 @@ +import QtQuick 1.0 +import QtWebKit 1.0 + +WebView { + url: "javaScript.html" + javaScriptWindowObjects: [ + QtObject { + property string qmlprop: "qmlvalue" + WebView.windowObjectName: "myjsname" + } + ] +} |