Remove unused code calling WebMediaPlayerClient::requestFullscreen()
[chromium-blink-merge.git] / content / test / data / npapi / create_instance_in_paint.html
blob80e8935038ccd51781004da3f2f8dba8f2484048
1 <html>
3 <head>
4 <script src="npapi.js"></script>
5 </head>
7 <body>
8 <div id="statusPanel" style="border: 1px solid red; width: 100%">
9 Test running....
10 </div>
13 Plugin Instance In Paint Test<p>
15 Tests that there's no deadlock when a plugin instance is created while handling a paint message.
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"
24 </DIV>
26 <DIV id="PluginDiv2"></DIV>
28 <script>
29 var height = document.body.offsetHeight;
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);
41 </script>
43 </body>
44 </html>