summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-09-01 05:00:54 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-09-01 05:00:54 (GMT)
commit036d7afd42ce3ca9736e173a72bc5228a1eb211d (patch)
treebbeefb4384b393e860350a8a6142fa7d27141644 /tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml
parent87bc302810b97bd647187e5e31f5276ae729dce0 (diff)
parent31e4efaf2178b81552e875eb5a1d5a894310e561 (diff)
downloadQt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.zip
Qt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.tar.gz
Qt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml b/tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml
index a54ef4a..85bff29 100644
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml
+++ b/tests/auto/declarative/qdeclarativexmlhttprequest/data/utf16.qml
@@ -3,13 +3,14 @@ import Qt 4.7
QtObject {
property bool dataOK: false
+ property string fileName
property string responseText
property string responseXmlRootNodeValue
- Component.onCompleted: {
+ function startRequest() {
var x = new XMLHttpRequest;
- x.open("GET", "utf16.xml");
+ x.open("GET", fileName);
// Test to the end
x.onreadystatechange = function() {