diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_args.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_args.qml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_args.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_args.qml deleted file mode 100644 index 1cef3e43da..0000000000 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_args.qml +++ /dev/null @@ -1,18 +0,0 @@ -import QtQuick 2.0 - -QtObject { - property bool exceptionThrown: false - - Component.onCompleted: { - var x = new XMLHttpRequest; - - x.open("GET", "testdocument.html"); - - try { - x.setRequestHeader("Test-header"); - } catch (e) { - if (e.code == DOMException.SYNTAX_ERR) - exceptionThrown = true; - } - } -} |