blob: 703eb5dd5523b7b382b007659d7875546e1e4662 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="application/javascript">
function runTest() {
document.write("<body>");
var succeeded = true;
try {
new XMLHttpRequest();
} catch(e) {
succeeded = false;
}
window.parent.ok(succeeded, "Creating XMLHttpRequest failed!");
window.parent.nextTest();
}
</script>
</head>
<body onload="runTest()">
</body>
</html>
|