Roll r168668 back in.
[WebKit-https.git] / LayoutTests / http / tests / security / contentSecurityPolicy / object-src-no-url-blocked.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/js-test-resources/plugin.js"></script>
5 <script>
6     if (window.testRunner)
7         testRunner.dumpAsText();
8
9     runAfterPluginLoad(null, NotifyDone);
10 </script>
11 <meta http-equiv="Content-Security-Policy" content="object-src 'none'">
12 </head>
13 <body>
14 This test passes if there is a console message saying the plugin was blocked.
15 <object type="application/x-webkit-test-netscape"></object>
16 </body>
17 </html>
18