diff options
author | marshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 14:24:35 +0000 |
---|---|---|
committer | marshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 14:24:35 +0000 |
commit | ce0afe43c8cfaef0d642f77a625ec63eca5b6a3d (patch) | |
tree | a2aba942f78ea19b92436fa5bc32c7ee3552a59c /webkit/data | |
parent | 857693556e84098953c3a309168a4096ae6070c3 (diff) | |
download | chromium_src-ce0afe43c8cfaef0d642f77a625ec63eca5b6a3d.zip chromium_src-ce0afe43c8cfaef0d642f77a625ec63eca5b6a3d.tar.gz chromium_src-ce0afe43c8cfaef0d642f77a625ec63eca5b6a3d.tar.bz2 |
Don't call NP_Shutdown in FreePluginLibraryTask if the library has already been reloaded.
BUG=63213
TEST=PluginTest.ForceReload
Review URL: http://codereview.chromium.org/5020001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r-- | webkit/data/plugins/force_reload.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webkit/data/plugins/force_reload.html b/webkit/data/plugins/force_reload.html new file mode 100644 index 0000000..cc7cf39 --- /dev/null +++ b/webkit/data/plugins/force_reload.html @@ -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>
|