diff options
Diffstat (limited to 'tests/auto/declarative/qmlxmlhttprequest/data/getResponseHeader_args.qml')
-rw-r--r-- | tests/auto/declarative/qmlxmlhttprequest/data/getResponseHeader_args.qml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/auto/declarative/qmlxmlhttprequest/data/getResponseHeader_args.qml b/tests/auto/declarative/qmlxmlhttprequest/data/getResponseHeader_args.qml deleted file mode 100644 index d5aa4b1..0000000 --- a/tests/auto/declarative/qmlxmlhttprequest/data/getResponseHeader_args.qml +++ /dev/null @@ -1,23 +0,0 @@ -import Qt 4.6 - -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.getResponseHeader(); - } catch (e) { - if (e.code == DOMException.SYNTAX_ERR) - exceptionThrown = true; - } - } - } - } -} |