aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml
deleted file mode 100644
index 458066736e..0000000000
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/constructor.qml
+++ /dev/null
@@ -1,14 +0,0 @@
-import QtQuick 2.0
-
-QtObject {
- property bool calledAsConstructor
- property bool calledAsFunction
-
- Component.onCompleted: {
- var x1 = new XMLHttpRequest;
- var x2 = XMLHttpRequest();
-
- calledAsConstructor = (x1 != null && x1 instanceof XMLHttpRequest);
- calledAsFunction = (x2 == undefined);
- }
-}