| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta http-equiv="Content-Security-Policy" content="plugin-types application/x-blink-test-plugin"> |
| <script src="../resources/dump-as-text.js"></script> |
| </head> |
| <body> |
| <p> |
| This tests a scenario where an iframe element's src attribute points |
| to a cross-site URI that loads a plugin. In this test the plugin |
| is allowed by the plugin-types Content Security Policy directive, |
| therefore the test passes if |
| 1) there is a "Blink Test Plugin: initializing" console message |
| 2) there is no console message indicating CSP violation |
| </p> |
| |
| <!-- the URI below is cross-site from the default layout tests site |
| http://127.0.0.1:8000 --> |
| <iframe type="application/x-blink-test-plugin" |
| src="http://localhost:8000/plugins/resources/mock-plugin.pl"></iframe> |
| </body> |
| </html> |