blob: 3eded8a494843b9e08e90fbaa2c008cc19db5d4c [file] [log] [blame]
<!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 'abort', got 'error'.");
};
req.onabort = function () {
console.log("PASS: Expected 'abort', got 'abort'.");
};
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 a "PASS" message in the console.</p>
</body>
</html>