aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qquickworkerscript/data/worker_global2.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@jollamobile.com>2014-02-17 09:35:20 -0600
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-25 20:01:12 +0100
commit7d25db8ff452926e58b7a66608666b35c194fc69 (patch)
tree84a40cdc2f8654e73080ca608e3d3f9b98a50a55 /tests/auto/qml/qquickworkerscript/data/worker_global2.qml
parent2befbab62808fa75658cb974ce92e8b1ac558e8e (diff)
Fix global object handling in worker script JS files.v5.3.0-alpha1
Task-number: QTBUG-36874 Task-number: QTBUG-36881 Change-Id: Iacf4807dd37862e792ad1ba4ce540a6d48f1e495 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qquickworkerscript/data/worker_global2.qml')
-rw-r--r--tests/auto/qml/qquickworkerscript/data/worker_global2.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qquickworkerscript/data/worker_global2.qml b/tests/auto/qml/qquickworkerscript/data/worker_global2.qml
new file mode 100644
index 0000000000..42cad3852b
--- /dev/null
+++ b/tests/auto/qml/qquickworkerscript/data/worker_global2.qml
@@ -0,0 +1,5 @@
+import QtQuick 2.0
+
+BaseWorker {
+ source: "script_global2.js"
+}