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

Side by Side Diff: content/test/data/npapi/npn_plugin_delete_create_in_evaluate.html

Issue 1182303010: Delete the NPAPI plugin browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « content/test/data/npapi/npapi.js ('k') | content/test/data/npapi/npobject_identity.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="npapi.js"></script>
4 <script>
5
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;
13 }
14
15 function PluginCreated() {
16 onSuccess("npobject_delete_create_plugin_in_evaluate", 1);
17 }
18
19 </script>
20 </head>
21
22 <body>
23 <div id="statusPanel" style="border: 1px solid red; width: 100%">
24 Test running....
25 </div>
26
27 Tests the case where a plugin instance is deleted and created in the context
28 of the NPN_Evaluate call.
29
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"
36 >
37 </DIV>
38
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « content/test/data/npapi/npapi.js ('k') | content/test/data/npapi/npobject_identity.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698