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

Side by Side Diff: content/test/data/npapi/create_instance_in_paint.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 </head>
6
7 <body>
8 <div id="statusPanel" style="border: 1px solid red; width: 100%">
9 Test running....
10 </div>
11
12
13 Plugin Instance In Paint Test<p>
14
15 Tests that there's no deadlock when a plugin instance is created while handling a paint message.
16
17 <DIV ID="PluginDiv">
18 <embed type="application/vnd.npapi-test"
19 src="foo"
20 name="create_instance_in_paint"
21 id="1"
22 mode="np_embed"
23 >
24 </DIV>
25
26 <DIV id="PluginDiv2"></DIV>
27
28 <script>
29 var height = document.body.offsetHeight;
30
31
32 function CreateNewInstance() {
33 var obj = document.createElement('embed');
34 obj.setAttribute('type', 'application/vnd.npapi-test');
35 obj.setAttribute('src', 'bar');
36 obj.setAttribute('name', 'create_instance_in_paint');
37 obj.setAttribute('id', '2');
38 obj.setAttribute('mode', 'np_embed');
39 document.getElementById("PluginDiv2").appendChild(obj);
40 }
41 </script>
42
43 </body>
44 </html>
OLDNEW
« no previous file with comments | « content/test/data/npapi/cookies.html ('k') | content/test/data/npapi/ensure_scripting_works_in_destroy.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698