chromium/third_party/blink/web_tests/http/tests/cache/cancel-during-failure-crash.html

<html>
<body>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

var img = new Image();
img.onerror = function() {
    // cancel resource load within didFail()
    window.stop();
    document.body.appendChild(document.createTextNode("PASS"));
    testRunner.notifyDone();
}

// Port 7 will likely refuse the connection, causing a didFail()
// from the network stack.
img.src = "http://localhost:7";
</script>
</body>
</html>