diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/open_sync.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativexmlhttprequest/data/open_sync.qml | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_sync.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_sync.qml deleted file mode 100644 index eafdda761f..0000000000 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/open_sync.qml +++ /dev/null @@ -1,17 +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", false); - } catch (e) { - if (e.code == DOMException.NOT_SUPPORTED_ERR) - exceptionThrown = true; - } - } -} - |