OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script> |
| 3 if (window.testRunner) { |
| 4 testRunner.dumpAsText(); |
| 5 testRunner.waitUntilDone(); |
| 6 } |
| 7 |
| 8 function abortFunc() { |
| 9 window.stop(); |
| 10 } |
| 11 |
| 12 function onload() { |
| 13 var oReq = new XMLHttpRequest(); |
| 14 oReq.addEventListener("abort", abortFunc); |
| 15 oReq.open("GET", "/resources/slow-script.pl"); |
| 16 oReq.send(); |
| 17 window.location = "/navigation/resources/pass-and-notify-done.html"; |
| 18 } |
| 19 </script> |
| 20 <body onload="onload();"> |
| 21 <div>Test should not end on this page</div> |
| 22 </body> |
OLD | NEW |