diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-20 11:23:01 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-21 06:33:11 +0000 |
commit | 26e9c07650474a23817487e768bbebbb87bd78e4 (patch) | |
tree | a287f36b018be08ad1c75d0d41cfef0a305c0d52 /tests/auto/qml/qquickworkerscript/data/script_global2.js | |
parent | 3a7bd721edad972dd0691ff814b3417b4b5228a0 (diff) |
Clean up QML worker scripts part 2
Now that we have one JS engine per worker script, we can get rid of the
per-script QML context and let the script simply run in the global
object, which is now also mutable.
Change-Id: I36d8616b85b2c0ff3a356ee7be9d242c3da624cf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qquickworkerscript/data/script_global2.js')
-rw-r--r-- | tests/auto/qml/qquickworkerscript/data/script_global2.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qml/qquickworkerscript/data/script_global2.js b/tests/auto/qml/qquickworkerscript/data/script_global2.js deleted file mode 100644 index 0867f7ee76..0000000000 --- a/tests/auto/qml/qquickworkerscript/data/script_global2.js +++ /dev/null @@ -1,6 +0,0 @@ -world = "World" - -WorkerScript.onMessage = function(msg) { - WorkerScript.sendMessage(msg + " " + world) -} - |