aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml b/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml
deleted file mode 100644
index 9cebded932..0000000000
--- a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarImplicitOwnership.qml
+++ /dev/null
@@ -1,26 +0,0 @@
-import QtQuick 2.0
-
-Item {
- id: root
- objectName: "separateRootObject"
- property var vp
-
- function constructGarbage() {
- var retn = 1;
- var component = Qt.createComponent("PropertyVarCircularComponent4.qml");
- if (component.status == Component.Ready) {
- retn = component.createObject(null); // has JavaScript ownership
- }
- return retn;
- }
-
- function assignCircular() {
- vp = constructGarbage();
- gc();
- }
-
- function deassignCircular() {
- vp = 2;
- gc();
- }
-}