| Index: LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html b/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
|
| index ab9e7aa0e56d3b9411965a6b8a4cd9f6dd0b84d6..2916ae6a1b1992c839560ed33fd5fd77523c6424 100644
|
| --- a/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
|
| @@ -1,9 +1,20 @@
|
| +<!doctype html>
|
| +<html>
|
| +<body>
|
| <script>
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
|
|
| -function addElement() {
|
| - document.documentElement.appendChild(document.createTextNode('X'));
|
| +function log(str)
|
| +{
|
| + document.body.appendChild(document.createTextNode(str));
|
| + document.body.appendChild(document.createElement("br"));
|
| +}
|
| +
|
| +function addElement(e)
|
| +{
|
| + var txt = (e && e.type) || "insertedText";
|
| + log(txt);
|
| }
|
| document.addEventListener("DOMContentLoaded", addElement, false);
|
| window.onload = addElement;
|
| @@ -18,4 +29,7 @@ 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.
|
| +multiple times from its CachedResource. We pass if we don't crash.<br/>
|
| +</body>
|
| +</html>
|
| +
|
|
|