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

Side by Side Diff: chrome/test/data/gpu/pixel_canvas2d.html

Issue 9663033: Debug flaky gpu pixel tests by printing event trace on failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: zmo feedback Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/gpu/gpu_pixel_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Canvas 2D Test: Red Box over Black Background</title> 4 <title>Canvas 2D Test: Red Box over Black Background</title>
5 <style type="text/css"> 5 <style type="text/css">
6 .nomargin { 6 .nomargin {
7 margin: 0px auto; 7 margin: 0px auto;
8 } 8 }
9 </style> 9 </style>
10 <script> 10 <script>
11 var g_swapsBeforeAck = 15; 11 var g_swapsBeforeAck = 6;
12 var g_paintLoopStarted = false; 12 var g_paintLoopStarted = false;
13 13
14 function main() 14 function main()
15 { 15 {
16 g_swapsBeforeAck = 15; 16 g_swapsBeforeAck = 6;
17 17
18 if (!g_paintLoopStarted) { 18 if (!g_paintLoopStarted) {
19 g_paintLoopStarted = true; 19 g_paintLoopStarted = true;
20 draw(); 20 draw();
21 waitForFinish(); 21 waitForFinish();
22 } 22 }
23 } 23 }
24 24
25 function draw() 25 function draw()
26 { 26 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 </script> 59 </script>
60 </head> 60 </head>
61 <body onload="notifyLoadFinished()"> 61 <body onload="notifyLoadFinished()">
62 <div style="position:relative; width:200px; height:200px; background-color:black "> 62 <div style="position:relative; width:200px; height:200px; background-color:black ">
63 </div> 63 </div>
64 <div style="position:absolute; top:0px; left:0px"> 64 <div style="position:absolute; top:0px; left:0px">
65 <canvas id="c" width="200" height="200" class="nomargin"></canvas> 65 <canvas id="c" width="200" height="200" class="nomargin"></canvas>
66 </div> 66 </div>
67 </body> 67 </body>
68 </html> 68 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/test/gpu/gpu_pixel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698