diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectRecur.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectRecur.qml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectRecur.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectRecur.qml deleted file mode 100644 index 0894573ecc..0000000000 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirectRecur.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 == 302; - } - } - - x.send(); - } -} - |