blob: 58a3fcb0ac278520947f05778d454f286749392f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/plugin.js"></script>
<meta http-equiv="Content-Security-Policy" content="object-src http://localhost:8000">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
This test passes if there is a console message saying the plugin was blocked.
<object type="application/x-webkit-test-netscape">
<param name="url" value="http://127.0.0.1:8000/plugins/resources/mock-plugin.pl?url">
</object>
<script>runAfterPluginLoad(null, NotifyDone);</script>
</body>
</html>