| 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 but are loaded once the page is displayed. | 4 but are loaded once the page is displayed. |
| 5 | 5 |
| 6 This test relies on the Pepper plugin (but not the placeholder) implementing | 6 This test relies on the Pepper plugin (but not the placeholder) implementing |
| 7 the postMessage() function on the plugin object. | 7 the postMessage() function on the plugin object. |
| 8 --> | 8 --> |
| 9 <head> | 9 <head> |
| 10 <title>Prerender Plugin Delay Loading</title> | 10 <title>Prerender Plugin Delay Loading</title> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 function DidDisplayPass() { | 22 function DidDisplayPass() { |
| 23 var plugin = window.document['plugin']; | 23 var plugin = window.document['plugin']; |
| 24 return plugin.postMessage != undefined; | 24 return plugin.postMessage != undefined; |
| 25 } | 25 } |
| 26 </script> | 26 </script> |
| 27 | 27 |
| 28 </head> | 28 </head> |
| 29 <body> | 29 <body> |
| 30 <!-- Specifically define the data attribute to be same-origin. Otherwise, | 30 <!-- Specifically define the data attribute to be same-origin. Otherwise, |
| 31 Plugin Power Saver will further defer the loading of the plugin. --> | 31 Plugin Power Saver will further defer the loading of the plugin. --> |
| 32 <object name='plugin' data='fake.swf' type='application/x-ppapi-tests'> | 32 <object name='plugin' data='fake.swf' type='application/x-shockwave-flash'> |
| 33 </object> | 33 </object> |
| 34 </body> | 34 </body> |
| 35 </html> | 35 </html> |
| OLD | NEW |