blob: d31fc944f44d2ab9cc6c5ab652ff20ede5eb6d94 [file] [log] [blame]
<script>
function doSyncXHR()
{
try {
var xhr = new XMLHttpRequest();
xhr.open("GET", "xmlhttprequest-responsetype-json.json", false);
xhr.send(null);
} catch(e) {
return false;
}
return true;
}
onunload = () => {
while (!doSyncXHR()) { };
top.frameDidUnload();
}
</script>