aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml
deleted file mode 100644
index e9265e09ef..0000000000
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/responseXML_invalid.qml
+++ /dev/null
@@ -1,24 +0,0 @@
-import QtQuick 2.0
-
-QtObject {
- property bool xmlNull: false
- property bool dataOK: false
-
- Component.onCompleted: {
- var x = new XMLHttpRequest;
-
- x.open("GET", "testdocument.html");
-
- // Test to the end
- x.onreadystatechange = function() {
- if (x.readyState == XMLHttpRequest.DONE) {
- dataOK = (x.responseText == "QML Rocks!\n");
- xmlNull = (x.responseXML == null);
- }
- }
-
-
- x.send()
- }
-}
-