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

Side by Side Diff: content/test/data/npapi/execute_script_delete_in_npn_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
OLDNEW
(Empty)
1 <html>
2
3 <head>
4 <script src="npapi.js"></script>
5
6 <script>
7 function DeletePluginWithinScript() {
8 var plugin_div = document.getElementById("PluginDiv");
9 plugin_div.innerHTML = "Object Deleted";
10 onSuccess("npobject_delete_plugin_in_evaluate", 1);
11 }
12 </script>
13 </head>
14
15 <body>
16 <div id="statusPanel" style="border: 1px solid red; width: 100%">
17 Test running....
18 </div>
19
20
21 NPObject Proxy Test<p>
22
23 Tests the case where a plugin instance is deleted in the context
24 of NPN_Evaluate
25
26 <DIV ID=PluginDiv>
27 <embed type="application/vnd.npapi-test"
28 src="foo"
29 name="npobject_delete_plugin_in_evaluate"
30 id="1"
31 mode="np_embed"
32 >
33 </DIV>
34 <script>
35 var height = document.body.offsetHeight;
36 </script>
37
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698