projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9f8f30982fdeaf5ec4e83fc527b8eba31cf83c08
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativexmlhttprequest
/
data
/
open_sync.qml
1
import QtQuick 1.0
2
3
QtObject {
4
property bool exceptionThrown: false
5
6
Component.onCompleted: {
7
var x = new XMLHttpRequest;
8
9
try {
10
x.open("GET", "http://www.nokia.com", false);
11
} catch (e) {
12
if (e.code == DOMException.NOT_SUPPORTED_ERR)
13
exceptionThrown = true;
14
}
15
}
16
}
17