gecko-dev/dom/tests/mochitest/bugs/iframe_bug430276.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>