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

Side by Side Diff: content/test/data/npapi/resize_during_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
« no previous file with comments | « content/test/data/npapi/private.html ('k') | content/test/data/npapi/schedule_timer.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
3 <head>
4 <script src="npapi.js"></script>
5
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;
12 }
13
14 </script>
15 </head>
16
17 <body>
18 <div id="statusPanel" style="border: 1px solid red; width: 100%">
19 Test running....
20 </div>
21
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 />
25
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"
33 />
34
35 <script>
36 var height = document.body.offsetHeight;
37 </script>
38
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « content/test/data/npapi/private.html ('k') | content/test/data/npapi/schedule_timer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698