blob: d4806dbbb1081663b00a5d206182a0fde9c0bd35 [file] [log] [blame]
<html>
<body>
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.addDisallowedURL('http://www.apple.com');
plg.getURL("http://www.apple.com", "callback");
} else {
document.write("Cannot run interactively");
}
</script>This tests that we won't crash when a plugin tries to open an URL that the resource load delegate doesn't allow.
<div>SUCCESS - didn't crash</div>
</body>
</html>