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

Unified Diff: webkit/data/plugins/force_reload.html

Issue 5020001: Don't call NP_Shutdown in FreePluginLibraryTask if the library has already been reloaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/plugins/plugin_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/plugins/force_reload.html
===================================================================
--- webkit/data/plugins/force_reload.html (revision 0)
+++ webkit/data/plugins/force_reload.html (revision 0)
@@ -0,0 +1,13 @@
+<html>
+<body>
+<embed id='1' type='application/vnd.npapi-test' src='foo' name='reload1'></embed>
+<script language="JavaScript">
+// Remove the existing embed object to force unload.
+var e = document.getElementById('1');
+e.parentNode.removeChild(e);
+
+// Add a new embed object to force reload.
+document.write("<embed id='2' type='application/vnd.npapi-test' src='foo' name='reload2'></embed>");
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | webkit/glue/plugins/plugin_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698