blob: 49f6678fc6f0e42a29129d88713a81f4af912257 [file] [log] [blame]
<html>
<head>
<script>
var rq;
function loadXMLDoc()
{
url = 'endlessxml.php';
rq = false;
try {
if (window.XMLHttpRequest) {
rq = new XMLHttpRequest();
rq.overrideMimeType('text/xml');
rq.onreadystatechange = readyStateChanged
rq.open('GET', url, true);
rq.send(null);
}
} catch (ex) {
rq = false;
alert(ex);
}
}
function readyStateChanged()
{
window.parent.dumpRequestStatus(rq);
}
</script>
</head>
<body onload="loadXMLDoc(); window.parent.subframeLoaded();" onunload="window.parent.log('Iframe unloaded');">
<p>This should have an XMLHttpRequest going on inside it</p>
</body>
</html>