projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativexmlhttprequest
/
data
/
open_arg_count.2.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", true, "user", "password", "extra");
11
} catch (e) {
12
if (e.code == DOMException.SYNTAX_ERR)
13
exceptionThrown = true;
14
}
15
}
16
}
17
18