blob: fd26c61f1b126bcf45d8317dcf3263fd3c6c845f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.setWillSendRequestReturnsNull(true);
}
window.addEventListener("load", function(event) {
console.log("PASS");
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
</head>
<body>
<p>Ensure that a subresource load that is cancelled by a willSendRequest() delegate does not prevent the load event from firing. On success, 'PASS' will be logged to the console.</p>
<img src="non-existant.jpg">
</body>
</html>