6 testRunner.dumpAsText();
10 document.body.appendChild(document.createTextNode(str));
11 document.body.appendChild(document.createElement("br"));
14 function addElement(e)
16 var txt = (e && e.type) || "insertedText";
19 document.addEventListener("DOMContentLoaded", addElement, false);
20 window.onload = addElement;
22 var xhr = new XMLHttpRequest;
25 xhr.open("GET", "", true);
28 window.addEventListener("DOMSubtreeModified", sendXHR);
31 This tests that when we re-entrantly create and cancel XHRs, we don't try to disconnect the same CachedResourceClient
32 multiple times from its CachedResource. We pass if we don't crash.<br/>