aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcachegen/data/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcachegen/data/worker.js')
-rw-r--r--tests/auto/qml/qmlcachegen/data/worker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcachegen/data/worker.js b/tests/auto/qml/qmlcachegen/data/worker.js
new file mode 100644
index 0000000000..dd2d0b843d
--- /dev/null
+++ b/tests/auto/qml/qmlcachegen/data/worker.js
@@ -0,0 +1,3 @@
+WorkerScript.onMessage = function(message) {
+ WorkerScript.sendMessage({ reply: message });
+}