| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| |
| var req = new XMLHttpRequest(); |
| req.open("GET", "resources/endlessxml.php"); |
| req.onerror = function () { |
| console.log("FAIL: Expected no event after navigation."); |
| }; |
| req.onabort = function () { |
| console.log("FAIL: Expected no event after navigation."); |
| }; |
| req.send(null); |
| |
| location = "resources/navigation-target.html"; |
| </script> |
| </head> |
| <body> |
| <p>This test requires TestRunner. To execute it manually, open the console, and navigate to <a href="resources/navigation-target.html">resources/navigation-target.html</a>. You should see no log messages in the console.</p> |
| </body> |
| </html> |