| OLD | NEW |
| (Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script> |
| 4 |
| 5 // Attempts a hash navigation while "about:blank" is being committed |
| 6 // to the frame. The hash navigation should be ignored. |
| 7 function doIt() { |
| 8 var VERY_SLOW_URL = "../xmlhttprequest/resources/endless.php?" |
| 9 + window.randomNumber; |
| 10 var xhr = new XMLHttpRequest(); |
| 11 xhr.open("GET", VERY_SLOW_URL, true); |
| 12 xhr.onabort = function() { |
| 13 window.location.hash = "hashnav"; |
| 14 }; |
| 15 xhr.send(); |
| 16 window.location = "about:blank"; |
| 17 } |
| 18 |
| 19 </script> |
| 20 </head> |
| 21 <body onload="doIt()"> |
| 22 Thinking... |
| 23 </body> |
| 24 </html> |
| OLD | NEW |