blob: af7a9522c590e539395d79283264296c543f69d2 [file] [log] [blame]
<html>
<head>
<script>
function loadXMLDoc()
{
url = 'endlessxml.php';
rq = false;
try {
if (window.XMLHttpRequest) {
rq = new XMLHttpRequest();
rq.overrideMimeType('text/xml');
rq.onreadystatechange = readyStateChanged;
rq.parent = window.parent;
rq.open('GET', url, true);
rq.send(null);
}
} catch (ex) {
rq = false;
alert(ex);
}
}
function readyStateChanged(evt)
{
evt.target.parent.dumpRequestStatus(evt.target);
}
</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>