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

Side by Side Diff: chrome/test/data/prerender/prerender_plugin_delay_load.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 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
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>
OLDNEW
« no previous file with comments | « chrome/test/data/load_pepper_plugin.html ('k') | chrome/test/data/prerender/prerender_plugin_power_saver.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698