aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml
deleted file mode 100644
index 5dc252f970..0000000000
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.7.qml
+++ /dev/null
@@ -1,24 +0,0 @@
-import QtQuick 2.0
-
-QtObject {
- property string url
-
- property bool dataOK: false
-
- Component.onCompleted: {
- var x = new XMLHttpRequest;
- x.open("POST", url);
- x.setRequestHeader("Content-Type", "text/plain");
- x.setRequestHeader("Accept-Language","en-US");
-
- // Test to the end
- x.onreadystatechange = function() {
- if (x.readyState == XMLHttpRequest.DONE) {
- dataOK = (x.responseText == "QML Rocks!\n");
- }
- }
-
- x.send("My Sent Data");
- }
-}
-