blob: d1480c8531f6478c263742291b3dab65e0c5c555 [file] [log] [blame]
anderscab2041ff2007-04-04 00:22:06 +00001<html>
2<body>
3<embed name="plg" type="application/x-webkit-test-netscape"></embed>
4<script>
rniwa@webkit.org5cf7fa82012-06-15 07:38:37 +00005if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.addDisallowedURL('http://www.apple.com');
anderscab2041ff2007-04-04 00:22:06 +00008
9 plg.getURL("http://www.apple.com", "callback");
10} else {
11 document.write("Cannot run interactively");
12}
13</script>This tests that we won't crash when a plugin tries to open an URL that the resource load delegate doesn't allow.
14<div>SUCCESS - didn't crash</div>
15</body>
16</html>