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

Side by Side Diff: LayoutTests/fast/canvas/canvas-incremental-repaint-2.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>Canvas Incremental Repaint</title> 5 <title>Canvas Incremental Repaint</title>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 canvas { 7 canvas {
8 width: 200px; 8 width: 200px;
9 height: 150px; 9 height: 150px;
10 border: 20px solid black; 10 border: 20px solid black;
11 } 11 }
12 </style> 12 </style>
13 <script type="text/javascript" charset="utf-8"> 13 <script type="text/javascript" charset="utf-8">
14 14
15 if (window.testRunner) { 15 if (window.testRunner) {
16 testRunner.dumpAsText(true); 16 testRunner.dumpAsTextWithPixelResults();
17 testRunner.waitUntilDone(); 17 testRunner.waitUntilDone();
18 } 18 }
19 19
20 function runRepaintTest() 20 function runRepaintTest()
21 { 21 {
22 if (window.testRunner) { 22 if (window.testRunner) {
23 document.body.offsetTop; 23 document.body.offsetTop;
24 testRunner.display(); 24 testRunner.display();
25 repaintTest(); 25 repaintTest();
26 testRunner.notifyDone(); 26 testRunner.notifyDone();
(...skipping 16 matching lines...) Expand all
43 ctx.fillRect(0, 100, 200, 80); 43 ctx.fillRect(0, 100, 200, 80);
44 ctx.restore(); 44 ctx.restore();
45 } 45 }
46 46
47 </script> 47 </script>
48 </head> 48 </head>
49 <body onload="runRepaintTest()"> 49 <body onload="runRepaintTest()">
50 <canvas id="canvas1"></canvas> 50 <canvas id="canvas1"></canvas>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698