1 <p>This tests that calling XMLHttpRequest.abort() removes the responseText for the XMLHttpRequest.
</p>
2 <pre id=
"console"></pre>
5 testRunner
.dumpAsText();
9 document
.getElementById('console').appendChild(document
.createTextNode(msg
+ "\n"));
12 req
= new XMLHttpRequest();
13 req
.open("GET", "get.txt", false);
16 if (!req
.responseText
.length
)
17 log("PASS: abort() cleared the response text.");
19 log("FAIL: abort() did not clear the response text.");