OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <p>Test behavior of sync XHR during unload</p> | 3 <p>Test behavior of sync XHR during unload</p> |
4 <script> | 4 <script> |
5 var consoleMessages = document.createElement("ul"); | 5 var consoleMessages = document.createElement("ul"); |
6 document.body.appendChild(consoleMessages); | 6 document.body.appendChild(consoleMessages); |
7 | 7 |
8 if (window.testRunner) { | 8 if (window.testRunner) { |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
(...skipping 12 matching lines...) Expand all Loading... |
23 } | 23 } |
24 | 24 |
25 function log(message) | 25 function log(message) |
26 { | 26 { |
27 var item = document.createElement("li"); | 27 var item = document.createElement("li"); |
28 item.appendChild(document.createTextNode(message)); | 28 item.appendChild(document.createTextNode(message)); |
29 consoleMessages.appendChild(item); | 29 consoleMessages.appendChild(item); |
30 } | 30 } |
31 </script> | 31 </script> |
32 <div id="framediv"> | 32 <div id="framediv"> |
33 <iframe id="ifr" src="resources/xmlhttprequest-in-unload-sync.html"></iframe> | 33 <iframe id="ifr" name="ifr" src="resources/xmlhttprequest-in-unload-sync.html"><
/iframe> |
34 </div> | 34 </div> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |