| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-Security-Policy" content="object-src 'none'"> | 4 <meta http-equiv="Content-Security-Policy" content="object-src 'none'"> |
| 5 <script src="resources/dump-as-text.js"></script> | 5 <script src="resources/dump-as-text.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p> | 8 <p> |
| 9 This tests that an object-src directive on a top-level page is not | 9 This tests that an object-src directive on a top-level page is not |
| 10 inherited by a PluginDocument embedded in an iframe on the | 10 inherited by a PluginDocument embedded in an iframe on the |
| 11 page. This test passes if the plugin logs a message that it loaded. | 11 page. This test passes if the plugin logs a message that it loaded. |
| 12 </p> | 12 </p> |
| 13 <iframe src="data:application/x-blink-test-plugin,"></iframe> | 13 <iframe src="/plugins/resources/mock-plugin.pl"></iframe> |
| 14 </body> | 14 </body> |
| 15 </html> | 15 </html> |
| OLD | NEW |