blob: 371b6d16bd5fb444db8fb465a386eaa7fb52e18b [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="code" value="http://127.0.0.1:8000/plugins/resources/mock-plugin.pl?code">
</object>
<script>runAfterPluginLoad(null, NotifyDone);</script>
</body>
</html>