mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
24 lines
464 B
HTML
24 lines
464 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
<script type="application/javascript">
|
|
new XMLHttpRequest();
|
|
function runTest() {
|
|
document.open();
|
|
var succeeded = true;
|
|
try {
|
|
new XMLHttpRequest();
|
|
} catch(e) {
|
|
succeeded = false;
|
|
}
|
|
window.parent.ok(succeeded, "Creating XMLHttpRequest failed!");
|
|
window.parent.SimpleTest.finish();
|
|
document.close();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runTest()">
|
|
</body>
|
|
</html>
|