diff options
Diffstat (limited to 'tests/auto/qml/qquickworkerscript/data/doRequest.mjs')
-rw-r--r-- | tests/auto/qml/qquickworkerscript/data/doRequest.mjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qquickworkerscript/data/doRequest.mjs b/tests/auto/qml/qquickworkerscript/data/doRequest.mjs new file mode 100644 index 0000000000..d607c3400d --- /dev/null +++ b/tests/auto/qml/qquickworkerscript/data/doRequest.mjs @@ -0,0 +1,6 @@ +WorkerScript.onMessage = function(message) +{ + var req = new XMLHttpRequest(); + req.open("GET", message.url, true); + req.send(); +}; |