aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml
deleted file mode 100644
index 84a0bf3015..0000000000
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/getAllResponseHeaders_args.qml
+++ /dev/null
@@ -1,23 +0,0 @@
-import QtQuick 2.0
-
-QtObject {
- property bool exceptionThrown: false
-
- Component.onCompleted: {
- var x = new XMLHttpRequest;
-
- x.open("GET", "testdocument.html");
- x.send();
-
- x.onreadystatechange = function() {
- if (x.readyState == XMLHttpRequest.DONE) {
- try {
- x.getAllResponseHeaders("Test-header");
- } catch (e) {
- if (e.code == DOMException.SYNTAX_ERR)
- exceptionThrown = true;
- }
- }
- }
- }
-}