blob: 485a5b0f8dcc501400916f93a8126fbdd6584986 [file] [log] [blame]
<script>
var xhr = new parent.XMLHttpRequest;
xhr.open("GET", "xmlhttprequest-constructor-in-detached-document-frame.html");
xhr.onreadystatechange = function(evt) {
if (evt.target.readyState == 4) {
parent.setTimeout("pass()", 0);
parent.document.body.removeChild(parent.document.getElementsByTagName("iframe")[0]);
var req = new XMLHttpRequest;
req.open("GET", "xmlhttprequest-constructor-in-detached-document-frame.html", false);
req.send(null);
}
}
xhr.send(null);
xhr = null;
</script>