3 <script src=
"npapi.js"></script>
6 function DeletePluginWithinScript() {
7 var plugin_div
= document
.getElementById("PluginDiv");
8 var html
= plugin_div
.innerHTML
;
9 html
= html
.replace("npobject_delete_create_plugin_in_evaluate",
10 "invoke_js_function_on_create");
11 plugin_div
.innerHTML
= "Object Deleted";
12 plugin_div
.innerHTML
= html
;
15 function PluginCreated() {
16 onSuccess("npobject_delete_create_plugin_in_evaluate", 1);
23 <div id=
"statusPanel" style=
"border: 1px solid red; width: 100%">
27 Tests the case where a plugin instance is deleted and created in the context
28 of the NPN_Evaluate call.
31 <embed type=
"application/vnd.npapi-test"
33 name=
"npobject_delete_create_plugin_in_evaluate"