[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / content / test / data / npapi / npn_plugin_delete_create_in_evaluate.html
blob12f0e4d7ad7475b0328e9c6baca3155767037f2d
1 <html>
2 <head>
3 <script src="npapi.js"></script>
4 <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);
19 </script>
20 </head>
22 <body>
23 <div id="statusPanel" style="border: 1px solid red; width: 100%">
24 Test running....
25 </div>
27 Tests the case where a plugin instance is deleted and created in the context
28 of the NPN_Evaluate call.
30 <DIV ID=PluginDiv>
31 <embed type="application/vnd.npapi-test"
32 src="foo"
33 name="npobject_delete_create_plugin_in_evaluate"
34 id="1"
35 mode="np_embed"
37 </DIV>
39 </body>
40 </html>