aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qquickworkerscript/data/script_include.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qquickworkerscript/data/script_include.js')
-rw-r--r--tests/auto/qml/qquickworkerscript/data/script_include.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qquickworkerscript/data/script_include.js b/tests/auto/qml/qquickworkerscript/data/script_include.js
new file mode 100644
index 0000000000..0385d91170
--- /dev/null
+++ b/tests/auto/qml/qquickworkerscript/data/script_include.js
@@ -0,0 +1,5 @@
+WorkerScript.onMessage = function(msg) {
+ var res = Qt.include("Global.js");
+ WorkerScript.sendMessage(msg + " " + data)
+}
+