summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qquickworkerscript/data/xmlHttpRequest.qml
blob: 42136d78f0fea53a5ab97c09f7a34a88fc87f805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.14

Rectangle
{
  width: 100
  height: 100

  WorkerScript
  {
    source: "doRequest.mjs"
    Component.onCompleted:
    {
      sendMessage({"url": "https://example.com"});
    }
  }
}