| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test checks to make sure plugins aren't loaded when prerendered page | 3 This test checks to make sure plugins aren't loaded when prerendered page |
| 4 is displayed and click-to-play is enabled. | 4 is displayed and click-to-play is enabled. |
| 5 --> | 5 --> |
| 6 <head> | 6 <head> |
| 7 <title>Prerender click-to-play</title> | 7 <title>Prerender click-to-play</title> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 // Make sure plugin was not loaded while prerendering. | 10 // Make sure plugin was not loaded while prerendering. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 var plugin = window.document['plugin']; | 22 var plugin = window.document['plugin']; |
| 23 return plugin.getURL == undefined; | 23 return plugin.getURL == undefined; |
| 24 } | 24 } |
| 25 </script> | 25 </script> |
| 26 | 26 |
| 27 </head> | 27 </head> |
| 28 <body> | 28 <body> |
| 29 <embed name="plugin" type="application/x-webkit-test-netscape"></embed> | 29 <embed name="plugin" type="application/x-webkit-test-netscape"></embed> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |