blob: 3d2ce7e27f5054783198ba8b82d3b740c3a5a4f6 [file] [log] [blame]
<html>
<body>
https://bugs.webkit.org/show_bug.cgi?id=49693<br>
Ensure loads that go through our scheduler and are cancelled by willSendRequest() don't cause us to crash.
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.setWillSendRequestReturnsNull(true);
}
var img = new Image(1, 1);
document.getElementsByTagName("body")[0].appendChild(img);
img.src = "does-not-exist.html";
</script>
</body>
</html>