diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/redirects.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativexmlhttprequest/data/redirects.qml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirects.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirects.qml deleted file mode 100644 index 003d1954e9..0000000000 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/redirects.qml +++ /dev/null @@ -1,22 +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.responseText == "Redirected\n"; - } - } - - x.send(); - } -} |