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

Side by Side Diff: content/test/data/npapi/execute_script_delete_in_mouse_up.html

Issue 487863002: Ensure npapi plugin is loaded before clicking on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 2
3 <head> 3 <head>
4 <script src="npapi.js"></script> 4 <script src="npapi.js"></script>
5 5
6 <script> 6 <script>
7 function DeletePluginWithinScript() { 7 function DeletePluginWithinScript() {
8 var plugin_div = document.getElementById("PluginDiv"); 8 var plugin_div = document.getElementById("PluginDiv");
9 plugin_div.innerHTML = "Object Deleted"; 9 plugin_div.innerHTML = "Object Deleted";
10 onSuccess("execute_script_delete_in_mouse_up", 1); 10 onSuccess("execute_script_delete_in_mouse_up", 1);
(...skipping 17 matching lines...) Expand all
28 src="foo" 28 src="foo"
29 name="execute_script_delete_in_mouse_up" 29 name="execute_script_delete_in_mouse_up"
30 id="1" 30 id="1"
31 mode="np_embed" 31 mode="np_embed"
32 width="100%" 32 width="100%"
33 height="100%" 33 height="100%"
34 > 34 >
35 </DIV> 35 </DIV>
36 <script> 36 <script>
37 var height = document.body.offsetHeight; 37 var height = document.body.offsetHeight;
38 // Force plugin to be loaded so that we can click on it.
39 var embed = document.getElementById('1');
40 embed.dummy = true;
38 </script> 41 </script>
39 42
40 </body> 43 </body>
41 </html> 44 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698