| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test checks the interaction between prerendering and the Plugin Power Saver | 3 This test checks the interaction between prerendering and the Plugin Power Saver |
| 4 feature. It expects: | 4 feature. It expects: |
| 5 - The plugin is not loaded during prerender. | 5 - The plugin is not loaded during prerender. |
| 6 - It is loaded (briefly) during the preroll of the plugin. | 6 - It is loaded (briefly) during the preroll of the plugin. |
| 7 - It is replaced by the power saver placeholder after the preroll is over. | 7 - It is replaced by the power saver placeholder after the preroll is over. |
| 8 | 8 |
| 9 This test relies on the Pepper plugin (but not the placeholder) implementing | 9 This test relies on the Pepper plugin (but not the placeholder) implementing |
| 10 the postMessage() function on the plugin object. | 10 the postMessage() function on the plugin object. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // status notifications. | 40 // status notifications. |
| 41 if (plugin.postMessage !== undefined) { | 41 if (plugin.postMessage !== undefined) { |
| 42 plugin.postMessage('getPowerSaverStatus'); | 42 plugin.postMessage('getPowerSaverStatus'); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 </script> | 45 </script> |
| 46 | 46 |
| 47 </head> | 47 </head> |
| 48 <body> | 48 <body> |
| 49 | 49 |
| 50 <object id="plugin" type="application/x-ppapi-tests" height='100' width='100'> | 50 <object id="plugin" type="application/x-shockwave-flash" |
| 51 height='100' width='100'> |
| 51 </object> | 52 </object> |
| 52 | 53 |
| 53 </body> | 54 </body> |
| 54 </html> | 55 </html> |
| OLD | NEW |