diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/open_arg_count.2.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativexmlhttprequest/data/open_arg_count.2.qml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_arg_count.2.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_arg_count.2.qml deleted file mode 100644 index 677759ccf3..0000000000 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_arg_count.2.qml +++ /dev/null @@ -1,18 +0,0 @@ -import QtQuick 2.0 - -QtObject { - property bool exceptionThrown: false - - Component.onCompleted: { - var x = new XMLHttpRequest; - - try { - x.open("GET", "http://www.nokia.com", true, "user", "password", "extra"); - } catch (e) { - if (e.code == DOMException.SYNTAX_ERR) - exceptionThrown = true; - } - } -} - - |