зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
464 B
HTML
24 строки
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>
|