OLD | NEW |
1 <html> | 1 <html> |
2 <!-- | 2 <!-- |
3 This test checks to make sure plugins aren't loaded when a page is prerendered, | 3 This test checks to make sure plugins aren't loaded when a page is prerendered, |
4 and are also not loaded once the page is displayed. This is used to test certain | 4 and are also not loaded once the page is displayed. This is used to test certain |
5 content settings that do not allow plugin loading. | 5 content settings that do not allow plugin loading. |
6 | 6 |
7 This test relies on the Pepper plugin (but not the placeholder) implementing | 7 This test relies on the Pepper plugin (but not the placeholder) implementing |
8 the postMessage() function on the plugin object. | 8 the postMessage() function on the plugin object. |
9 --> | 9 --> |
10 <head> | 10 <head> |
(...skipping 13 matching lines...) Expand all Loading... |
24 var plugin = window.document['plugin']; | 24 var plugin = window.document['plugin']; |
25 return plugin.postMessage == undefined; | 25 return plugin.postMessage == undefined; |
26 } | 26 } |
27 </script> | 27 </script> |
28 | 28 |
29 </head> | 29 </head> |
30 <body> | 30 <body> |
31 <embed name="plugin" type="application/x-ppapi-tests"></embed> | 31 <embed name="plugin" type="application/x-ppapi-tests"></embed> |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |