andersca | b2041ff | 2007-04-04 00:22:06 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <body> |
| 3 | <embed name="plg" type="application/x-webkit-test-netscape"></embed> |
| 4 | <script> |
rniwa@webkit.org | 5cf7fa8 | 2012-06-15 07:38:37 +0000 | [diff] [blame] | 5 | if (window.testRunner) { |
| 6 | testRunner.dumpAsText(); |
| 7 | testRunner.addDisallowedURL('http://www.apple.com'); |
andersca | b2041ff | 2007-04-04 00:22:06 +0000 | [diff] [blame] | 8 | |
| 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> |