<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
<meta http-equiv="Content-Security-Policy" content="object-src 'none'"> | |
</head> | |
<body> | |
This test passes if there is a console message saying the plugin was blocked. | |
<object data="/plugins/resources/mock-plugin.pl"></object> | |
</body> | |
</html> | |