3 <title>Self Deleting Plugin Test - GetURL
</title>
4 <script src=
"npapi.js"></script>
6 function DeletePluginWithinScript() {
7 var plugin_div
= document
.getElementById("PluginDiv");
8 plugin_div
.innerHTML
= "Object Deleted";
11 function CallGetUrl() {
12 var plg
= window
.document
["plg"];
13 plg
.getURL("javascript:DeletePluginWithinScript()");
20 <h2>Test to delete a plugin during script execution
</h2>
23 This test is for a corner case when a plugin executes a script
24 that deletes the invoking plugin itself.
28 <embed name=
"plg" type=
"application/x-webkit-test-netscape"></embed>
32 onSuccess("self_delete_plugin_geturl", 1);