summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeloader/data
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-23 04:51:56 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-23 04:51:56 (GMT)
commit95aa8c8fc76e2309a629b05994a2677b0887140b (patch)
tree50d7318281610f24df5a9736906a9a6433aba7d8 /tests/auto/declarative/qdeclarativeloader/data
parent9a41034cf05ad4c149e3a98dc8e39f5f6ad05d28 (diff)
downloadQt-95aa8c8fc76e2309a629b05994a2677b0887140b.zip
Qt-95aa8c8fc76e2309a629b05994a2677b0887140b.tar.gz
Qt-95aa8c8fc76e2309a629b05994a2677b0887140b.tar.bz2
Basic Loader origin safety (for discussion).
Diffstat (limited to 'tests/auto/declarative/qdeclarativeloader/data')
-rw-r--r--tests/auto/declarative/qdeclarativeloader/data/differentorigin.qml3
-rw-r--r--tests/auto/declarative/qdeclarativeloader/data/sameorigin-load.qml3
-rw-r--r--tests/auto/declarative/qdeclarativeloader/data/sameorigin.qml3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeloader/data/differentorigin.qml b/tests/auto/declarative/qdeclarativeloader/data/differentorigin.qml
new file mode 100644
index 0000000..e682d1c
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeloader/data/differentorigin.qml
@@ -0,0 +1,3 @@
+import Qt 4.6
+
+Loader { source: "http://evil.place/evil.qml" }
diff --git a/tests/auto/declarative/qdeclarativeloader/data/sameorigin-load.qml b/tests/auto/declarative/qdeclarativeloader/data/sameorigin-load.qml
new file mode 100644
index 0000000..e281246
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeloader/data/sameorigin-load.qml
@@ -0,0 +1,3 @@
+import Qt 4.6
+
+Item { }
diff --git a/tests/auto/declarative/qdeclarativeloader/data/sameorigin.qml b/tests/auto/declarative/qdeclarativeloader/data/sameorigin.qml
new file mode 100644
index 0000000..e7f5a14
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeloader/data/sameorigin.qml
@@ -0,0 +1,3 @@
+import Qt 4.6
+
+Loader { source: "sameorigin-load.qml" }