blob: ab9e7aa0e56d3b9411965a6b8a4cd9f6dd0b84d6 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
function addElement() {
document.documentElement.appendChild(document.createTextNode('X'));
}
document.addEventListener("DOMContentLoaded", addElement, false);
window.onload = addElement;
var xhr = new XMLHttpRequest;
function sendXHR()
{
xhr.open("GET", "", true);
xhr.send();
}
window.addEventListener("DOMSubtreeModified", sendXHR);
addElement();
</script>
This tests that when we re-entrantly create and cancel XHRs, we don't try to disconnect the same CachedResourceClient
multiple times from its CachedResource. We pass if we don't crash.