Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: chrome/test/data/prerender/prerender_plugin_power_saver.html

Issue 2356053002: [HBD] Only use Plugin Content Settings for Flash. (Closed)
Patch Set: address xhwang comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « chrome/test/data/prerender/prerender_plugin_delay_load.html ('k') | content/public/common/content_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698