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