aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml
deleted file mode 100644
index e5c7b74553..0000000000
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectError.qml
+++ /dev/null
@@ -1,23 +0,0 @@
-import QtQuick 2.0
-
-QtObject {
- property string url
-
- property bool dataOK: false
- property bool done: false
-
- Component.onCompleted: {
- var x = new XMLHttpRequest;
- x.open("GET", url);
-
- x.onreadystatechange = function() {
- if (x.readyState == XMLHttpRequest.DONE) {
- done = true;
- dataOK = x.status == 404;
- }
- }
-
- x.send();
- }
-}
-