Remove unused code calling WebMediaPlayerClient::requestFullscreen()
[chromium-blink-merge.git] / content / test / data / npapi / resize_during_paint.html
bloba661c84aeffbfc8e52c999a64292aaa395785133
1 <html>
3 <head>
4 <script src="npapi.js"></script>
6 <script>
7 function ResizePluginWithinScript() {
8 document.getElementById("1").height = "10";
9 // Normally WebKit will resize asynchronously. Force it to do it now by asking
10 // it to calculate the document height.
11 var height = document.body.offsetHeight;
14 </script>
15 </head>
17 <body>
18 <div id="statusPanel" style="border: 1px solid red; width: 100%">
19 Test running....
20 </div>
22 Resize During Paint Test<p>
23 This test ensures that if a windowless plugin resizes during a paint,
24 deallocated memory isn't used.<br />
26 <embed type="application/vnd.npapi-test"
27 src="foo"
28 name="resize_during_paint"
29 id="1"
30 mode="np_embed"
31 height="300"
32 width="300"
35 <script>
36 var height = document.body.offsetHeight;
37 </script>
39 </body>
40 </html>